Skip to content

Instantly share code, notes, and snippets.

View willianjusten's full-sized avatar
📷

Willian Justen willianjusten

📷
View GitHub Profile
@willianjusten
willianjusten / ruby-rails.sh
Created November 23, 2013 03:52
A simple step-by-step to install Ruby and Rails.
#!/bin/bash
# update packages
sudo apt-get update
# installing dependencies
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libssl-dev mysql-client libmysqlclient-dev
# go to the page ~
#!/bin/bash
protected_branch='master'
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
if [ $protected_branch = $current_branch ]
then
read -p "You're about to push master, is that what you intended? [y|n] " -n 1 -r < /dev/tty
echo
if echo $REPLY | grep -E '^[Yy]$' > /dev/null
@willianjusten
willianjusten / cloudSettings
Last active April 2, 2021 17:57
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-05T18:08:49.771Z","extensionVersion":"v3.4.3"}
@willianjusten
willianjusten / layout.html
Last active August 16, 2019 13:18
MJML Template to text only
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> </title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
diff --git a/anabneriblog/src/components/Layout/Index.js b/anabneriblog/src/components/Layout/Index.js
deleted file mode 100644
index 68faa4a..0000000
--- a/anabneriblog/src/components/Layout/Index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from "react"
-import PropTypes from "prop-types"
-import Sidebar from "../Sidebar"
-import MenuBar from "../MenuBar"
// Pegamos os elementos
const canvas = document.getElementById("canvas");
const play = document.getElementById("play");
function createAudio() {
const audio = new Audio();
audio.src = "https://willianjusten-assets.s3.us-east-2.amazonaws.com/agnes-obel-familiar.mp3";
audio.crossOrigin = "anonymous";
audio.controls = true;