Skip to content

Instantly share code, notes, and snippets.

View tobiasschulz's full-sized avatar
🌴
On vacation

Tobias Schulz tobiasschulz

🌴
On vacation
View GitHub Profile
for i in {0..87}; do echo -e "- \033[38;5;${i}m\\[\\33[38;5;${i}m\\]\033[0m -"; done;
# Prints the code needed for PS1 in the corresponding color.
@tobiasschulz
tobiasschulz / gist:8098085
Last active January 1, 2016 05:19
Boxstarter Script
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinstm git-credential-winstore
cinstm console-devel
cinstm poshgit
cinstm dotpeek
cinstm dropbox
cinstm GoogleChrome
cinstm skype
@tobiasschulz
tobiasschulz / gist:8125019
Last active January 1, 2016 09:29
Boxstarter 2
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinstm git-credential-winstore
cinstm console-devel
cinstm dropbox
cinstm GoogleChrome
cinstm skype
cinstm geany
cinstm vlc
cinstm notepadplusplus

Keybase proof

I hereby claim:

  • I am tobiasschulz on github.
  • I am tobiasschulz (https://keybase.io/tobiasschulz) on keybase.
  • I have a public key whose fingerprint is D7E8 7DD8 5F7E C7BE 5062 E634 DB42 D9D3 2052 97BB

To claim this, I am signing this object:

@tobiasschulz
tobiasschulz / Git Windows Optimizations.sh
Created March 20, 2015 06:33
Git Windows Optimizations
git config --global core.preloadindex true
git config --global core.fscache true
git config --global gc.auto 256
@tobiasschulz
tobiasschulz / .gitignore
Created March 22, 2015 11:54
C# .gitignore
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Oo]bj/
# roslyn (https://stackoverflow.com/questions/28144621/visual-studio-2015-should-i-commit-project-sln-ide-files-into-git)
**.ide/
# btsync
.sync
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase
DISM /Online /Cleanup-Image /SPSuperseded
Schtasks.exe /Run /TN "\Microsoft\Windows\Servicing\StartComponentCleanup"
using System;
using Mono.Cecil;
using System.Linq;
using Mono.Cecil.Cil;
using System.IO;
namespace XamarinPatch
{
class MainClass
{
<!DOCTYPE html>
<html><head>
</head><body><noscript><meta http-equiv="refresh" content="1; URl='/in/?_BC=10110894084799864323964928,0'"></noscript><span style="color:#888;">&#8987;</span><iframe id="iframe" style="display: none;" sandbox="allow-same-origin"></iframe><script>
function go(flash, w, h, time, frame, ips) {
window.location = '/in/?_BC=10110894084799864323964928,' + time + "," + frame + "," + w + "," + h + "," + flash + "," + ips;
}
function flash() {
if (navigator.plugins && navigator.plugins.length) {
var type = 'application/x-shockwave-flash';
var mimeTypes = navigator.mimeTypes;
[monodroid] Using override path: /data/user/0/de.digitalkraft.dfd_posdb.app2/files/.__override__
[monodroid] Trying to load sgen from: /data/user/0/de.digitalkraft.dfd_posdb.app2/files/.__override__/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /storage/emulated/0/Android/data/de.digitalkraft.dfd_posdb.app2/files/.__override__/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /data/app/de.digitalkraft.dfd_posdb.app2-1/lib/arm/libmonosgen-2.0.so
[monodroid-gc] GREF GC Threshold: 46080
[DisplayManager] Could not get display information from display manager.
[DisplayManager] android.os.DeadObjectException
[DisplayManager] at android.os.BinderProxy.transactNative(Native Method)
[DisplayManager] at android.os.BinderProxy.transact(Binder.java:503)
[DisplayManager] at android.hardware.display.IDisplayManager$Stub$Proxy.getDisplayInfo(IDisplayManager.java:254)