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
jmp execution | |
boot_string: | |
db 'String Hype',0 ; Null termination Hype | |
;;Requires BX to have the start address of our String , e.g. boot_string | |
print_string: | |
mov ah,0x0e | |
add bx,0x7c00;;//OFfset for getting the true memory adress | |
ps_l: | |
mov al,[bx] | |
cmp al,0 |
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
bit_to_a_0: | |
bta_0: | |
cmp ch,9 | |
jg bta_1 | |
add ch,'0' | |
jmp bta_fin | |
bta_1: | |
sub ch,10 | |
add ch,'a' | |
bta_fin: |
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 | |
# usage: generate_ca.sh rootca | |
# requires rootca.key | |
# Generates rootca.pem | |
if [ -z "$1" ]; then | |
echo "please specify key filename"; | |
exit 1 | |
fi | |
openssl req -x509 -new -nodes -key $1.key -days 1024 -out $1.pem |
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
sudo mkdir -p /srv/sambafreigabe | |
sudo mkdir -p /srv/musik | |
sudo mkdir -p /srv/bilder | |
sudo mkdir -p /srv/videos |
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
#include <stdio.h> | |
#include <stdlib.h> | |
void gleichung_c(int z_k); | |
void gleichung_d(int z_k); | |
int till; | |
int main(int argc,const char** argv[]){ | |
if(argc<2){ | |
printf("%s [number of steps], [body of numer]{, [body of numer]...}\n",argv[0]); |
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
norbert@raspberrypi:~ $ ./temp.py | |
Temperature(h): 22.962310791 C | |
Temperature(p): 0 C | |
Temperature(c): 30.4 C | |
Temperature: -7.43768920898 | |
norbert@raspberrypi:~ $ ./temp.py | |
Temperature(h): 22.9989624023 C | |
Temperature(p): 22.9895839691 C | |
Temperature(c): 29.9 C | |
Temperature: 16.0885463715 |
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
Das Geschwister- und Liebespaar Jaime (Nikolaj Coster-Waldau) und Cersei (Lena Headey) Lannister versuchen derweil ihre Situation zu verbessern. - Das gefeierte, preisgekrönte Fantasyserien-Event über blutige Machtkämpfe der Königshäuser auf dem Kontinent Westeros. |
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
norbert@marvin:~$ lsblk | |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | |
sda 8:0 0 5,5T 0 disk | |
└─sda1 8:1 0 5,5T 0 part | |
└─md0 9:0 0 21,9T 0 raid6 /media/raid | |
sdb 8:16 0 5,5T 0 disk | |
└─sdb1 8:17 0 5,5T 0 part | |
└─md0 9:0 0 21,9T 0 raid6 /media/raid | |
sdc 8:32 0 5,5T 0 disk | |
└─sdc1 8:33 0 5,5T 0 part |
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 | |
####PROGS | |
FIND=$(which find) | |
SORT=$(which sort) | |
TAIL=$(which tail) | |
GREP=$(which grep) | |
####ARGS | |
N_ONE="-n1" | |
N_FIVE="-n5" | |
TS_LOCATION="/var/lib/lxc/phunderbird1/rootfs/opt/teamspeak3-server_linux-amd64/logs/" |
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
Huhu gone | |
h1 ex | |
h2 ex |