Heavily informed by the work of @katowulf in this gist - https://gist.github.com/katowulf/f264e7e0c7b8cefd1bcf/eddbadfbafe9e1fe658c51e43e25ac51e26d65b6
MIT
- Angular === 1.5.0
- Firebase === 2.4.1
| app_identifier "com.yourorganization.mytodoapp" # The bundle identifier of your app | |
| apple_id "<You Apple Id>" # Your Apple email address | |
| # You can uncomment any of the lines below and add your own | |
| # team selection in case you're in multiple teams | |
| # team_name "CAMobileApp" | |
| # team_id "Q2CBPJ58CA" | |
| # you can even provide different app identifiers, Apple IDs and team names per lane: | |
| # https://github.com/KrauseFx/fastlane/blob/master/docs/Appfile.md |
| #!/usr/bin/env node | |
| var fs = require("fs"), | |
| path = require("path"); | |
| var rootdir = process.argv[2]; | |
| if (rootdir) { | |
| module.exports = function(context) { |
Heavily informed by the work of @katowulf in this gist - https://gist.github.com/katowulf/f264e7e0c7b8cefd1bcf/eddbadfbafe9e1fe658c51e43e25ac51e26d65b6
MIT
| // change group currency task registration | |
| export let changeGroupCurrency = functions | |
| .database | |
| .ref('/serverTasks/currencyChange/{taskId}') | |
| .onWrite(event => changeGroupCurrency(event)); | |
| // function which changes group's currency and updates exchange rates of all expenses | |
| async function changeGroupCurrency(event: Event<DeltaSnapshot>) | |
| { | |
| // prevent triggering this function after writing response code |
| fs = require('fs') | |
| path = require('path') | |
| request = require('request') | |
| class twitter_update_with_media | |
| constructor: (@auth_settings) -> | |
| @api_url = 'https://api.twitter.com/1.1/statuses/update_with_media.json' | |
| post: (status, file_path, callback) -> | |
| r = request.post(@api_url, oauth:@auth_settings, callback) |
For each record read from the Kinesis Stream, a StepFunction state machine will be executed asynchronously.
| //More info: <https://thenewobjective.com/blog/2013/01/dynamic-programming-for-great-justice/> | |
| // Imperative: O(n) time, O(1) space | |
| function fib(n){ | |
| if(n < 2) | |
| return n; | |
| var f0 = 0, f1 = 1, f; | |
| for(var i = 1; i < n; i++){ |
| curl -O http://ftp.gnu.org/gnu/wget/wget-1.17.tar.gz | |
| tar -xzf wget-1.17.tar.gz | |
| cd wget-1.17 | |
| ln -s /usr/local/opt/openssl /usr/local/ssl | |
| ./configure --with-ssl=openssl | |
| ./configure --with-ssl=openssl --with-libssl-prefix=/usr/local/ssl | |
| make | |
| sudo make install | |
| wget --help | |
| cd .. && rm -rf wget* |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| URL="https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash" | |
| PROFILE="$HOME/.profile" | |
| echo "Downloading git-completion..." | |
| if ! curl "$URL" --silent --output "$HOME/.git-completion.bash"; then | |
| echo "ERROR: Couldn't download completion script. Make sure you have a working internet connection." && exit 1 | |
| fi |