https://certbot.eff.org/#ubuntutrusty-other
mkdir -p /etc/letsencrypt/configs- Create the file:
/etc/letsencrypt/configs/domain.com.conf mkdir -p /var/www/letsencrypt/
| docker run --rm -ti \ | |
| --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \ | |
| --env ELECTRON_CACHE="/root/.cache/electron" \ | |
| --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \ | |
| -v ${PWD}:/project \ | |
| -v ${PWD##*/}-node-modules:/project/node_modules \ | |
| -v ~/.cache/electron:/root/.cache/electron \ | |
| -v ~/.cache/electron-builder:/root/.cache/electron-builder \ | |
| electronuserland/builder:wine |
| # Instalação Kubernetes | |
| # curl -fsSL https://get.docker.com | bash | |
| # apt-get update && apt-get install apt-transport-https | |
| # vim /etc/source.list.d/kubernetes.list | |
| # deb http://apt.kubernetes.io/ kubernetes-xenial main | |
| # apt-get update | |
| # apt-get install -y kubelet kubectl kubeadm | |
| # vim /etc/sysctl.conf | |
| # net.bridge.bridge-nf-call-ip6tables = 1 | |
| # net.bridge.bridge-nf-call-iptables = 1 |
| # API Codex # | |
| ## API Document URLs ## | |
| - _BitBucket_ | |
| - https://developer.atlassian.com/bitbucket/api/2/reference/resource/ | |
| - https://confluence.atlassian.com/bitbucket/use-the-bitbucket-rest-apis-222724129.html | |
| - _GitHub_ | |
| - https://developer.github.com/v3/ | |
| - _GitLab_ | |
| - http://docs.gitlab.com/ce/api/README.html |
| ############################################################################ | |
| # # | |
| # ------- Useful Docker Aliases -------- # | |
| # # | |
| # # Installation : # | |
| # copy/paste these lines into your .bashrc or .zshrc file or just # | |
| # type the following in your current shell to try it out: # | |
| # wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash | |
| # # | |
| # # Usage: # |
https://certbot.eff.org/#ubuntutrusty-other
mkdir -p /etc/letsencrypt/configs/etc/letsencrypt/configs/domain.com.confmkdir -p /var/www/letsencrypt/| " Make IE Better Compatible " | |
| <!--[if IE]> | |
| <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
| <![endif]--> | |
| ====================================================== | |
| IE6 Only | |
| ================== | |
| _selector {...} |
| var Crawler = require("simplecrawler"); | |
| var querystring = require('querystring'); | |
| var myCrawler = new Crawler("www.geocaching.com", "/login/"); | |
| myCrawler.initialProtocol = "https"; | |
| myCrawler.acceptCookies = true; | |
| myCrawler.on("addcookie", function (cookie) { | |
| console.log("Cookie"); | |
| }); |
| curl --user 'USER:PASS' -s https://bitbucket.org/api/2.0/repositories/michaelcontento | ruby -rjson -e 'JSON.load(STDIN.read)["values"].each {|repo| %x[git clone #{repo["links"]["clone"][1]["href"]} ]}' |
| public static String toISO8601UTC(Date date) { | |
| TimeZone tz = TimeZone.getTimeZone("UTC"); | |
| DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'"); | |
| df.setTimeZone(tz); | |
| return df.format(date); | |
| } | |
| public static Date fromISO8601UTC(String dateStr) { | |
| TimeZone tz = TimeZone.getTimeZone("UTC"); | |
| DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'"); |
Press minus + shift + s and return to chop/fold long lines!