Skip to content

Instantly share code, notes, and snippets.

View skrulcik's full-sized avatar

Scott Krulcik skrulcik

View GitHub Profile
@skrulcik
skrulcik / academy-linter-profile.log
Last active March 6, 2018 18:42
Academy linter profiling
------------------------------------------------------------
Testing file: /Users/Scott/tmp/50.py
53 function calls in 0.001 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.001 0.001 {built-in method builtins.exec}
1 0.000 0.000 0.001 0.001 <string>:1(<module>)

Keybase proof

I hereby claim:

  • I am skrulcik on github.
  • I am skrulcik (https://keybase.io/skrulcik) on keybase.
  • I have a public key ASA-Oj_fjH2liVYV9KDmJmb8sQjdteYcuhluawE26c3GhAo

To claim this, I am signing this object:

@skrulcik
skrulcik / enum_comma_example.c
Last active November 6, 2016 19:02
Justifies using trailing commas in C enums
/* This enum does not use trailing commas. */
typdef enum {
APPLES,
BANANAS,
STRAWBERRIES
} fruit_t;
/* This enum uses trailing commas for beautiful diffs */
typedef enum {
ICE_CREAM,

New Member Tutorial

GitHub Organization

The code for our APIs and event websites is hosted on GitHub. We have our own GitHub organization that we use to coordinate our projects.

In order for you to contribute to our private projects, you need to be part of our organization. To get started, send and email to

@skrulcik
skrulcik / fix_github_https_repo.sh
Last active May 21, 2016 06:53 — forked from m14t/fix_github_https_repo.sh
Convert HTTPS github clones to use SSH
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
exit
fi