(613) 700-9367
Ottawa, ON, Canada
jagger@twoseven.ca
- Gain career-valuable experience in the CS field
- Get my hands dirty in the real world
- Form new career relationships and connections
# my humble homage to tilde.club | |
server { | |
listen 80; | |
# to disallow anything other than what's below (like a direct IP) | |
server_name _; | |
} | |
server { | |
listen 80; |
(613) 700-9367
Ottawa, ON, Canada
jagger@twoseven.ca
If you're like me, you find working on the provided Ubuntu VM to be tortuous and inefficient. It's such a shame to be running an operating system with all of the tools to you need to compile and run simple toy C programs but being forced to use a clunky virtual machine without all your favourite software. Here's what I do to ease the pain.
This guide was tested on Mac OS X 10.10 Yosemite, but should also work on any version of OS X that Homebrew supports. It should work just fine on Mavericks, plus you get access to valgrind. (valgrind hasn't been ported to 10.10 yet, but it does work on 10.9)
By default, if you have Xcode installed, typing gcc
into Terminal.app links to the llvm/clang compiler. Although clang is a great, modern compiler it isn't what's specified by the professor and could potentially lead to incompatible code (and lost marks). To avoid this,
(function() { | |
const fs = require('fs'); | |
if (process.argv.length < 4) { | |
console.error('Not enough parameters given. Try this: "node littlegrep_async filename.txt term"'); | |
process.exit(1); | |
} | |
filename = process.argv[2]; | |
searchterm = process.argv[3]; |
(function() { | |
const fs = require('fs'); | |
if (process.argv.length < 4) { | |
console.error('Not enough parameters given. Try this: "node findinfile_sync filename.txt term"'); | |
process.exit(1); | |
} | |
const filename = process.argv[2]; | |
const searchterm = process.argv[3]; |
(function() { | |
const fs = require('fs'); | |
if (process.argv.length < 4) { | |
console.error('Not enough parameters given. Try this: "node littlemultifilegrep filename.txt term"'); | |
process.exit(1); | |
} | |
filenames = process.argv.slice(2, -1); | |
searchterm = process.argv.slice(-1); |
I hereby claim:
To claim this, I am signing this object:
#include "dz60.h" | |
#define MODS_CTRL_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)) | |
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
LAYOUT( | |
F(0), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, | |
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | |
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, |
<html> | |
<head> | |
<title>jagger27.com</title> | |
<style> | |
.twoseven { | |
font-family: Georgia, 'Times New Roman', Times, serif; | |
font-weight: bold; | |
font-size: calc(300px + (600 - 300) * ((100vw - 300px) / (1600 - 300))); | |
display:block; | |
transform: rotate(-25deg); |