Skip to content

Instantly share code, notes, and snippets.

Time is the most valuable what each one of us has.

Manuel T. Schrempf ManuelTS

Time is the most valuable what each one of us has.
  • Nußdorf am Haunsberg, Salzburg, Österreich
Block or report user

Report or block ManuelTS

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ManuelTS /
Last active Apr 13, 2019
This script installs PhantomJS on your Debian/Ubuntu System
#!/usr/bin/env bash
# This script installs PhantomJS on your Debian/Ubuntu System
# Taken from and changed the download directory
# This script must be run as root:
# sudo sh
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
ManuelTS /
Created Sep 28, 2017
Installs CasperJS in your Debian/Ubuntu System.
#!/usr/bin/env bash
# Installs CasperJS in your Debian/Ubuntu System. Idea taken from
# After you installed PhantomJS with
# run this script as root with:
# sudo sh
cd /usr/local/share/
ManuelTS /
Last active Jan 16, 2018
Uninstalls the Unity Editor on Ubuntu
#!/usr/bin/env bash
# Uninstalls the Unity Editor on Ubuntu.
# Tested for Unity 2017.30f1 downloaded from
# and Ubuntu 17.10, but it should work with other version too.
# Unity is expected to be installed in your home folder, otherwise
# change the first remove command to your installation path.
# Execute this program as root, e.g. "sudo sh"
ManuelTS / SaveLoadWav.cs
Created Feb 5, 2018
Saves and loads in Unity .wav files in the Application.persistentDataPath
View SaveLoadWav.cs
/* Copyright (c) 2018 Manuel T. Schrempf
This software is provided 'as-is', without any express or implied warranty. In
no event will the authors be held liable for any damages arising from the use
of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
ManuelTS / Atom.xml
Last active Sep 17, 2019
Is a keymap file for Android Studio (IntelliJ) 3.5 and later to have common source code edit Atom 1.27 shortcuts. This will be updated until the 01.10.2019. The normal Android Studio keymap file location is at the end of this link:
View Atom.xml
<keymap version="1" name="Atom" parent="Default for XWin">
<action id="Arrangement.Alias.Rule.Edit" />
<action id="Arrangement.Rule.Edit" />
<action id="CIDR.Lang.Cpp.GenerateDefinitions" />
<action id="ChangesView.Rename">
<keyboard-shortcut first-keystroke="shift f6" />
<action id="CheckinProject" />
<action id="ChooseRunConfiguration" />
<action id="CloseAllEditorsButActive">
ManuelTS / FixPNGAndroidIssue.txt
Created Jun 30, 2018
The Android emulator can show this error "iCCP: Not recognizing known sRGB profile" multiple times. This command is a fix for all PNG files in your project structure. Inspired from
View FixPNGAndroidIssue.txt
To resolve the errors for all PNG files from your project navigate in your top project folder and execute:
find . -name "*.png" -exec pngcrush -ow -rem allb -reduce {} +
If you want to know what all commands with their arguments do use the corresponding man pages.
You can’t perform that action at this time.