Create theese files and run them. You'll have "Open with Sublime Text" in the explorer's context menu.
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 | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
sudo -u www-data touch $DIR/tmp/sockets/thin.sock | |
rvmsudo -u www-data bundle exec thin start -C thin.yml --socket $DIR/tmp/sockets/thin.sock |
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
# | |
# Minecraft Server Manager Configuration File | |
# =========================================== | |
# | |
# | |
# User | |
# ---- | |
# The user which Minecraft Server Manager commands will be executed as. |
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 | |
# Minecraft Server Pinger | |
# | |
# If the server is pining successfully exits with 1, | |
# else (if server hangs) exits with 0. | |
HOST=$1 | |
PORT=$2 | |
if [[ "x$HOST" == "x" || "x$PORT" == "x" ]]; then |
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 | |
if [ ! -f "${HOME}/.config/user-dirs.dirs" ]; then | |
echo "No user-dirs.dirs found, will not proceed" | |
exit | |
fi | |
if [ ! -f "${HOME}/.config/user-dirs.locale" ]; then | |
echo "No user-dirs.locale found, forcing generation of current-locale one" | |
xdg-user-dirs-update --force |
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
#!/usr/bin/env ruby | |
allowed_libs = %w{ | |
libQtCore.so.4 | |
libQtNetwork.so.4 | |
libQtWebKit.so.4 | |
libQtGui.so.4 | |
} | |
puts "Allowed libs: " |
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
# encoding: UTF-8 | |
module LettersMixer | |
REGEXP = /[A-zА-я]{2,}/ | |
DEFAULT_MODE = :shuffle | |
module Modes | |
def self.full_shuffle(word, options = {}) | |
word.split("").shuffle(options).join | |
end |
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
# Set swipl binary | |
isEmpty(SWIPL_BINARY) { | |
SWIPL_BINARY="swipl" | |
} | |
# Load options from swipl | |
isEmpty(PLDUMP) { | |
PLDUMP = $$system(\"$$SWIPL_BINARY\" --dump-runtime-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
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ |
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 | |
MINECRAFT_USERNAME="MOZGIII" | |
MINECRAFT_SESSION="-" | |
MINECRAFT_RAM_MAX_HEAP_SIZE=4G | |
MINECRAFT_RAM_STARTING_HEAP_SIZE=1G | |
MINECRAFT_RAM_GC_MAX_PERM_SIZE=256M | |
MINECRAFT_ROOT="$APPDATA/.minecraft" | |
MINECRAFT_JAVA="C:/Program Files/Java/jre7/bin/java.exe" |
OlderNewer