Skip to content

Instantly share code, notes, and snippets.

@joaofraga
joaofraga / readme.md
Created November 24, 2015 17:37
Bootable Windows USB from Mac OSX (Terminal)

How to create an Bootable Windows USB from OSX without Bootcamp

You will need

  • USB SSD with at least 8GB
  • Windows .ISO

With this on hands

Open terminal and do the following:

@mikeschinkel
mikeschinkel / post-type--not-in.php
Last active February 12, 2022 07:12
Post_Type__Not_In class to add a 'post_type__not_in' parameter to WP_Query.
<?php
/**
* This class will cause WP_Query to ignore a 'post_type' parameter when 'post_type__not_in' is set.
*
* Class Post_Type__Not_In
*/
class Post_Type__Not_In {
/**
*
function Car() {
this.type = 'fo sho'
}
Object.defineProperty(Car.prototype, 'is', {
get: function getterson() {
var car = this;
function named(args) {
args = named.curry.concat(Array.prototype.slice.call(arguments, 0));
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active March 17, 2026 21:17
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@mbostock
mbostock / .block
Last active August 14, 2025 07:07
Closest Point on Path
license: gpl-3.0