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
#define WENN if | |
#define ANDERERSEITS else | |
#define GEBEZURUECK return | |
#define MELDE throw | |
#define OK true | |
#define NICHT ! | |
#define IST == | |
#define WAHRHEITSWERT bool | |
#define WIRD = | |
#define DATENBUENDEL struct |
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
#pragma once | |
template<typename T> | |
T square(T val) { | |
return val * val; | |
} |
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
#define Schleife(...) if(__VA_ARGS__){ | |
#define If loop | |
#define EndIfSchleife goto loop;} |
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 <vector> | |
#include <iostream> | |
#define auto | |
#define array(x...) std::vector{x} | |
#define as , | |
#define rev(a, v) auto v : a | |
#define foreach(x) for (rev(x)) | |
#define echo std::cout << |
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
find . -type f -iname '*.Gbx' -print0 | | |
while IFS= read -r -d $'\0' file; do | |
title=$(grep -aPo 'title="(.*?)"' "$file" | sed -r 's/.*?="(.*)"/\1/g') | |
titledir="repack/$title" | |
if [ ! -d $titledir ]; then | |
mkdir -vp $titledir | |
fi | |
filename=$(basename "$file") | |
cp -v "$file" "$titledir/$filename" | |
done |
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 | |
# (C) 2017 by Sebastian 'bueddl' Büttner <[email protected]> | |
# | |
# MP4 & NADEO rocks! | |
# --------------------------------------------------------------------- | |
# !!!! ATTENTION !!!! | |
# You are supposed to change at least the next 2 variables. |
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 <iostream> | |
#include <cstdint> | |
#include <cstdio> | |
#include <cassert> | |
// (C) 2017 by Sebastian 'bueddl' Büttner | |
void checkCodepoint(wchar_t codepoint) | |
{ | |
// Primary requirement for validity of XML |
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 <tinyxml.h> | |
int main() | |
{ | |
TiXmlDocument doc("../toffe.xml"); | |
if(!doc.LoadFile()) | |
{ | |
std::cout << "Could not load XML File." << std::endl; | |
return 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
#!/bin/bash | |
# (C) 2017 by Sebastian 'bueddl' Büttner <[email protected]> | |
# | |
# MP4 & NADEO rocks! | |
# --------------------------------------------------------------------- | |
# !!!! ATTENTION !!!! | |
# You are supposed to change at least the next 2 variables. |
NewerOlder