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
RewriteRule /\.well-known|^\.well-known - [L] |
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
MakeCanvasses = do -> | |
run = -> | |
$canvasContainer = $ '#canvas-container', gv.$wrapper | |
$buttons = gv.$buttonContainer.children '.follow-button-container' | |
$buttons.each -> | |
console.log 'make canvas' | |
console.log $(this) | |
canvas = createCanvas $(this) | |
$canvasContainer.append canvas.$el |
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
mkdir -p /home/USERNAME/webapps/APPNAME/run | |
pid=$(/sbin/pidof /home/USERNAME/webapps/APPNAME/bin/node) | |
if echo "$pid" | grep -q " "; then | |
pid="" | |
fi | |
if [ -n "$pid" ]; then | |
user=$(ps -p $pid -o user | tail -n 1) | |
if [ $user = "USERNAME" ]; then | |
kill "$pid" | |
rm -f /home/USERNAME/webapps/APPNAME/run/node.pid |
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
# *** INSTRUCTIONS ******** | |
# $ cd repo.git | |
# $ cat > hooks/post-receive | |
# paste this | |
# Ctrl+D | |
# chmod +x hooks/post-receive | |
# *************************** | |
#!/bin/sh | |
GIT_WORK_TREE=/home/USERNAME/webapps/APPNAME/app git checkout -f master |
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
{ | |
"Version":"2012-10-17", | |
"Statement":[{ | |
"Sid":"AddPerm", | |
"Effect":"Allow", | |
"Principal": "*", | |
"Action":["s3:GetObject"], | |
"Resource":["arn:aws:s3:::example.com/*" | |
] | |
} |
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
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] |
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
$u = $users->get('admin'); // or whatever your username is | |
$u->of(false); | |
$u->pass = 'your-new-password'; | |
$u->save(); |
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
.hyphen-list { | |
margin-left: 16px; | |
li:before { | |
content:"-"; | |
position:relative; | |
margin-left: -7px; /* optional, for multiline li element */ | |
left: -8px; | |
} |
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
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; |
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
README.md | |
package.json | |
offline_resources/ | |
node_modules/ | |
.sass-cache/ | |
Gruntfile.js |
NewerOlder