GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
Hint: I also mad an octave docset for Dash: https://github.com/obstschale/octave-docset
| # Ignore backup files | |
| *~ |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| # Installation | |
| brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid | |
| # Easy Peasy | |
| ffmpeg -i video.mp4 video.webm |
| //============================================================ | |
| // Typography | |
| //============================================================ | |
| // An rem font-size mixin providing fallback to px | |
| @mixin font-size($sizeValue: 1.4) { | |
| $remValue: $sizeValue; | |
| $pxValue: ($sizeValue * 10); | |
| font-size: #{$pxValue}px; | |
| font-size: #{$remValue}rem; |
GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
Hint: I also mad an octave docset for Dash: https://github.com/obstschale/octave-docset
| <?php | |
| namespace WPMemeShortcode; | |
| /** | |
| * The WordPress Meme Shortcode admin page. | |
| * | |
| * @author Carl Alexander | |
| */ | |
| class AdminPage |
| module.exports = function(grunt) { | |
| require('load-grunt-tasks')(grunt); | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| makepot: { | |
| target: { |
| <?php | |
| $data_dir = 'c:/server/www/dev/data/'; | |
| $releases = [ ]; | |
| foreach ( range( 3.2, 4.0, 0.1 ) as $version ) { | |
| $version = number_format( $version, 1 ); | |
| $data = json_decode( file_get_contents( $data_dir . $version . '.json' ), true ); | |
| $groups = wp_list_pluck( $data['groups'], 'data' ); |
| { | |
| "require": { | |
| "php": ">=5.3.0", | |
| "composer/installers": "v1.0.12", | |
| "webdevstudios/cmb2": "dev-master", | |
| }, | |
| "autoload": { | |
| "files": ["vendor/cmb2/init.php"] | |
| }, | |
| "extra": { |
| # The command finds the most recent tag that is reachable from a commit. | |
| # If the tag points to the commit, then only the tag is shown. | |
| # Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
| # and the abbreviated object name of the most recent commit. | |
| git describe | |
| # With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
| git describe --abbrev=0 | |
| # other examples |