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 | |
# A Temporary Location to work with files , DO NOT END THE DIRECTORY WITH BACKSLASH ! | |
TMP_DIR=/var/www/backups/tmp | |
SOURCE_DIR=/var/www/561media.com/prod | |
TARGET_DIR=/var/www/backups | |
# Hostname | |
HOST="561media.com" | |
MAIL="[email protected]" |
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
{ "keys": ["ctrl+1"], "command": "insert_snippet", "args": {"contents": "/**\n* \n* coded by:\n* ▄▄▄ █ █░▓█████ ██████ ▒█████ ███▄ ▄███▓▓█████ ██ ▄█▀ ▒█████ \n*▒████▄ ▓█░ █ ░█░▓█ ▀ ▒██ ▒ ▒██▒ ██▒▓██▒▀█▀ ██▒▓█ ▀ ██▄█▒ ▒██▒ ██▒\n*▒██ ▀█▄ ▒█░ █ ░█ ▒███ ░ ▓██▄ ▒██░ ██▒▓██ ▓██░▒███ ▓███▄░ ▒██░ ██▒\n*░██▄▄▄▄██ ░█░ █ ░█ ▒▓█ ▄ ▒ ██▒▒██ ██░▒██ ▒██ ▒▓█ ▄ ▓██ █▄ ▒██ ██░\n* ▓█ ▓██▒░░██▒██▓ ░▒████▒▒██████▒▒░ ████▓▒░▒██▒ ░██▒░▒████▒▒██▒ █▄░ ████▓▒░\n* ▒▒ ▓▒█░░ ▓░▒ ▒ ░░ ▒░ ░▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒░ ░ ░░░ ▒░ ░▒ ▒▒ ▓▒░ ▒░▒░▒░ \n**/ \n\n"}}, |
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
/** | |
* This javascript function will sort an object of objects by converting it to an array, ordering it, and pushing it back into an object | |
* usage: mySortedObject = customObjectSort(object,"objectKey"); | |
*/ | |
function customObjectSort(data, attr) { | |
var arr = []; | |
for (var prop in data) { | |
if (data.hasOwnProperty(prop)) { |
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 | |
:ADMIN | |
openfiles >nul 2>nul ||( | |
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | |
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" | |
"%temp%\getadmin.vbs" >nul 2>&1 | |
goto:eof | |
) | |
del /f /q "%temp%\getadmin.vbs" >nul 2>nul |
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 | |
:ADMIN | |
openfiles >nul 2>nul ||( | |
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | |
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" | |
"%temp%\getadmin.vbs" >nul 2>&1 | |
goto:eof | |
) | |
del /f /q "%temp%\getadmin.vbs" >nul 2>nul |
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
delete everything here but the default setting | |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod | |
Only leaving the default. |
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
' coded by: | |
' ▄▄▄ █ █░▓█████ ██████ ▒█████ ███▄ ▄███▓▓█████ ██ ▄█▀ ▒█████ | |
'▒████▄ ▓█░ █ ░█░▓█ ▀ ▒██ ▒ ▒██▒ ██▒▓██▒▀█▀ ██▒▓█ ▀ ██▄█▒ ▒██▒ ██▒ | |
'▒██ ▀█▄ ▒█░ █ ░█ ▒███ ░ ▓██▄ ▒██░ ██▒▓██ ▓██░▒███ ▓███▄░ ▒██░ ██▒ | |
'░██▄▄▄▄██ ░█░ █ ░█ ▒▓█ ▄ ▒ ██▒▒██ ██░▒██ ▒██ ▒▓█ ▄ ▓██ █▄ ▒██ ██░ | |
' ▓█ ▓██▒░░██▒██▓ ░▒████▒▒██████▒▒░ ████▓▒░▒██▒ ░██▒░▒████▒▒██▒ █▄░ ████▓▒░ | |
' ▒▒ ▓▒█░░ ▓░▒ ▒ ░░ ▒░ ░▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒░ ░ ░░░ ▒░ ░▒ ▒▒ ▓▒░ ▒░▒░▒░ | |
' ▒ ▒▒ ░ ▒ ░ ░ ░ ░ ░░ ░▒ ░ ░ ░ ▒ ▒░ ░ ░ ░ ░ ░ ░░ ░▒ ▒░ ░ ▒ ▒░ | |
' ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ▒ | |
' ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ░ |
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 | |
/** | |
* | |
* coded by: | |
* ▄▄▄ █ █░▓█████ ██████ ▒█████ ███▄ ▄███▓▓█████ ██ ▄█▀ ▒█████ | |
*▒████▄ ▓█░ █ ░█░▓█ ▀ ▒██ ▒ ▒██▒ ██▒▓██▒▀█▀ ██▒▓█ ▀ ██▄█▒ ▒██▒ ██▒ | |
*▒██ ▀█▄ ▒█░ █ ░█ ▒███ ░ ▓██▄ ▒██░ ██▒▓██ ▓██░▒███ ▓███▄░ ▒██░ ██▒ | |
*░██▄▄▄▄██ ░█░ █ ░█ ▒▓█ ▄ ▒ ██▒▒██ ██░▒██ ▒██ ▒▓█ ▄ ▓██ █▄ ▒██ ██░ | |
* ▓█ ▓██▒░░██▒██▓ ░▒████▒▒██████▒▒░ ████▓▒░▒██▒ ░██▒░▒████▒▒██▒ █▄░ ████▓▒░ | |
* ▒▒ ▓▒█░░ ▓░▒ ▒ ░░ ▒░ ░▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒░ ░ ░░░ ▒░ ░▒ ▒▒ ▓▒░ ▒░▒░▒░ |
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
<%@ Language=VBScript %> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
<% | |
' ***** Which Folder to Share? | |
' ********** ********** ********** | |
sDirectory = "/foldertoshare/" | |
' ********** ********** ********** | |
AllowExt = "all" |
OlderNewer