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
adb pull /sdcard/Download ~/Downloads |
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
https://wiki.archlinux.de/title/Arch_Linux_auf_einem_Root-Server | |
mount -t tmpfs shm "${working_dir}/dev/shm" | |
pacman-key --init | |
entropy generieren ! |
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 | |
START=$(date +%s) | |
HOST="???" | |
HOST_USER="???" | |
MYSQL_USER="???" | |
MYSQL_PASSWORD="???" | |
MAIL_FROM="???@???" | |
MAIL_TO="???@???.???" | |
MAIL_EXTRA="-c luca.bela.palkovics@gmail.com" |
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
/* | |
Too crazy to be true.. | |
Luca Béla Palkovics 2014 | |
*/ | |
\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0063\u006c\u0061\u0073\u0073\u0020\u0048\u0065\u006c\u006c\u006f\u0057\u006f\u0072\u006c\u0064\u0020\u007b\u000a\u000a\u0020\u0020\u0020\u0020\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0073\u0074\u0061\u0074\u0069\u0063\u0020\u0076\u006f\u0069\u0064\u0020\u006d\u0061\u0069\u006e\u0028\u0053\u0074\u0072\u0069\u006e\u0067\u005b\u005d\u0020\u0061\u0072\u0067\u0073\u0029\u0020\u007b\u000a\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0053\u0079\u0073\u0074\u0065\u006d\u002e\u006f\u0075\u0074\u002e\u0070\u0072\u0069\u006e\u0074\u006c\u006e\u0028\u0022\u0048\u0065\u006c\u006c\u006f\u002c\u0020\u0057\u006f\u0072\u006c\u0064\u0022\u0029\u003b\u000a\u0020\u0020\u0020\u0020\u007d\u000a\u000a\u007d\u000a |
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
#ifndef CDYNAMICSTRUCT | |
#define CDYNAMICSTRUCT | |
#pragma GCC push_options | |
#pragma GCC optimize (3) | |
#include <iostream> | |
#include <type_traits> | |
#include <string> | |
#include <vector> |
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
/** | |
* Delayed add,sub,mul,div of a Matrix | |
* mul,div is by element. Not a real Matrix mul,div ! | |
* | |
* Just shows the idea of delaying calculations.. | |
*/ | |
//Should never be used outside, is a helper class | |
class MatAccess { | |
public: |
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
//Luca Béla Palkovics 27.01.2014 - Luca.Bela.Palkovics@gmail.com | |
/* | |
Renders gears in Canvas | |
Copy & Past into http://htmlivecode.com/canvas-animation-playground/ | |
*/ | |
function gear(ctx, settings) { | |
var acc = 10; | |
if (typeof settings.cache === "undefined") { | |
settings.cache = {}; |
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
Stack<Character> stack = new Stack<>(); | |
int last_split = 0; | |
boolean ignore_next = false; | |
for(int i = 0; i < full_cmd.length(); ++i) { | |
if (ignore_next){ | |
ignore_next = false; | |
continue; | |
} | |
char c = full_cmd.charAt(i); | |
if (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
i686-w64-mingw32-cmake .. | |
make | |
#zip everything | |
mkdir gtox-win32 | |
#Copy everything we need | |
cp -rT /usr/i686-w64-mingw32 ./gtox-win32 | |
cp -r ./share ./gtox-win32/ | |
cp gtox.exe ./gtox-win32/bin/gtox.exe |
OlderNewer