Skip to content

Instantly share code, notes, and snippets.

View weskoop's full-sized avatar
🎛️

wes koop weskoop

🎛️
View GitHub Profile
@ignaciolg
ignaciolg / newfs_msdos examples
Last active September 13, 2016 03:56
newfs_msdos examples
#man page freebsd
#https://www.freebsd.org/cgi/man.cgi?query=newfs_msdos&apropos=0&sektion=0&manpath=FreeBSD+5.2-RELEASE&format=html
#man page macosx
#https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/newfs_msdos.8.html
#FAT 32 Cluster Size 16Kb Volume "NAME"
sudo newfs_msdos -F 32 -c 32 -v NAME /dev/disk1
#FAT 32 Cluster Size 32Kb Volume "NAME"
@luetkemj
luetkemj / wp-query-ref.php
Last active February 6, 2024 14:25
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/
@madrobby
madrobby / i18n.coffee
Created November 14, 2011 15:45
Backbone i18n with CoffeeScript
# before this file is loaded, a locale should be set:
#
# In a browser environment, you can use:
# ```<script>__locale='en';</script>```
#
# In a server environment (specifically node.js):
# ```global.__locale = 'en';```
# normalize in-app locale string to "en" or "de-AT"
parts = @__locale.split('-')