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
import threading | |
import time | |
import tkinter as tk | |
from tkinter import messagebox | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.figure import Figure |
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
import threading | |
import time | |
import tkinter as tk | |
from tkinter import messagebox | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.figure import Figure |
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
#ifdef DEBUG | |
#define _dbgmsg(MESSAGE, ...) printf("DEBUG: " #MESSAGE "\n", \ | |
##__VA_ARGS__) | |
#else | |
#define _dbgmsg(MESSAGE) {} | |
#endif |
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
main: | |
LDA #$07 ; load byte mask for joystick input | |
ORA $1858 ; map mask | |
STA $1858 ; write byte | |
loop: LDA #$07 ; load byte mask for LED output | |
ORA $000b ; map mask | |
STA $000b ; write byte | |
LDA $000c ; load port G |
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
# Octave 3.8.1, Mon Jun 16 09:08:01 2014 CEST <ninux@x200> | |
pkg load control signal | |
G = zpk([];[-1,-1; -1,1],1); | |
G = zpk([],[-1,-1; -1,1],1); | |
H = zpk([],[-2,-1; -2,1],1); | |
zplane(G,H) | |
graphics_toolkit("gnuplot") | |
zplane(G) | |
s = tf('s') | |
G = zpk([],[-1,-1; -1,1],1); |
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
git archive HEAD --format=zip > archive.zip |
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
private boolean containsNumbers(String s) { | |
Pattern p = Pattern.compile(".*\\d.*"); | |
return p.matcher(s).find(); | |
} | |
private boolean containsCharacters(String s){ | |
Pattern p = Pattern.compile("[a-zA-Z]"); | |
return p.matcher(s).find(); | |
} |
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[a4paper, 10pt, fleqn]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage{tikz} | |
\usepackage{venndiagram} | |
\begin{document} | |
\begin{figure}[h!] | |
\centering |
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
# http://stackoverflow.com/questions/7075923/resync-git-repo-with-new-gitignore-file | |
git rm -r --cached . | |
git add . | |
git commit -m "cleaned up repo with new gitignore" |
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
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf | |
found at https://bbs.archlinux.org/viewtopic.php?id=65036 |
NewerOlder