Skip to content

Instantly share code, notes, and snippets.

$.fn.serialze = function() {
return jQuery.param( this.serializeArray() ).replace(/\+/g, " ");
}
#!/bin/sh
#
# cfengine3
#
#
# Created by Nakarin Phooripoom on 22/6/2011.
# Copyright 2010 CFEngine AS. All rights reserved.
#
### BEGIN INIT INFO
# Provides: cfengine3
<?php
echo "################################# NOTICE ##################################\n";
echo "# This script will clone and setup > 20 sites and make take over an hour. #\n";
echo "# If a site already exists any local changes will be overwritten. #\n";
echo "###########################################################################\n";
echo "Are you sure you want to continue? (yes/no) : ";
$stdin = fopen ( "php://stdin","r" );
$line = fgets( $stdin );
{
"attrs": {
"see": "https://example.com",
},
"attrs2": {
"see":
[
"https://example.com",
"https://example.com/two",
],
; generated by Slic3r 1.1.6 on 2014-07-09 at 18:45:35
; perimeters extrusion width = 0.35mm
; infill extrusion width = 0.37mm
; solid infill extrusion width = 0.37mm
; top infill extrusion width = 0.37mm
G21 ; set units to millimeters
M107
M104 S205 ; set temperature
config[:vms].each do |name, settings|
config.vm.define(name) do |vm_config|
# I need access to `name` here
end
end

Update master

First, make sure master is up to date.

git checkout master
git pull upstream master

Rebase your branch

/* Arduino SdFat Library
* Copyright (C) 2009 by William Greiman
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
ryan@lisa ~/workspace/nickler/www$ brew info couchdb ✹ ✭ inventory
couchdb: stable 1.3.0, HEAD
http://couchdb.apache.org/
/usr/local/Cellar/couchdb/1.2.1 (334 files, 3.6M)
Built from source
/usr/local/Cellar/couchdb/1.3.0 (431 files, 6.4M) *
Built from source
https://github.com/mxcl/homebrew/commits/master/Library/Formula/couchdb.rb
==> Dependencies
Required: spidermonkey, icu4c, erlang