| #!/bin/bash | |
| read -p 'Bitbucket Username (not email): ' BB_USERNAME | |
| read -sp 'Bitbucket Password: ' BB_PASSWORD | |
| next_url="https://api.bitbucket.org/2.0/repositories?role=member" | |
| while [ ! -z "$next_url" ]; do | |
| response_json=$( curl -s --user $BB_USERNAME:$BB_PASSWORD "$next_url" ) | |
| echo "$response_json" | jq -r '.values | map([.slug, .workspace.slug, .description, .is_private] | @csv) | join("\n")' | |
| next_url=$( echo "$response_json" | jq -r '.next' ) |
| #!/bin/bash | |
| set -e | |
| repos=$(bb list -u $BB_USERNAME -p $BB_PASSWORD --private | grep $BB_ORG | cut -d' ' -f3 | cut -d'/' -f2) | |
| for repo in $repos; do | |
| echo | |
| echo "* Processing $repo..." | |
| echo | |
| git clone --bare [email protected]:$BB_ORG/$repo.git | |
| cd $repo.git | |
| echo |
Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| var gulp = require('gulp'); | |
| var sourcemaps = require('gulp-sourcemaps'); | |
| var source = require('vinyl-source-stream'); | |
| var buffer = require('vinyl-buffer'); | |
| var browserify = require('browserify'); | |
| var watchify = require('watchify'); | |
| var babel = require('babelify'); | |
| function compile(watch) { | |
| var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel)); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Scroll Test</title> | |
| <style> | |
| html, body { | |
| overflow: hidden; | |
| width: 100%; | |
| height: 100%; |
Install jQuery 1.9.1 and Browserify-shim
npm install [email protected] --save
npm install browserify-shim --save-devAdd the following entries in your package.json
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| $ wget \ | |
| --recursive \ | |
| --no-clobber \ | |
| --page-requisites \ | |
| --html-extension \ | |
| --convert-links \ | |
| --domains website.org \ | |
| --no-parent \ | |
| www.website.org/tutorials/html/ |
| <?php | |
| if(!r::is_ajax()) notFound(); | |
| header('Content-type: application/json; charset=utf-8'); | |
| $data = $pages->find('blog')->children()->visible()->paginate(10); | |
| $json = array(); |