Skip to content

Instantly share code, notes, and snippets.

@claiire
claiire / config
Created October 2, 2017 17:14
i3 cybre theme.
font pango:fantasque sans mono 11
# class border backgr. text indctr. child
client.focused #00ff00 #002200 #00ff00 #00ff00 #00FF00
client.focused_inactive #008800 #001100 #008800 #001100 #001100
client.unfocused #008800 #001100 #008800 #001100 #001100
client.urgent #ff0000 #220000 #ff0000 #ff0000 #ff0000
bindsym $mod+x exec dmenu_run -nb \#001100 -nf \#00dd00 -sb \#003300 -sf \#00ff00 -fn "Monofur"
bar {
colors {
@claiire
claiire / config
Created July 13, 2017 03:54
ubuntu-esque colour scheme for i3
# class border backgr. text indctr. child
client.focused #77216f #77216f #ffffff #77216f #77216f
client.focused_inactive #5e2750 #5e2750 #aea79f #5e2750 #5e2750
client.unfocused #2c001e #2c001e #aea79f #2c001e #2c001e
client.urgent #e95420 #e95420 #000000 #e95420 #e95420

FLOSS Friends Code of Conduct

Last updated: 2017-06-18

FLOSS Friends aims to provide a safe, laid-back environment in which newcomers and experienced geeks alike can discuss programming, free software and tech in general. In order to ensure that this channel remains a welcoming place to all, we've laid out this code of conduct for channel participants. Please read it carefully so that you understand the expectations and culture of the channel.

The golden rules are:

  1. There are no stupid questions!
  2. Be nice!
@claiire
claiire / no-followers.css
Created April 22, 2017 05:10
Hide Follower Count on Mastodon (And also toot count and following count because I'm not good at this stuff.)
// How to use this snippet in 5 easy steps:
// 1) Install the Stylish addon (available for both Chrome and Firefox)
// 2) Go to your mastodon instance and click the Stylish button on your browser
// 3) a) If you're on Firefox: select "Create New Style > For [mastodon.instance.goes.here]"
// b) If you're on Chrome, go ahead and click "Create New Style"
// 4) a) If you're on Firefox, paste the code snippet in-between the curly braces labeled
// with "@-moz-document domain([mastodon.instance.goes.here])".
@claiire
claiire / modular_arithmetic_clock.pyde
Last active April 20, 2017 06:06
A Processing program that draws a "clock" diagram with concentric rings of integers. Mayb be useful for teaching modular arithmetic to students
"""
Processing 3, with Python 3.
Draws a circle containing 4 concentric rings of numbers, increasing as they move inwards,
so the first ring shows, for draw_clock(12), [0, 11], the second ring shows [12, 24], etc.
This is useful for generating diagrams to help explain modular arithmetic to students.
Think of it like a clock face,and you "wrap around" when you reach the top again.
"""
def to_cart(r, theta):
return (width/2 + r*cos(radians(theta)), width/2 - r*sin(radians(theta)))
### Keybase proof
I hereby claim:
* I am claiire on github.
* I am clairec (https://keybase.io/clairec) on keybase.
* I have a public key ASAfQl8ykvwgVx5V1vJWZARV3fdxwRDj3UsfrVP7FfM6fAo
To claim this, I am signing this object:
@claiire
claiire / bashprompt
Last active November 8, 2016 22:51
PS1='\n \[$(tput bold)\]\[$(tput setaf 6)\]\A \[$(tput setaf 3)\]\W \[$(tput setaf 2)\]\$ \[$(tput sgr0)\]'