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 | |
set -e | |
set -u | |
SKIP_GAMES="cyberpunk chernobylite" | |
if grep -qs '/tank' /proc/mounts; then | |
echo 'Download gog games to /tank/games/gog/' |
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
// | |
// BackgroundTask.h | |
// tomtrack | |
// | |
// Created by Liam Edwards-Playne on 13/02/2016. | |
// | |
#import "RCTBridgeModule.h" | |
@interface BackgroundTask : NSObject <RCTBridgeModule> |
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
// install ffmpeg with all flags | |
brew info ffmpeg | grep '^\-\-with-' | xargs brew install ffmpeg | |
// delete all local merged branches | |
git branch --merged | grep -v develop | grep -v master | xargs git branch -d -- | |
// install software via cask | |
brew cask install google-chrome firefox jdownloader webstorm phpstorm rubymine clion skype spotify 1password sourcetree hipchat |
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/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
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
// use 'npm install --save-dev gulp browserify babel babelify babel-preset-react babel-preset-es2015 gulp-util vinyl-buffer vinyl-source-stream gulp-uglify gulp-sourcemaps' | |
var gulp = require('gulp'); | |
var browserify = require('browserify'); | |
var babelify = require('babelify'); | |
var util = require('gulp-util'); | |
var buffer = require('vinyl-buffer'); | |
var source = require('vinyl-source-stream'); | |
var uglify = require('gulp-uglify'); | |
var sourcemaps = require('gulp-sourcemaps'); |
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
/*/*****************************************************************************************/ | |
{ | |
"name": "cof", | |
"version": "0.0.0", | |
"description": "", | |
"main": "main.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", |
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 <iostream> | |
#include <bitset> | |
#include <vector> | |
#include <map> | |
#include <algorithm> | |
#include <memory> | |
template<typename Creator, typename Destructor, typename... Arguments> | |
auto make_resource(Creator c, Destructor d, Arguments&&... args){ | |
auto r = c(std::forward<Arguments>(args)...); |
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
<html> | |
<body> | |
<canvas id='canvas' width='300' height='300'></canvas> | |
<script type="text/javascript"> | |
window.requestAnimFrame = (function(){ | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
function( callback ){ |
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
class Foo { | |
public: | |
Foo() | |
{ | |
// wird weg optimiert oO | |
std::cout << "construct\n"; | |
} | |
~Foo() | |
{ |
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
Olaf's turn. | |
Behemoth used 'Sketch'. Dealing 20.0 critical damage. Gigas has 921.88855 left. | |
Ignaz's turn. | |
Gigas used 'Shadow Ball'. Dealing 80.0 critical damage. Behemoth has 438.0927 left. | |
Olaf's turn. | |
Behemoth used 'Extremespeed'. Dealing 80.0 damage. Gigas has 841.88855 left. | |
Ignaz's turn. |
NewerOlder