Skip to content

Instantly share code, notes, and snippets.

Enjoying SoCal "Fall"

Jimmy Wilson jimmynotjim

Enjoying SoCal "Fall"
View GitHub Profile
ascott1 /
Last active Feb 25, 2019
The levels of internet privacy

These are some steps that users can take to retain privacy online. These aren't perfect, but aim to strike a balance between privacy and usability.

Level 1

  • Enable Do Not Track in your browser
  • Use a tracker blocking plugin such as Privacy Badger or Ghostery
  • Disable third-party cookies
  • Use the HTTPS Everywhere browser extension
mkivikoski /
Last active Sep 20, 2016
A checklist of the qualities you'd like to see your next company have.

We write resumes to convince employers to hire us. What if we created a list for what we were looking for in our next employer and their environment?

This allows both sides to cut through the game of telephone, establish what you are looking for in your role, and define the type of organization you're looking to work for. Fork, modify and add this checklist to your portfolio site to quicken the pace of getting through companies that don't match your criteria.


View material-theme.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
yoavniran /
Last active Oct 18, 2021
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
frdmn /
Last active Aug 2, 2021
Install OS X 10.10 Yosemite in VirtualBox
cferdinandi / extend.js
Last active Oct 13, 2021
A native JS extend() function.
View extend.js
* Merge defaults with user options
* @private
* @param {Object} defaults Default settings
* @param {Object} options User options
* @returns {Object} Merged values of defaults and options
var extend = function ( defaults, options ) {
var extended = {};
var prop;
germanny / shortcode-include-file.php
Last active Apr 29, 2019
Shortcode to include files in WP Pages
View shortcode-include-file.php
// SHORTCODE - Include File
function include_file($atts) {
//check the input and override the default filepath NULL
//if filepath was specified
extract(shortcode_atts(array('filepath' => 'NULL'), $atts));
//check if the filepath was specified and if the file exists
if ($filepath!='NULL' && file_exists(CHILD_SS_DIR.$filepath)){
ericrasch / TypeKit embed code.php
Last active Jul 4, 2017
Different methods for loading TypeKit's embed code.
View TypeKit embed code.php
* TypeKit's default embed code.
* Source:
* Avg. Load Time: 191ms; 198ms; 265ms
<script type="text/javascript" src="//"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
bomberstudios /
Last active Oct 17, 2021
A list of Sketch plugins hosted at GitHub, in no particular order.
nternetinspired / gist:7482445
Last active Jul 3, 2021
Load Disqus comments only on demand if you give a shit about page weight and your visitors. Even with no comments, i.e. an empty comment form, calling Disqus will load an extra 226Kb. If your page has comments this can be far higher. This Gist accompanies my blog post:
View gist:7482445
// Requires jQuery of course.
$(document).ready(function() {
$('.show-comments').on('click', function(){
var disqus_shortname = 'YOUR-DISQUS-USERNAME'; // Replace this value with *your* username.
// ajax request to load the disqus javascript
type: "GET",
url: "http://" + disqus_shortname + "",
dataType: "script",