Skip to content

Instantly share code, notes, and snippets.

Avatar

Jagger De Leo jagger27

View GitHub Profile
View index.html
<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);
View keymap.c
#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,
View keybase.md

Keybase proof

I hereby claim:

  • I am jagger27 on github.
  • I am jaggerdeleo (https://keybase.io/jaggerdeleo) on keybase.
  • I have a public key ASDMBMr9MY8xhvOVwfUUT3EpLP-sAp9MJDEONDOe5lN66Ao

To claim this, I am signing this object:

@jagger27
jagger27 / cb-4th-patrons-call.md
Last active Oct 12, 2017
Citybound: 4th Patrons Call Notes
View cb-4th-patrons-call.md

Citybound: 4th Patron's Call Notes

Favourites and Discovery

  • To reduce search space of "is there a new favourite/better alternative" shop to get <something>
    • Cims may not be aware of the "new pizza place" that just opened (and only consider places they know exist)
    • some other event needs to trigger their awareness of it, like:
      • from walking/driving by the place
      • proximity to Cims who know about it (family, coworkers, people at the park..)
@jagger27
jagger27 / littlemultifilegrep.js
Created Jan 7, 2016
A little asynchronous multi-file grep
View littlemultifilegrep.js
(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);
@jagger27
jagger27 / littlegrep_sync.js
Last active Jan 7, 2016
A little synchronous grep
View littlegrep_sync.js
(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];
@jagger27
jagger27 / littlegrep_async.js
Last active Jan 7, 2016
A little asynchronous grep
View littlegrep_async.js
(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];
@jagger27
jagger27 / gcc-on-osx.md
Last active Aug 12, 2018
Compiling and Running C on Mac OS X 10.10 Yosemite
View gcc-on-osx.md

Compiling and Running C on Mac OS X Yosemite

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.

Mac OS X

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)

gcc on OS X

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,

View Resume.md

Jagger De Leo

(613) 700-9367
Ottawa, ON, Canada
jagger@twoseven.ca

Objectives

  • Gain career-valuable experience in the CS field
  • Get my hands dirty in the real world
  • Form new career relationships and connections
@jagger27
jagger27 / nginx.conf
Last active Sep 20, 2019
Nginx tilde.club clone conf
View nginx.conf
# 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;