Skip to content

Instantly share code, notes, and snippets.

RC racl101

  • Calgary, AB, Canada
Block or report user

Report or block racl101

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bishboria /
Last active May 21, 2020
Springer made a bunch of books available for free, these were the direct links
m4tthumphrey / ConcatAudioFilter.php
Last active Mar 13, 2019
php-ffmpeg concat audio filter - an incredibly simple filter to concat multiple audio files together. Should be easily tweaked to allow for videos too.
View ConcatAudioFilter.php
use FFMpeg\Media\Audio;
use FFMpeg\Format\AudioInterface;
use FFMpeg\Filters\Audio\AudioFilterInterface;
class ConcatAudioFilter implements AudioFilterInterface
private $files;
private $priority;
wholmgren / use-bbdiff
Last active Jan 17, 2020
set git difftool to bbdiff
View use-bbdiff
git config --global diff.tool bbdiff
git config --global difftool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"'
git config --global difftool.prompt false
git config --global merge.tool bbdiff
git config --global mergetool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"'
Double check ~/.gitconfig
View Envoy.blade.php
* -A in SSH enables agent forwarding.
* -p 2122 is not needed if you use the default port of 22.
* Replace SSH_USER and with your own values.
* Example run: $ envoy run deploy_demo
* --no-scripts because Laravel composer.json's post-install-cmd includes optimize, which is already done by php artisan dump-autoload
@servers(['test' => '-A -p 2122 -l user', 'prod' => '-A -p 2122 -l user'])
@task('install_test', ['on' => ['test']])
cd project
kevin-smets /
Last active May 30, 2020
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)





spigists / new_gist_file.css
Created Oct 2, 2013
Bootstrap 3 styles for Gravity Forms, make sure that in Forms > Settings you have Output CSS set to No and Output HTML5 set to Yes
View new_gist_file.css
.gform_wrapper ul {
padding-left: 0;
list-style: none; }
.gform_wrapper li {
margin-bottom: 15px; }
.gform_wrapper form {
margin-bottom: 0; }
boyvanamstel / gist:1055880
Created Jun 30, 2011
Show custom post types on tag, category and archive pages in Wordpress
View gist:1055880
* Also show custom post types in tag/category/archive pages
function query_post_type($query) {
if(is_category() || is_tag()) {
$post_type = get_query_var('post_type');
if($post_type) {
$post_type = $post_type;
} else {
carolineschnapp / gist:1003334
Created Jun 1, 2011
Related Products using metafields - to add to product.liquid
View gist:1003334
<!-- Solution brought to you by Caroline Schnapp -->
<!-- See this: -->
{% assign image_size = 'compact' %}
{% assign heading = 'Other fine products' %}
{% if product.metafields.recommendations.productHandles %}
<h3>{{ heading }}</h3>
<ul class="related-products"></ul>
carolineschnapp / gist:1002949
Last active Mar 1, 2020
Related Products by Tags — to add to product.liquid
View gist:1002949
<!-- Solution brought to you by Caroline Schnapp -->
<!-- See this: -->
{% assign image_size = 'compact' %}
{% assign heading = 'Other fine products' %}
{% if product.tags.size > 0 %}
<h3>{{ heading }}</h3>
<ul class="related-products"></ul>
You can’t perform that action at this time.