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:
/** | |
* Append the form data from a HubSpot form automatically | |
* to the redirect URL query parameters. These values can | |
* then be used on the form to modify the user experience | |
* of the Thank You page | |
* | |
* LICENSE | |
* Form redirect | |
* Written in 2015 by Mike Axiak <[email protected]> | |
* Updated in 2016 by Seth Meranda <[email protected]> |
<target name="js.minify" depends="js.preprocess"> | |
<apply executable="java" parallel="false"> | |
<fileset dir="." includes="foo.js, bar.js"/> | |
<arg line="-jar"/> | |
<arg path="yuicompressor.jar"/> | |
<srcfile/> <arg line="-o"/> | |
<mapper type="glob" from="*.js" to="*-min.js"/> | |
<targetfile/> | |
</apply> | |
</target> |
/** | |
* Append the form data from a HubSpot form automatically | |
* to the redirect URL query parameters. These values can | |
* then be used on the form to modify the user experience | |
* of the Thank You page | |
* | |
* LICENSE | |
* Form redirect | |
* Written in 2015 by Mike Axiak <[email protected]> | |
* To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. |
function setWeatherIcon(condid) { | |
switch(condid) { | |
case '0': var icon = '<i class="wi-tornado"></i>'; | |
break; | |
case '1': var icon = '<i class="wi-storm-showers"></i>'; | |
break; | |
case '2': var icon = '<i class="wi-tornado"></i>'; | |
break; | |
case '3': var icon = '<i class="wi-thunderstorm"></i>'; |
<?php | |
ctools_include('ajax'); | |
ctools_include('modal'); | |
ctools_modal_add_js(); | |
drupal_add_library('module', 'fancybox.modal'); // Include js here. | |
$path = 'some_path/nojs'; | |
$content = ctools_modal_text_button($text, $path, '', $class); |
First, create a Git subfolder inside your Dropbox folder. Then you can share the individual projects inside that folder with whomever you want (or just use it for instant offsite backups).
From inside a Git project:
git clone --bare . ~/Dropbox/Git/gitproject.git
git remote add dropbox ~/Dropbox/Git/gitproject.git
When you're ready to push:
<?xml version="1.0" encoding="UTF-8"?> | |
<yahoo-weather-codes> | |
<code number="0" description="tornado"/> | |
<code number="1" description="tropical storm"/> | |
<code number="2" description="hurricane"/> | |
<code number="3" description="severe thunderstorms"/> | |
<code number="4" description="thunderstorms"/> | |
<code number="5" description="mixed rain and snow"/> | |
<code number="6" description="mixed rain and sleet"/> | |
<code number="7" description="mixed snow and sleet"/> |