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
// ==UserScript== | |
// @name Hide Follows You | |
// @namespace twitter.com | |
// @description Hide mutuals to unfollow unfollowers. | |
// @match https://twitter.com/*/following | |
// @version 2 | |
// @require http://code.jquery.com/jquery-latest.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// ==/UserScript== |
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
@ECHO OFF | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
FOR %%T IN (D:\Users\%USERNAME%\AppData\Local D:\Users\%USERNAME%\AppData\Roaming D:\Users\%USERNAME%\AppData\Roaming\Microsoft\UProof) DO ( | |
SET source=%%T | |
SET destination=!source:D:\=C:\! | |
FOR /F "delims=" %%F IN ('DIR /B "%%T"') DO ( | |
IF EXIST !source!\%%F\NUL ( | |
IF NOT EXIST "!destination!\%%F" ( | |
MKLINK /J "!destination!\%%F" "!source!\%%F" |
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
<?php | |
// Created on 2016 April 6th @ 05:03 PM | |
if (count($argv) > 1) { | |
$filename = $argv[1]; | |
} else { | |
error_log('No filename provided.'); | |
exit(); | |
} | |
$file = fopen($filename, 'r'); |
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
Unit | Gold | Lumber | Supply | Hit Points | Maximum Hit Points | Armor Type | Armor | Maximum Armor | Day Sight | Night Sight | Speed | Build Time | Attack Type | Weapon Type | Ground Attack | Maximum Ground Attack | Second Ground Attack | Maximum Second Ground Attack | Air Attack | Maximum Air Attack | Cooldown | Range | Maximum Range | Race | Animation | Portrait | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Peasant | 75 | 0 | 1 | 220 | 220 | Medium | 0 | 0 | 80 | 60 | 190 | 15 | Normal | Normal | 5.5 | 5.5 | None | None | None | None | 2 | Melee | Melee | Human | http://classic.battle.net/war3/images/human/units/animations/peasant.gif | http://classic.battle.net/war3/images/human/units/portraits/peasant.gif | |
Militia | None | None | 1 | 220 | 220 | Heavy | 4 | 0 | 140 | 80 | 270 | N/A | Normal | Normal | 12.5 | 17 | None | None | None | None | 1.2 | Melee | Melee | Human | http://classic.battle.net/war3/images/human/units/animations/militia.gif | http://classic.battle.net/war3/images/human/units/portraits/militia.gif | |
Footman | 135 | 0 | 2 | 420 | 420 | Heavy | 2 | 8 | 140 | 80 | 270 | 20 | Normal | Normal | 12.5 | 17 | None | None | None | None | 1.35 | Melee | Melee | Human | http://classic.battle.net/war3/images/human/units/animations/footman.gif | http: |
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
@ECHO OFF | |
IF [%1]==[] ( | |
ECHO Missing root source directory! Cannot continue. | |
EXIT /B | |
) | |
IF [%2]==[] ( | |
ECHO Missing destination virtual directory! Cannot continue. | |
EXIT /B |
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
@ECHO OFF | |
REM Created on 2014 April 4th at 07:38 PM. | |
SET WD=%CD% | |
IF [%1]==[] ( | |
SET EXE=ts3client_win64.exe | |
) ELSE ( | |
SET EXE=%1 | |
) |
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
@ECHO OFF | |
REM Created on 2012 January 13th at 06:32 PM. | |
REM Installation Instructions | |
REM 1. Create your Backups/Mozilla directory and move BackupMozilla.bat into Backups. | |
REM 2. Open Task Scheduler (Control Panel\All Control Panel Items\Administrative Tools). | |
REM 3. In the root of Task Scheduler Library, click Create Task. | |
REM 4. Name the task Backup followed by the Mozilla project you are backing up. | |
REM 5. Go to Triggers and create a new trigger. | |
REM 6. Set the repetition and time to how frequently you want your Mozilla product backed up. |
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/sh | |
print_array() { | |
eval ARRAY=\${$1[*]} | |
echo ${ARRAY[*]} | |
for ELEMENT in ${ARRAY[@]}; do | |
echo $ELEMENT | |
done | |
} | |
QUEUE=( one two three ) |
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
@ECHO OFF | |
SET DIRECTORY=%1 | |
SET HIDE=%2 | |
FOR /R %DIRECTORY% %%F IN (.) DO ( | |
IF EXIST %%F\%HIDE% ( | |
ATTRIB +S +H "%%F\%HIDE%" | |
) | |
) |
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
@ECHO OFF | |
SET DIRECTORY=%1 | |
REM PaxHeaders.12345 | |
SET REMOVE=%2 | |
FOR /R %DIRECTORY% %%F IN (.) DO ( | |
IF EXIST %%F\NUL ( | |
RMDIR /S /Q %%F\%REMOVE% | |
) |
NewerOlder