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:
| .spriteHelper(@image, @x, @y, @spriteX, @spriteY) { | |
| background: url("img/@{image}.png") no-repeat; | |
| background-position: -(@x*@spriteX) -(@y*@spriteY); | |
| } | |
| .sprite(@image, @x, @y) when (@image = sprite1), (@image = sprite3){ | |
| @spriteX: 32px; | |
| @spriteY: 16px; | |
| .spriteHelper(@image, @x, @y, @spriteX, @spriteY); | |
| } | |
| .sprite(@image, @x, @y) when (@image = sprite2){ |
| # Compile PCRE - Perl Compatible Regular Expressions | |
| cd /usr/local/src | |
| curl -O ftp://ftp.csx.cam.ac.uk//pub/software/programming/pcre/pcre-8.31.tar.gz | |
| tar -xvzf pcre-8.31.tar.gz | |
| cd pcre-8.31 | |
| ./configure | |
| make | |
| sudo make install | |
| # Compile Autoconf |
| //Display Fields | |
| add_action( 'woocommerce_product_after_variable_attributes', 'variable_fields', 10, 2 ); | |
| //JS to add fields for new variations | |
| add_action( 'woocommerce_product_after_variable_attributes_js', 'variable_fields_js' ); | |
| //Save variation fields | |
| add_action( 'woocommerce_process_product_meta_variable', 'variable_fields_process', 10, 1 ); | |
| function variable_fields( $loop, $variation_data ) { | |
| ?> | |
| <tr> |
| 0-mail.com | |
| 0815.ru | |
| 0clickemail.com | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.com | |
| 20minutemail.com | |
| 2prong.com | |
| 30minutemail.com | |
| 3d-painting.com |
| /* Flatten das boostrap */ | |
| .well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
| -moz-box-shadow: none !important; | |
| -webkit-box-shadow: none !important; | |
| box-shadow: none !important; | |
| -webkit-border-radius: 0px !important; | |
| -moz-border-radius: 0px !important; | |
| border-radius: 0px !important; | |
| border-collapse: collapse !important; | |
| background-image: none !important; |
| /** | |
| * Check if a given ip is in a network | |
| * @param string $ip IP to check in IPV4 format eg. 127.0.0.1 | |
| * @param string $range IP/CIDR netmask eg. 127.0.0.0/24, also 127.0.0.1 is accepted and /32 assumed | |
| * @return boolean true if the ip is in this range / false if not. | |
| */ | |
| function ip_in_range( $ip, $range ) { | |
| if ( strpos( $range, '/' ) == false ) { | |
| $range .= '/32'; | |
| } |
| ## | |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2014 Ryan Morrissey | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is |
| #!/usr/bin/nodejs | |
| var fs = require('fs'); | |
| var spawn = require('child_process').spawn; | |
| function parseSubmodules(data) { | |
| var lines = data.split(/\n+/); | |
| var modules = {}; | |
| var currentPath; |