This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/Rscript | |
| library(ggplot2) | |
| library(MASS) | |
| library(scales) | |
| set.seed(16) | |
| memory_bound <- 4.5 | |
| comp1 <- c(1/2,3) | |
| comp2 <- c(1/2,3/2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/Rscript | |
| library(ggplot2) | |
| library(MASS) | |
| library(scales) | |
| set.seed(16) | |
| #RK3399 nano pc t4 | |
| # 4x 2.0 GHz, 2x 1.5Ghz | |
| rk3399_op_freq <- 2 #GHz | |
| rk3399_ops_per_cyc <-2 #supports fma |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/Rscript | |
| library(ggplot2) | |
| library(scales) | |
| library(directlabels) | |
| library(wesanderson) | |
| #library(gdata) | |
| AppendMe <- function(dfNames) { | |
| do.call(rbind, lapply(dfNames, function(x) { | |
| cbind(get(x), source = x) | |
| })) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [push] | |
| default = matching | |
| [core] | |
| editor = vim | |
| [user] | |
| name = ............. | |
| email = ............... | |
| [alias] | |
| lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
| lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/netctl/eduroam | |
| # replace $user and $hash with your wifi credentials | |
| # $hash is generated from your wifi password with: | |
| # (note that the password string is prepended with the cleartext hash:) | |
| # echo -n '$password' | iconv -t utf16le | openssl md4 | |
| Description='eduroam' | |
| Interface='wlp3s0' | |
| Connection='wireless' | |
| Security='wpa-configsection' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e -u | |
| InstallBase=~/Documents/esp | |
| BrewHome=/usr/local | |
| BrewToolsExtra="https://raw.github.com/Homebrew/homebrew-dupes/master/grep.rb" | |
| ImageName=ESPDISK | |
| ImageNameDMG=${InstallBase}/${ImageName}.dmg | |
| # -------------------------- |