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 | |
#Have Undertale running. Be in shop in Temmie Village with cursor over "Buy". | |
#This script will buy lots of "tem flake (ON SALE,)" and sell them for 1 more money per piece. | |
#We do this not for profit, but for tem colleg fund :3 | |
xdotool windowactivate --sync $(xdotool search "UNDERTALE" | head -n 1); for i in {1..100}; do xdotool key --delay 120 z Down z z z z z z z z z z z z z z z z x Down z z z z z z z z z z z z z z z z z Up; done |
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
GIMP Palette | |
Name: strath | |
Columns: 6 | |
# | |
0 0 0 Black | |
0 43 92 Primary1 | |
0 120 174 Eng | |
104 182 217 EngLight | |
167 169 172 Primary2 | |
255 255 255 White |
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
minicom -b 11250 -D /dev/ttyACM0 |
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 | |
wget http://mantia.me/goodies/desktops/; cat index.html | grep -o '<a href="[^"]*' | grep _wide| sed 's/<a href="//g'|sed 's/[aZ09]*/http:\/\/mantia.me\/goodies\/desktops\//' | xargs wget -c; rm index.html |
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 | |
enscript --tabsize=4 --pretty-print --color --portrait --columns=1 --fancy-header -p enscript.ps $(< sources.txt) && ps2pdf enscript.ps enscript.pdf && pdfnup --nup 2x1 --frame true --landscape --outfile source.pdf enscript.pdf |
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
\documentclass{article} | |
%Packages for ASM diagrams | |
\usepackage{pgf} | |
\usepackage{tikz} | |
\usetikzlibrary{arrows,automata} | |
\begin{document} | |
\resizebox{0.6\textwidth}{!}{ | |
\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=4.8cm, |
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
\documentclass{article} | |
\input{kmap} | |
\begin{document} | |
\begin{Karnaugh}{i2}{i1}{o2}{o1} | |
\minterms{1,4} | |
\maxterms{0,2,3,5,6,7,8,9,10,11} | |
\indeterminats{12,13,14,15} | |
\implicant{0}{7} | |
\end{Karnaugh} |
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
enscript -q -b '$n|%N %W|$V$%/$=($p)' -Ejava -r -C --toc -p - *.java > out.ps |
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
/* The following macro is used to purge unwanted input */ | |
#define consume() {char _xx; while(scanf("%c",&_xx),_xx!='\n');} |
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
#include <time.h> | |
/* The following timing-related macros are based on the reaction.c | |
* versions except that they are time_t and time() specific rather | |
* than clock_t and clock() specific since the latter aren't | |
* suitable for timing I/O bound programs. | |
*/ | |
static time_t _startTime,_stopTime; /* 'private' variables */ | |
#define SNAP() (_startTime = time(NULL)) | |
#define SHOT() (_stopTime = time(NULL)) |
NewerOlder