I hereby claim:
- I am sunnyraj on github.
- I am sunnyraj (https://keybase.io/sunnyraj) on keybase.
- I have a public key ASAw4T5cdSHaGAdt26tYt7yqouJyLTUBAQb14jdxNpZsdAo
To claim this, I am signing this object:
#!/bin/bash | |
#################################################### | |
# CRIMES 4.9 install script with support for Remus # | |
# NOT YET TESTED - Use gcc-6 # | |
#################################################### | |
set -e | |
CRIMESDIR="" |
#! /bin/sh | |
set -e | |
sudo apt-add-repository -y ppa:brightbox/ruby-ng | |
sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
# sudo add-apt-repository -y ppa:jonathonf/vim | |
sudo apt-get update | |
sudo apt-get -y upgrade |
I hereby claim:
To claim this, I am signing this object:
# This will track all remote branches | |
for remote in `git branch -r | grep -v /HEAD`; do git checkout --track $remote ; done | |
git checkout <your_branch> | |
git merge <branch_you_want_to_merge_into_yours> | |
# If you want to automatically select their version on conflict | |
# git merge --strategy-option theirs <branch_you_want_to_merge_into_yours> |
target = paper | |
.PHONY: ${target}.pdf all clean | |
all: ${target}.pdf | |
# CUSTOM BUILD RULES | |
# In case you didn't know, '$@' is a variable holding the name of the target, | |
# and '$<' is a variable holding the (first) dependency of a rule. |
#!/bin/zsh | |
brew install cabextract | |
cd ~/Downloads | |
mkdir consolas | |
cd consolas | |
curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe | |
cabextract PowerPointViewer.exe | |
cabextract ppviewer.cab | |
open CONSOLA*.TTF |
#!/usr/bin/env bash | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
sudo apt update | |
sudo update-alternatives --remove-all gcc | |
sudo update-alternatives --remove-all g++ | |
sudo apt-get install -y gcc-4.8 g++-4.8 gcc-4.9 g++-4.9 gcc-5 g++-5 gcc-6 g++-6 gcc-7 g++-7 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 |
kill "$@" $(jobs -p) |
import sys | |
import os | |
from time import sleep | |
path = "text" | |
file_size = os.stat(path).st_size | |
f = open(path, 'r', 1) | |
bytes_read = 0 | |
for line in f: | |
bytes_read += len(line) |