Skip to content

Instantly share code, notes, and snippets.

View maisieccino's full-sized avatar

Maisie Bell maisieccino

View GitHub Profile
@maisieccino
maisieccino / whack-a-mole.c
Created November 19, 2015 20:25
"Whack-a-mole" coursework solution
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#define MAX_ARR_SIZE 128
#define GRID_SIZE 16
typedef bool grid_t[GRID_SIZE];
typedef struct node{
@maisieccino
maisieccino / .Xresources
Created November 23, 2015 20:42
christmas dotfiles
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
URxvt.scrollBar: false
@maisieccino
maisieccino / .Xresources
Last active June 20, 2019 22:44
dotfiles for "Up Again"
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
URxvt.scrollBar: false
URxvt*transparent: false
set $foreground #666699
set $background #000000
set $color0 #333366
set $color8 #333399
set $color1 #6666cc
set $color9 #9999ff
set $color2 #0099cc
set $color10 #00ccff
set $color3 #3366cc
set $color11 #6699ff
@maisieccino
maisieccino / PKGBUILD
Last active January 19, 2016 15:05
ttf-sanfrancisco
pkgname=ttf-sanfrancisco
pkgver=1.0
pkgrel=1
pkgdesc="San Francisco, the system font for OSX, iOS, watchOS and tvOS."
arch=(any)
depends=(fontconfig xorg-font-utils)
source=()
install=$pkgname.install
package() {
@maisieccino
maisieccino / .Xresources
Created February 23, 2016 01:37
dotfiles for xx-blue theme
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
URxvt.scrollBar: false
URxvt*transparent: false
@maisieccino
maisieccino / PKGBUILD
Created December 25, 2016 13:17
ttf-sanfrancisco
pkgname=ttf-sanfrancisco
pkgver=1.0
pkgrel=1
pkgdesc="San Francisco, the system font for OSX, iOS, watchOS and tvOS."
arch=(any)
depends=(fontconfig xorg-font-utils)
source=()
install=$pkgname.install
package() {
@maisieccino
maisieccino / coredump
Last active October 27, 2017 13:24
oh-my-zsh issue #80 tab complete segfault
PID: 2077 (zsh)
UID: 1000 (mbell)
GID: 1000 (mbell)
Signal: 6 (ABRT)
Timestamp: Fri 2017-10-27 14:08:11 BST (10min ago)
Command Line: zsh
Executable: /usr/bin/zsh
Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service
Unit: user@1000.service
User Unit: gnome-terminal-server.service

Keybase proof

I hereby claim:

  • I am himaisie on github.
  • I am mbellgb (https://keybase.io/mbellgb) on keybase.
  • I have a public key ASBQH8nax9AFpsTTd_7arpCkTP3BWwQzLS2Ra5S6qtweYwo

To claim this, I am signing this object:

@maisieccino
maisieccino / find_empty_maps.py
Created July 29, 2018 13:26
Finds empty maps and surveys using the UCL API
import requests, json
from os import environ
import sys
uclapi_token = environ.get("UCLAPI_TOKEN")
response = requests.get("https://uclapi.com/workspaces/surveys", params={"token":uclapi_token})
if not response.ok:
print("failed to get survey data", file=sys.stderr)
sys.exit(1)