Skip to content

Instantly share code, notes, and snippets.

View aschle's full-sized avatar

Alexa Schlegel aschle

View GitHub Profile
#include <Adafruit_NeoPixel.h>
#define PIN 6
#define NUMPIXELS 49
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
void setup () {
pixels.begin();
@article{newman2002random,
Author = {Newman, Mark EJ},
Date-Added = {2016-10-20 20:27:59 +0000},
Date-Modified = {2016-10-20 20:27:59 +0000},
Journal = {arXiv preprint cond-mat/0202208},
Title = {Random graphs as models of networks},
Year = {2002}}
@article{psorakis2015inferring,
Author = {Psorakis, Ioannis and Voelkl, Bernhard and Garroway, Colin J and Radersma, Reinder and Aplin, Lucy M and Crates, Ross A and Culina, Antica and Farine, Damien R and Firth, Josh A and Hinde, Camilla A and others},
@aschle
aschle / playlist.md
Last active September 11, 2015 20:01
  • Dick Dale and His Del-Tones - Misirlou (Soundtrack Pulp Fiction)
  • Eagles of Death Metal - Wanna be in LA
  • Elvis - Blue Suede Shoes
  • Nick Straker Band - A Walk in the Park
  • Adam Green - Emily
  • The Beach Boys - Surfin USA
  • Ray Charles - Hit the Road Jack *Queens of the stoneage - Wanna make it with chu
  • Max Raabe / Comedien Harmonists - Mein kleiner grüner Kaktus
  • Michael Jackson - Thriller
@aschle
aschle / sh
Created September 4, 2015 18:48
Running LESS in neonion
while inotifywait -r neonion/static/less/* &
do
lessc neonion/static/less/my-bootstrap-theme.less neonion/static/css/main.css
done
@aschle
aschle / sh
Created September 4, 2015 18:44
Running sc5 for neonion
styleguide --kss-source "less/*.less" --kss-source "less/modules/*.less" --kss-source "less/partials/*.less" --style-source "css/*.css" --output styleguide --watch --server --title "Styleguide for neonion" --overviewPath "less/styleguide.md"
styleguide --kss-source "less/*.less" --kss-source "less/modules/*.less" --kss-source "less/partials/*.less" --style-source "css/*.css" --output styleguide --watch --server --title "Styleguide for neonion" --overviewPath "less/styleguide.md"
cl <- clusters(g3)
small.clusters <- which(cl$csize <= 2)
vertices.to.delete <- which(cl$membership %in% small.clusters)
newg <- delete.vertices(g3, vertices.to.delete)
#Zei Plot in einem (hier untereinander aber geht auch nebeneinander
layout(matrix(1:2, ncol = 1))
boxplot(female$Age, xlab="Age", main="Femal Gamers", horizontal = TRUE)
boxplot(male$Age, xlab="Age", main="Male Gamers", horizontal = TRUE)
# Hier ein paar Sachen zum Plotten von Graphen
plot.igraph(big, vertex.label=NA, vertex.size=2, edge.width=0.5, layout=layout.fruchterman.reingold, vertex.label.color="black",edge.color="black")
plot.igraph(big, vertex.label=NA, vertex.size=2, edge.width=0.5,
layout=layout.reingold.tilford, vertex.label.color="black",edge.color="black")