http://stackoverflow.com/questions/5160863/how-to-re-sign-the-ipa-file
http://stackoverflow.com/questions/6896029/re-sign-ipa-iphone
| (defn fib [n] | |
| (->> | |
| (-> | |
| (fn [[a b]] [b (+' a b)]) | |
| (iterate [1 1])) | |
| (map first) | |
| (take n))) | |
| (fib 5) ;; (1 1 2 3 5) |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;primitive types ;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| 42 ;;java.lang.Long | |
| 42.0 ;;java.lang.Double | |
| "foo" ;;java.lang.String |
Note: This tutorial uses default instead of master for the main branch of a Git repository. See this Django PR: https://code.djangoproject.com/ticket/22667
The scenario is as follows:
There is a default branch where features are merged when they're done.
Whenever you work on a feature or bugfix, you checkout the latest default and create a new feature branch:
| module Seventeen | |
| WORDS = { | |
| 1000000 => "million", | |
| 1000 => "thousand", | |
| 100 => "hundred", | |
| 90 => "ninety", | |
| 80 => "eighty", | |
| 70 => "seventy", | |
| 60 => "sixty", | |
| 50 => "fifty", |
| /** | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2004 Sam Hocevar <[email protected]> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
https://bundler.io/guides/bundler_in_a_single_file_ruby_script.html
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'json', require: false| #!/usr/bin/env ruby | |
| <<~WHY | |
| Because who knows how long the RSS feed for The Magnus Archives will remain available. | |
| This script will download all the episodes titled "MAG ...", so none of the table-top gaming sessions and behind the scenes stuff they did after the show ended and none of the promo stuff for other podcasts. | |
| It'll also create a nice little HTML file that lists them in the right order from beginning to end with embedded audio players for each episode. | |
| What you need: |
to get a list of URLs from a video listing page:
Array.from(document.querySelectorAll('#items a#video-title')).map(a => a.href).join('\n')
put that into a urls file, or gather the URLs some other way
then follow the instructions at https://github.com/dandv/convert-chrome-cookies-to-netscape-format for getting youtube cookies in netscape format in netscape-cookies.txt.
| #!/usr/bin/env bash | |
| # merges CSV webserver access logs (like the ones FastMail provides for their static website hosting) | |
| # into a new file, removing duplicate entries and sorting by date descending | |
| LOGS=$(find . -name "access-log-*.csv" -type f) | |
| echo "" > .temp | |
| for L in $LOGS |