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
define info proc mappings | |
echo 0x0 0xFFFFFFFF 0x100000000 0x0 mem \n | |
end | |
set style enabled off | |
set arch armv7 | |
target extended-remote localhost:3333 |
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
payload = {'l': 'en', | |
'TsiCCode': 'VIA', | |
'TsiTrainNumber': train_number, | |
'DepartureDate': trip_date, | |
'ArrivalDate': trip_date, | |
'TrainInstanceDate': trip_date} | |
r = requests.get('http://reservia.viarail.ca/tsi/GetTrainStatus.aspx', | |
params=payload) |
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
notifications: | |
email: false | |
language: c | |
env: | |
global: | |
- "ARTIFACTS_AWS_REGION=us-east-1" | |
- "ARTIFACTS_S3_BUCKET=cantact-builds" | |
- secure: "gol8KyPaZuEpibS+JIrzfWuwaYNtHF0gLR0Lol6PM49KZPnHfAg9P2zMNhESL6ZTmWFwEmhxuntFvOQbGqB55cJbmOv3ZeuYkMw4y+GRwKB3pRAqQTQXOx8uBSCvBw+zmwmbswUA+dlKVQAgGvHxjQRwSfByedZsDaCz/ACd7qs=" |
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
before_script: | |
- sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted' | |
- sudo apt-get update -qq | |
- sudo apt-get install -y gcc-arm-none-eabi |
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
""" | |
Type A Machine's DEF CON Challenge | |
result: txqeahackers | |
""" | |
from string import ascii_lowercase | |
alpha = list(ascii_lowercase) | |
code = [29,33,26,14,10,17,10,12,20,14,27,28] |
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
#define F_CPU 16000000 | |
#include <avr/io.h> | |
#include <util/delay.h> | |
int main (void) | |
{ | |
// set all PORTB pins for output | |
DDRB = 0xFF; |
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
#include "stm32l1xx.h" | |
int main() { | |
GPIO_InitTypeDef ledInit; | |
long i = 0; | |
// enable the GPIOB peripheral | |
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOB, ENABLE); | |
// configure pins 6 and 7 as GPIO output |
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
/* | |
* copyleft 2005 DojoDave <http://www.0j0.org> | |
* http://arduino.berlios.de | |
* | |
* based on an orginal by H. Barragan for the Wiring i/o board | |
*/ | |
int ledPin = 13; // LED connected to digital pin 13 | |
void setup() |
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
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<canvas id='gauge' width=400 height=400> | |
<script> | |
drawGauge = function(canvasId, angle, length) { | |
var gaugeCanvas = document.getElementById(canvasId); | |
var ctx = gaugeCanvas.getContext('2d'); |