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
/* | |
* Copyright (C) 2015 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 | |
# Created by daggoth | |
# http://crunchbang.org/forums/viewtopic.php?pid=295676#p296114 | |
xresrc="$HOME/.Xresources" | |
normal="$(tput sgr0)" | |
bold="$(tput bold)" | |
C=( $( grep -i urxvt[.*]color[0-9]* <"$xresrc" | | |
cut -d: -f2 | |
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
[Unit] | |
Description=Teamspeak | |
[Service] | |
User=teamspeak | |
Type=oneshot | |
ExecStart=/home/teamspeak/teamspeak/ts3server_startscript.sh start | |
ExecStop=/home/teamspeak/teamspeak/ts3server_startscript.sh stop | |
RemainAfterExit=yes |
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
#!/usr/bin/env python3 | |
import re | |
import itertools | |
def main(): | |
phrase = input("") | |
numknown = int(input("")) | |
known = {} |
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
0 = this spawn { | |
waitUntil {_this getVariable ['AGM_RopesDeployed', False]}; | |
sleep 2; | |
{ | |
waitUntil {count ([_this getVariable ['AGM_RopesOccupied', []], {!_this}] call AGM_Core_fnc_filter) > 0}; | |
sleep 1; | |
unassignVehicle _x; | |
[_x, _this] call AGM_FastRoping_fnc_fastRope; | |
} forEach ([crew _this, {!(isPlayer _this) and (assignedVehicleRole _this select 0 == "Cargo")}] call AGM_Core_fnc_filter); | |
}; |
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
Show hidden characters
{ | |
"cmd": ["g++", "-std=C++11", "${file}", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.c++", | |
"variants": | |
[ | |
{ | |
"name": "Run", |