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));