Skip to content

Instantly share code, notes, and snippets.

this is a gist
this is another gist. gists are fun
llvm[2]: Compiling IOChannel.cpp for Debug+Asserts build
In file included from /usr/home/dforsyth/llvm/tools/lldb/tools/driver/IOChannel.cpp:10:
In file included from /usr/home/dforsyth/llvm/tools/lldb/tools/driver/IOChannel.h:25:
In file included from /usr/home/dforsyth/llvm/tools/lldb/tools/driver/Driver.h:16:
In file included from /usr/include/c++/4.2/bitset:58:
In file included from /usr/include/c++/4.2/ostream:44:
In file included from /usr/include/c++/4.2/ios:46:
/usr/include/c++/4.2/bits/localefwd.h:89:22: error: too many arguments provided to function-like macro
invocation
isxdigit(_CharT, const locale&);
gmake[1]: Entering directory `/usr/home/dforsyth/build/lib/Support'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/home/dforsyth/build/lib/Support'
gmake[1]: Entering directory `/usr/home/dforsyth/build/utils'
gmake[2]: Entering directory `/usr/home/dforsyth/build/utils/FileCheck'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/home/dforsyth/build/utils/FileCheck'
gmake[2]: Entering directory `/usr/home/dforsyth/build/utils/FileUpdate'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/home/dforsyth/build/utils/FileUpdate'
Index: include/lldb/Host/SocketAddress.h
===================================================================
--- include/lldb/Host/SocketAddress.h (revision 136206)
+++ include/lldb/Host/SocketAddress.h (working copy)
@@ -16,6 +16,10 @@
#include <netdb.h>
#include <netinet/in.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
@dforsyth
dforsyth / gist:1227569
Created September 19, 2011 20:49 — forked from anonymous/gist:1227536
all instances of String "name" and int "secondDenom": local variable name may not have been initialized
import java.util.Scanner;
public class Money {
public static void main (String args[]) {
Scanner sc= new Scanner(System.in);
String name, secondName; //Name is for the first branch, etc.
int nameOrDenom, firstDenom, secondDenom; //firstDenom is for the first branch, etc.
System.out.print("Type 1 to enter a last name, 2 to enter a denomination: ");
@dforsyth
dforsyth / kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kapti
Created March 5, 2012 04:25
kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kap
kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptikaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kaptin kapt
@dforsyth
dforsyth / hack.sh
Created March 31, 2012 17:18 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@dforsyth
dforsyth / gist:2392783
Created April 15, 2012 13:26 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt