⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains hidden or 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
require 'formula' | |
class Visualpython < Formula | |
homepage 'http://www.vpython.org/' | |
url 'http://www.vpython.org/contents/download/visual-5.74_release.tar.bz2' | |
sha1 'd658166f681e66c2a412a9e8a7f6b6a8476884f3' | |
depends_on :x11 # if your formula requires any X11/XQuartz components | |
depends_on 'boost' | |
depends_on 'gtkglextmm' |
Go to http://developer.apple.com/downloads, log in with your Apple ID (free) and download the newest version of either Command Line Tools (OS X Lion) for Xcode or Command Line Tools (OS X Mountain Lion) for Xcode. Run the installer in the dmg and you'll have the LLVM compiler, make
, and other build tools.
Install XQuarts to satisfy a library dependency for PHP.
This file contains hidden or 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
import re | |
import shutil | |
import argparse | |
from os import path | |
from sys import stderr | |
# | |
# Author: Daxda | |
# Date: 02.04.2014 | |
# WTF: This is a quick tool I've hacked together to easily remove the meta |
This file contains hidden or 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
import urllib2 | |
import threading | |
from Queue import Queue | |
import sys, os, re | |
class ThreadedDownload(object): | |
REGEX = { | |
'hostname_strip':re.compile('.*\..*?/', re.I) | |
} |
This file contains hidden or 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/env groovy | |
@Grab('org.apache.pdfbox:pdfbox:1.8.8') | |
import org.apache.pdfbox.cos.COSArray | |
import org.apache.pdfbox.cos.COSString | |
import org.apache.pdfbox.pdfparser.PDFStreamParser | |
import org.apache.pdfbox.pdfwriter.ContentStreamWriter | |
import org.apache.pdfbox.pdmodel.PDDocument | |
import org.apache.pdfbox.pdmodel.PDPage | |
import org.apache.pdfbox.pdmodel.common.PDStream | |
import org.apache.pdfbox.util.PDFOperator |
This file contains hidden or 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"?> | |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | |
<Type Name="QPoint"> | |
<AlternativeType Name="QPointF"/> | |
<DisplayString>{{ x = {xp}, y = {yp} }}</DisplayString> | |
<Expand> | |
<Item Name="[x]">xp</Item> | |
<Item Name="[y]">yp</Item> | |
</Expand> |
This file contains hidden or 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 | |
# | |
# msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service | |
# | |
# Please report issues and/or improvements to Sam Hocevar <sam@hocevar.net> | |
# | |
# Prerequisites: | |
# — MSYS2 itself: http://sourceforge.net/projects/msys2/ | |
# — admin tools: pacman -S openssh cygrunsrv mingw-w64-x86_64-editrights | |
# |
OlderNewer