This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="http://cdn.rawgit.com/dmauro/Keypress/master/keypress.js"></script> | |
<script src="https://code.jquery.com/jquery-3.1.0.js"></script> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changeHandler(e) { | |
console.log('fullscreen'); | |
document.webkitCancelFullScreen() | |
//document.documentElement.webkitRequestFullScreen(); | |
} | |
document.addEventListener("fullscreenchange", changeHandler, false); | |
document.addEventListener("webkitfullscreenchange", changeHandler, false); | |
document.addEventListener("mozfullscreenchange", changeHandler, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
.parent { | |
&:hover, | |
&:focus, | |
&:active { | |
.child { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "web-proxy", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": { | |
"http-proxy": "^1.16.2" | |
}, | |
"devDependencies": {}, | |
"scripts": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_.replace(params[0], /(^[a-zA-Z])|(\.[a-zA-Z]\.)|((\[|\(\ )[a-zA-Z])/g, _.toUpper) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | xargs -I{} git -C {} pull |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | xargs -I{} git -C {} pull |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval `ssh-agent -s` |
How to work nicely and sound with Git (Gitlab/Github):
1 - Let's get our local updated before everything
git fetch --all
2 - Now we start a new branch (from master!)
git checkout origin/master
(or git checkout upstream/master or similar depending on your setup)
and
git checkout -b feature-a