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 | |
scpsl=. | |
for dir in $scpsl/servers/* | |
do | |
if [ ! -d $dir ] | |
then | |
continue | |
fi |
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 | |
scpsl=. | |
if [ -n "$1" ] | |
then | |
server=$1 | |
else | |
server="*" | |
fi |
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 | |
# Copyright (c) 2018, Nicholas Solin | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright | |
# notice, this list of conditions and the following disclaimer in the |
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
<?php | |
$prefix = 'D:\\Users\\Nicholas\\AppData\\Roaming\\TS3Client\\chats\\M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ=='; | |
$years = array('2010', '2011', '2012', '2013', '2014', '2015', '2016', '2017'); | |
$months = array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'); | |
$filename = 'channel_'; | |
$extension = '.txt'; | |
$games = array(); |
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
<?php | |
$directories = array('M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ==_2012-03-18', 'M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ==_2012-11-05/M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ==', 'M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ==_2013-11-10/M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ==', 'M1dQMnhKRVE3RHBjd3luMTdCcG8xOVBpMUZ3PQ=='); | |
$filenames = array('channel', 'server'); | |
$extensions = array('.html', '.txt'); | |
foreach ($directories as $directory) { | |
foreach ($filenames as $filename) { | |
foreach ($extensions as $extension) { | |
$sourceFile = fopen($directory . '/' . $filename . $extension, 'r'); |
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
@echo off | |
setlocal enabledelayedexpansion | |
set Folders=Test1,Test2 | |
set Documents=D:\Users\Nicholas\OneDrive\Documents | |
set SavedGames=D:\Users\Nicholas\Saved Games | |
call :parse "%Folders%" | |
goto :eos |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.wps] | |
@="Works.Office.wps" | |
[HKEY_CLASSES_ROOT\.xlr] | |
@="Works.Office.xlr" | |
[HKEY_CLASSES_ROOT\Works.Office.wps] | |
@="Microsoft Works Document" |
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
Windows Registry Editor Version 5.00 | |
; <<< acffile | |
[HKEY_CLASSES_ROOT\.acf] | |
@="acffile" | |
"Content Type"="text/plain" | |
"PerceivedType"="text" | |
[HKEY_CLASSES_ROOT\acffile] | |
@="App Cache File" |
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 | |
plugins=( Core Inventories Portals NetherPortals SignPortals ) | |
maximum_errors=20 | |
for p in ${plugins[@]}; do | |
echo "Processing Multiverse-$p" | |
version=0 | |
if [ -e Multiverse-$p-2.5-#*.txt ]; then |
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
chcp 65001 | |
move "%USERPROFILE%\AppData\Local剜捯獫慴慇敭屳呇⁁屖湥楴汴浥湥湩潦" "%USERPROFILE%\AppData\Local\Rockstar Games\GTA V\entitlement.info" | |
mklink "%USERPROFILE%\AppData\Local剜捯獫慴慇敭屳呇⁁屖湥楴汴浥湥湩潦" "%USERPROFILE%\AppData\Local\Rockstar Games\GTA V\entitlement.info" | |
attrib +h +s "%USERPROFILE%\AppData\Local剜捯獫慴慇敭屳呇⁁屖湥楴汴浥湥湩潦" /l |