This file contains 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
% DISCLAIMER: Nur in Octave getestet. Könnte auch in MATLAB funktionieren, muss aber nicht... | |
% Achse-Winkeldarstellung zu Rotationsmatrix. | |
function rv = achsewinkel_to_rotmatrix(achse, winkel) | |
x = achse(1); | |
y = achse(2); | |
z = achse(3); | |
c = cos(winkel); | |
s = sin(winkel); | |
omc = 1-c; |
This file contains 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/env python2 | |
# -*- coding: utf-8 -*- | |
# aurfetch.py - My small helper script for fetching AUR packages and automatically update them | |
# It doesn't do the fancier stuff like automagically fetch dependencies. | |
# Have fun :-) | |
# | |
# License: [Do What The Fuck You Want To Public License](http://en.wikipedia.org/wiki/WTFPL) | |
###### START EDITING HERE |
This file contains 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 | |
# backup-bitcoins.sh - Easily create encrypted backups of your Bitcoin wallet | |
# You need this tools / programs to run backup-bitcoins.sh: | |
# * 7z (usually in the package 7zip) | |
# * uuidgen (usually already installed) | |
# | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# |
This file contains 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
/* | |
* Tidy up the youtube homepage, i.e. remove the right sidebar and the "most popular" videos. | |
*/ | |
#homepage-side-content, #feed_top_videos, #feed_top_videos-content, .top-videos-module { | |
display: none !important; | |
} |
This file contains 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 | |
# jpegincector.sh - Easily inject files into jpeg files (using the comment tag in the EXIF data) | |
# You need this tools / programs to run jpeginjector.sh: | |
# * uuencode/uudecode (usually found in the sharutils package) | |
# * exiftool (usually found in the perl-Image-ExifTool package) | |
# * uuidgen (usually already installed) | |
# | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 |
This file contains 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/env python | |
# -*- coding: utf-8 -*- | |
# gmail2opera.py | |
# Copyright (c) 2010 Kevin Chabowski | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains 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/env python3 | |
#-*- coding: utf-8 -*- | |
# Very simple tetris implementation | |
# | |
# Control keys: | |
# Down - Drop stone faster | |
# Left/Right - Move stone | |
# Up - Rotate Stone clockwise | |
# Escape - Quit game |
NewerOlder