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:
<?php $span = isset($span) ? $span : 8; ?> | |
<?php $page = isset($this->request->params['named']['page']) ? $this->request->params['named']['page'] : 1; ?> | |
<div class="pagination"> | |
<ul> | |
<?php echo $this->Paginator->prev( | |
'← ' . __('Previous'), | |
array( | |
'escape' => false, | |
'tag' => 'li' | |
), |
#!/usr/bin/env osascript | |
on run argv | |
tell application "Viscosity" | |
Connect argv | |
end | |
end |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
#!/bin/sh | |
# Pre-commit hook for git which removes trailing whitespace, converts tabs to spaces, and enforces a max line length. | |
if git-rev-parse --verify HEAD >/dev/null 2>&1 ; then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object | |
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
fi |
git clone https://github.com/inversepath/u-boot-usbarmory.git | |
cd u-boot-usbarmory | |
make distclean | |
make usbarmory_config | |
make ARCH=arm | |
set -e; : ' CHK include/config/uboot.release'; mkdir -p include/config/; echo "2014.07$(/bin/bash /vagrant/u-boot-usbarmory/scripts/setlocalversion /vagrant/u-boot-usbarmory)" < Makefile > include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] && cmp -s include/config/uboot.release include/config/uboot.release.tmp; then rm -f include/config/uboot.release.tmp; else : ' UPD include/config/uboot.release'; mv -f include/config/uboot.release.tmp include/config/uboot.release; fi | |
set -e; : ' CHK include/generated/version_autogenerated.h'; mkdir -p include/generated/; (echo \#define PLAIN_VERSION \"2014.07-gfdaebbd\"; echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define CC_VERSION_STRING \"$(/root/gcc-linaro-arm-none-eabi-4.9-2014.09_linux/bin/arm-none-eabi-gcc --version | head -n 1)\"; echo \#define LD_VERSION_STRING \"$(/root/gcc-li |
// iMacro CheatSheet - Command Reference | |
// http://wiki.imacros.net/Command_Reference | |
// iMacros supports 3 types of variables: | |
// * The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro. | |
// * Built-in variables. They contain certain values set by iMacros. | |
// * User-defined variables. They are defined in-macro using the SET command. | |
--- | |
vms: | |
# NOTE: All `box:` declarations in this example point to vagrantcloud.com | |
# and require Vagrant 1.5.0 or newer to function. | |
- name: pe-201520-master | |
debug-kit: true | |
box: puppetlabs/centos-6.6-64-nocm | |
roles: | |
- el-stop-firewall # moved to top to avoid firewalling issue |
I've been asked a few times over the last few months to put together a full write-up of the Git workflow we use at RichRelevance (and at Precog before), since I have referenced it in passing quite a few times in tweets and in person. The workflow is appreciably different from GitFlow and its derivatives, and thus it brings with it a different set of tradeoffs and optimizations. To that end, it would probably be helpful to go over exactly what workflow benefits I find to be beneficial or even necessary.
---- Sep 30, 2015 19:01:02 ---- | |
09-30 19:00:22.160 1691 1691 I Timeline: Timeline: Activity_launch_request id:org.thoughtcrime.securesms time:12743726 | |
09-30 19:00:22.160 799 1440 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.thoughtcrime.securesms/.RoutingActivity} from uid 10226 on display 0 | |
09-30 19:00:22.249 799 1973 I ActivityManager: Start proc 1190:org.thoughtcrime.securesms/u0a51 for activity org.thoughtcrime.securesms/.RoutingActivity | |
09-30 19:00:22.360 1190 1190 I Timeline: Timeline: Activity_launch_request id:org.thoughtcrime.securesms time:12743926 |