This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #!/bin/bash | |
| # Script for installing Fish Shell on systems without root access. | |
| # Fish Shell will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| FISH_SHELL_VERSION=2.1.1 |
#How to work on someone else's branch
Let's assume you need to collaborate with Batman on his forked repository.
git remote add batman [email protected]:batman/iambatman.gitInspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
ansible-playbook --connection=local 127.0.0.1 playbook.yml127.0.0.1 ansible_connection=local| username = raw_input("Enter SSH username:") | |
| yubikey_string = getpass.getpass('Enter YubiKey OTP:') | |
| client = paramiko.client.SSHClient() | |
| # Any means of getting the PKey will do. This code assumes you've only got one key loaded in your active ssh-agent. | |
| # See also: | |
| # - http://docs.paramiko.org/en/1.17/api/keys.html#paramiko.pkey.PKey | |
| # - http://docs.paramiko.org/en/1.17/api/client.html#paramiko.client.SSHClient.connect | |
| my_pkey = paramiko.agent.Agent().get_keys()[0] |
Setup:
# set CONTRIBUTORS file to mailmap to remove duplicate emails for the same name
# see: https://git-scm.com/docs/git-shortlog#_mapping_authors
$ git config mailmap.file CONTRIBUTORSTop 10 contributors (all):
TL;DR: Edit .travis.yaml to install Anaconda and to run conda_upload.sh after testing. Edit meta.yaml to take in the environmental variables $VERSION and $CONDA_BLD_PATH. Create conda_upload.sh which sets the needed environmental variables, builds the tar archive, and uploads it to Anaconda. Finally edit some stuff on your Anaconda and Travis CI account so they can talk.
The following steps will detail how to automatically trigger Anaconda builds and uploads from Travis CI. This will only upload successful builds in the master branch and if there are multiple commits in a single day, it'll only keep the latest one. Both of these settings can easily be changed.
First, edit .travis.yml so that it installs Anaconda.
install: