This file contains 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
task webpack(type: Exec) { | |
outputs.cacheIf { true } | |
inputs.file("package-lock.json") | |
inputs.dir("app") | |
// NOTE: Add inputs.file("webpack.config.js") for projects that have it | |
outputs.dir("$buildDir/js") | |
commandLine "$projectDir/node_modules/.bin/webpack", "app/index.js", "$buildDir/js/bundle.js" | |
} |
This file contains 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
[global] | |
map to guest = Bad User | |
log file = /var/log/samba/%m | |
log level = 1 | |
[guest] | |
# This share allows anonymous (guest) access | |
# without authentication! |
This file contains 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 -c) > /dev/null | |
function dps | |
docker ps $argv | |
end | |
function gp | |
git pull $argv | |
end | |
function gps | |
git push $argv |
This file contains 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
<?php | |
echo "HELLo World!"; |
This file contains 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
#!/usr/bin/python | |
from PIL import Image, ImageFont, ImageDraw | |
from random import randint | |
import math | |
import gifmaker | |
import copy | |
isAnimation=False |