- Compile the program in gcc with debug symbols enabled (
-g
) - Do NOT strip the binary
- To generate assembly code using gcc use the -S option:
gcc -S hello.c
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
0:00:01.029,0:00:05.030 | |
Hi, this is Tom and in this screencast we're | |
going to show you how to build a blog | |
0:00:05.003,0:00:06.962 | |
reading application using Ember.js. | |
0:00:07.259,0:00:10.610 | |
Ember is a JavaScript framework for | |
building ambitious |
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
module.exports = function(grunt) { | |
// Load our plugins | |
grunt.loadNpmTasks('grunt-concurrent'); | |
grunt.loadNpmTasks('grunt-contrib-connect'); | |
grunt.loadNpmTasks('grunt-contrib-uglify'); | |
grunt.loadNpmTasks('grunt-contrib-clean'); | |
grunt.loadNpmTasks('grunt-contrib-copy'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.loadNpmTasks('grunt-contrib-jshint'); |
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/bash | |
# doc-gen.sh is a wrapper around the marked Node.js package that turns markdown | |
# into HTML and then does some fancy Bootstrap styling to it so we get nice | |
# clean looking documentation. | |
# | |
# Usage: doc-gen.sh your_documentataion_file.md > output_file.html | |
BOOTSTRAP_STYLE='"'"'this is a test to see if it '"'"'"'"'"'"'"'"'works'"'"'"'"'"'"'"'"' well enough'"'"' |
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
/*! | |
* Grunt | |
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev | |
*/ | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// Sass |
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 | |
# Ugh... I have to download all 3 programs? psssh... | |
ELASTICSEARCH_VERSION="1.7.1" | |
LOGSTASH_VERSION="1.5.3" | |
KIBANA_VERSION="3.1.3" | |
curl -L "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-$ELASTICSEARCH_VERSION.tar.gz" -o "elasticsearch-$ELASTICSEARCH_VERSION.tar.gz" | |
curl -L "https://download.elastic.co/logstash/logstash/logstash-$LOGSTASH_VERSION.tar.gz" -o "logstash-$LOGSTASH_VERSION.tar.gz" | |
curl -L "https://download.elastic.co/kibana/kibana/kibana-$KIBANA_VERSION.tar.gz" -o "kibana-$KIBANA_VERSION.tar.gz" |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFjapy4BCADfiGBLezvJoH963Tjf4JWVNtEkV7rtabQkfnvO85cSs0XwSUYk | |
KpjxwDO7ZVV6r+kppEzy12sKO8j2fe3yY+oJmNUU+d5sKkubyFSdbafIdq6rvCJC | |
stXxnGxKcDtUQIBioGXPBElk8IC3RncyMJ/QSZrmxV8M0eVRpAgKTamzHpATvO+A | |
bEYMvDn8fWUIZW1QBjryWksGDdIy997yfFtsw1ruK0ZBQxZ/22KZJx+x2FDWH91s | |
mehQ4q4vhJ04WXgK4HDfK2H4EOwknkvtWdSP4vvKrZDAgTkYBuSRIqW49OBWxQaw | |
YSLYha3TaWSTcydMEldJy1XVMh4PZp8ymlI1ABEBAAG0J0F1c3RpbiBLZWVsZXkg | |
PGF1c3Rpbi5rZWVsZXlAZ21haWwuY29tPokBPQQTAQgAJwIbAwULCQgHAgYVCAkK |
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
# Makefile for the wrapper | |
# The wrapper target is going to prompt you for your root password | |
# so don't run this if you are set to do stuff non-interactively. | |
THIS_DIR = $(shell pwd) | |
DEFINES=-DPING_AGENT_PATH="\"$(THIS_DIR)\"" | |
wrapper: wrapper.o | |
gcc -o wrapper wrapper.c $(DEFINES) | |
sudo chown root wrapper |
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
{ | |
"brand": "kvm", | |
"vcpus": 1, | |
"autoboot": false, | |
"ram": 1024, | |
"resolvers": ["208.67.222.222", "208.67.220.220"], | |
"disks": [ | |
{ | |
"boot": true, | |
"model": "virtio", |
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 logging | |
logging.basicConfig(level=logging.INFO, format='[%(asctime)s %(levelname)s] %(message)s', datefmt='%Y %b %d %H:%M:%S') |
OlderNewer