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
\begin{itemize} | |
\item[] {\Large\bfseries Thursday, June 13, 2013}\\\vspace{1.5ex} | |
\vspace{1ex} | |
\item[18:30--20:30] {\bfseries Session PLN1: *SEM Opening Reception and STS Poster Session (All SemEval attendees are invited)} | |
\item[] {\Large\bfseries Friday, June 14, 2013}\\\vspace{1.5ex} | |
\vspace{1ex} |
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
; load some data up | |
LDA #$7 | |
STA $00 ; memory addr A | |
LDA #$05 | |
STA $01 ; memory addr B | |
JMP Divide | |
;modulus, returns in register A | |
Mod: | |
LDA $00 ; memory addr A |
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
" For tabs instead of spaces | |
:set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab | |
" For spaces instead of tabs | |
":set shiftwidth=4 tabstop=4 expandtab | |
:set number | |
:set wrap | |
:set showbreak=------> | |
:set autoindent | |
let mapleader = "," |
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
[user] | |
name = Alex Clemmer | |
email = [email protected] | |
[github] | |
user = Hausdorff | |
#token = 9970ddf523092ff97bdbf398e9db2bb1 | |
[core] | |
editor = vim | |
excludesfile = /Users/alex/.gitignore_global | |
autocrlf = true |
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
#include <arpa/inet.h> | |
#include <netinet/in.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
void convert_both_ways(); | |
int main(int argc, char **argv) |
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
SYSCALL(args) = return | |
open(".\0", 0x0, 0x1) = 3 0 | |
fstat64(0x3, 0x7FFF6AFE1260, 0x0) = 0 0 | |
fcntl(0x3, 0x32, 0x7FFF6AFE14E0) = 0 0 | |
close(0x3) = 0 0 | |
stat64("/Users/alex/Desktop/fun/scratch/locks\0", 0x7FFF6AFE11D0, 0x0) = 0 0 | |
issetugid(0x7FFF6B01D530, 0x7FFF6AFE1A30, 0x7FFF6B01D530) = 0 0 | |
csops(0x0, 0x0, 0x7FFF6AFE14BC) = 0 0 | |
shared_region_check_np(0x7FFF6AFDF408, 0x2, 0x55) = 0 0 | |
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF6AFE05D0, 0x7FFF6AFE14C0) = 0 0 |
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
;; This is a brief example of how introspective and intercessory functionality | |
;; can be encapsulated in a method combination without changing method | |
;; definitions or client code. Different implementations of the same method are | |
;; chosen randomly at runtime and the method combination profiles them to learn | |
;; which ones are more efficient and starts to call them more often than the | |
;; others. | |
(defgeneric sleep-and-stuff () | |
(:method-combination adaptive-optimizer | |
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
# Problem Statement: | |
# You have mulitple copies (or clones) of upstream repositories in your local drive. | |
# Your local cloned repos need to be updated against the upstream master repos on a regular basis. | |
# Here's one solution that uses the IPython notebook. | |
# Open up your IPython notebook browser in your working directory and then paste the following into a code cell. | |
# Press SHIFT+ENTER to run the code cell. | |
# Create a list of projects located in the working directory. | |
list_of_projects = ["django", "ipython", "oh-mainline"] |
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
diff -uNr -x'*.[oas]' openssl-1.0.1g.orig/crypto/Makefile openssl-1.0.1g/crypto/Makefile | |
--- openssl-1.0.1g.orig/crypto/Makefile 2014-04-10 13:11:56.000000000 -0400 | |
+++ openssl-1.0.1g/crypto/Makefile 2014-04-10 13:02:39.000000000 -0400 | |
@@ -35,14 +35,16 @@ | |
LIB= $(TOP)/libcrypto.a | |
SHARED_LIB= libcrypto$(SHLIB_EXT) | |
LIBSRC= cryptlib.c mem.c mem_clr.c mem_dbg.c cversion.c ex_data.c cpt_err.c \ | |
- ebcdic.c uid.c o_time.c o_str.c o_dir.c o_fips.c o_init.c fips_ers.c | |
+ ebcdic.c uid.c o_time.c o_str.c o_dir.c o_fips.c o_init.c fips_ers.c \ | |
+ secure_malloc.c buddy_allocator.c |
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 | |
# Add the repository | |
rpm -Uvh http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm | |
echo "--- ---" | |
echo "--- Installing Mesos and ZooKeeper packages ---" | |
echo "--- ---" | |
yum -y install mesos marathon | |
yum -y install mesosphere-zookeeper |
OlderNewer