This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn status --no-ignore | grep '^\?' | sed 's/^\? //' | |
svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs rm -rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn merge folder/@HEAD folder/@637 folder/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# Copyright (C) 2006 - 2010 Loic Dachary <[email protected]> | |
# Copyright (C) 2004, 2005, 2006 Mekensleep <[email protected]> | |
# 24 rue vieille du temple, 75004 Paris | |
# | |
# This software's license gives you freedom; you can copy, convey, | |
# propagate, redistribute and/or modify this program under the terms of | |
# the GNU Affero General Public License (AGPL) as published by the Free | |
# Software Foundation, either version 3 of the License, or (at your |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add to your ~/.profile | |
. ~/sources/z/z.sh | |
zz () { (z $* && open .); } | |
# "$ z some_folder" now goes to that folder in the Terminal | |
# "$ zz some_folder" opens this folder in the Finder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:document.getElementById('issue_status_id').selectedIndex=5;document.getElementById('issue-form').submit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!--Created by Ukelele version 2.2.4 on 2013-01-18 at 18:00 (MEZ)--> | |
<!--Last edited by Ukelele version 2.2.4 on 2013-01-18 at 18:01 (MEZ)--> | |
<keyboard group="0" id="5591" name="U.S. - without dead keys" maxout="1"> | |
<layouts> | |
<layout first="0" last="17" modifiers="f4" mapSet="16c"/> | |
<layout first="18" last="18" modifiers="f4" mapSet="984"/> | |
<layout first="21" last="23" modifiers="f4" mapSet="984"/> | |
<layout first="30" last="30" modifiers="f4" mapSet="984"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to use with git bisect for phpunit tests for yii apps | |
# | |
# Should lie under protected/tests | |
# usage: | |
# | |
# git bisect start __bad__ __good__ -- | |
# git bisect run protected/tests/git-bisect-phpunit.sh __args__ | |
# | |
# where __args__ are phpunit arguments: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
$in = fopen('php://stdin', 'r'); | |
$result=array(); | |
$format='_.'; | |
while($line=fgetcsv($in, 0, "\t")) { | |
$result[]='|'.$format.implode('|'.$format, $line).'|'; | |
$format=''; | |
} | |
fclose($in); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>FB Events</title> | |
</head> | |
<body> | |
<div id="pictures"></div> | |
<div id="fb-root"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Export Parse Push Events | |
// log into http://parse.com and run this code in your web console | |
// the pushes will be inside window.pushes | |
(function() { | |
const parseApp = '[YOUR_PARSE_APP_NAME]'; // the string in the URL https://parse.com/apps/[PARSE_APP]/ e.g. 'push-tests--2' | |
const entries = 10; | |
'use strict'; | |
function get(theUrl) { | |
return new Promise( |
OlderNewer