[server_name]
- server name[image_name]
- os image name[image_md5]
- os image md5sum[image_sha256]
- os image sha256sum[image_download]
- os image download link[image_size]
- os image size[kernel_version]
- kernel version number (uname -r
)[kernel_oob_config]
- is kernel out-of-box (true/false)[kernel_config_name]
- custom kernel config name
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 | |
# \(.\) matches one character, which will be available by \1 | |
# \(.*\) matches one or more characters, which will be available by \1 | |
# & places whole input, without changes | |
ls Lolishit* | sed 's/ /\\ /g' | sed 's/\(.*\)-.*$/mv & \1.flac/' | sh |
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 <netdb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#define PORT 6667 | |
#ifndef DEBUG | |
#define FREENODE "107.182.226.199" // chat.freenode.org | |
#else |
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 | |
# Simple wifi data logger | |
# d3s | |
pingSite='onet.pl' | |
wifiName=$(nmcli connection show | head -2 | tail -1 | sed 's/ .*//g') | |
echo $wifiName | |
wifiIp=$(curl -s https://ipinfo.io/ip) | |
echo $wifiIp |
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 | |
# Variables (aka config) | |
# Script executed after making backup of /var/log (none for no script to execute) | |
passScript="" | |
# Remove syslog, auth.log, kern.log, after backup? ("true"/"false") | |
removeAfterVarlog="true" | |
# Remove backup tar from /tmp. Good when uploading with passScript ("true"/"false") | |
removeAfterTar="false" |
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
" LOLCODE syntax | |
" d3s | |
syn keyword lolFunc HAI | |
syn keyword lolFunc CAN HAS | |
syn keyword lolFunc VISIBLE | |
syn keyword lolFunc KTHXBYE | |
syn keyword lolFunc PLZ OPEN | |
syn keyword lolFunc AWSUM THX | |
syn keyword lolFunc O NOES |
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
set nocompatible | |
set nu | |
set smartindent | |
nnoremap <F10> :tabp<CR> | |
nnoremap <F11> :tabn<CR> | |
nnoremap <c-o> :tabe<space> | |
nnoremap <F12> :close<CR> | |
nnoremap <C-F12> :close!<CR> | |
nnoremap <S-F12> :vnew<CR> |
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 <stdlib.h> | |
#include <stdio.h> | |
#define BITMAP_SIZE 16 | |
struct __attribute__((__packed__)) bmpHeader { | |
short BM; //const "BM" | |
unsigned int fileSize; // oblicz se xD | |
unsigned int reserved; // byle co, nawet papiesz | |
unsigned int bitmapOffset; |
NewerOlder