Skip to content

Instantly share code, notes, and snippets.

View vfxguru001's full-sized avatar

Tim Aldridge vfxguru001

  • San Francisco, CA
View GitHub Profile
@jagdeepsingh
jagdeepsingh / README.md
Last active February 4, 2025 20:31
Set up macOS Catalina 10.15 with development tools | Git | Homebrew | rbenv | bundler | Atom | Databases | Node.js | Yarn | kubectl | Elastic Stack
@jcowles
jcowles / .vimrc
Last active August 29, 2020 17:52
My default settings to modernize Vim behavior
" On Linux/OSX this is ~/.vimrc
" On windows this is ~/_vimrc
" Don't drop garbage files everywhere.
" Note that this disables vim backup files, which I'm cool with, but
" maybe you're not.
:set nobackup
" Prepend (^=) the windows temp dir as the place to keep swap files.
" The // tells vim to use the absolute path to avoid collisions.
@micahgodbolt
micahgodbolt / wsl_install_node.md
Last active June 19, 2025 19:41
WSL install Node

The apt-get version of node is incredibly old, and installing a new copy is a bit of a runaround.

So here's how you can use NVM to quickly get a fresh copy of Node on your new Bash on Windows install

$ touch ~/.bashrc
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
// restart bash
$ nvm install --lts
@ryanttb
ryanttb / install_node_lsw.sh
Last active December 4, 2019 14:28
Install node on Linux Subsystem for Windows
#!/bin/sh
# this script requires root
# be sure to run the following before running this:
# $ sudo su
# since there's an issue piping the curl response to bash
# just download the install script
curl -sL https://deb.nodesource.com/setup_6.x > install_node.sh
@Bhavdip
Bhavdip / sketch-never-ending.md
Created October 6, 2016 15:53
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@LouisGameDev
LouisGameDev / DownloadMixamoByLouisHong.js
Last active February 3, 2025 15:38
Downloads all the free Mixamo Animations
// Anonymous "self-invoking" function
alert("Thank you for using this script created by Louis Hong (/u/loolo78)\n\nThe download will now begin.");
(function() {
// Load the script
var script = document.createElement("SCRIPT");
script.src = 'https://code.jquery.com/jquery-latest.min.js';
script.type = 'text/javascript';
document.getElementsByTagName("head")[0].appendChild(script);
@manikmagar
manikmagar / custom-content.php
Created February 14, 2016 16:55
Ultimatum Theme - Wordpress Custom Loop with Custom Field Filter
<?php
/*
* Tricky Loops v5 Thanks to Richard
* CF1.0 - Added feature to filter by custom fields. Base Ultimatum Version used is 2.8.7 PRO - Manik Magar
*/
class UltimatumCustomContentWithCFFilter extends WP_Widget {
function UltimatumCustomContentWithCFFilter() {
@alexhawkins
alexhawkins / nativeJavaScript.js
Last active November 1, 2024 12:00
Implementation of Native JavaScript Methods (forEach, Map, Filter, Reduce, Every, Some)
'use strict';
/*****************NATIVE forEACH*********************/
Array.prototype.myEach = function(callback) {
for (var i = 0; i < this.length; i++)
callback(this[i], i, this);
};
//tests
@srikat
srikat / zebra_tooltips_init.js
Last active February 13, 2016 00:44
Adding tooltips to Simple Social Icons using Zebra_Tooltips jQuery script. http://sridharkatakam.com/add-tooltips-simple-social-icons/
// Enqueue Zebra ToolTips
add_action( 'wp_enqueue_scripts', 'enqueue_zebra_script' );
function enqueue_zebra_script() {
wp_enqueue_script( 'zebra-tooltips', get_stylesheet_directory_uri() . '/js/zebra_tooltips.js', array( 'jquery' ), '', true );
wp_enqueue_script( 'zebra-tooltips-init', get_stylesheet_directory_uri() . '/js/zebra_tooltips_init.js', array( 'zebra-tooltips' ), '1.0.0', true );
wp_enqueue_style( 'zebra-styles', get_bloginfo('stylesheet_directory').'/css/zebra_tooltips.css', array(), '1.0.0' );
}
@ijy
ijy / sublime-text-3-setup.md
Last active March 7, 2025 20:44
My Sublime Text 3 setup.

Sublime Text 3 Setup

Install Package Control

Install Package Control for easy package management.

  1. Open the console with Ctrl+`
  2. Paste in the following: