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 | |
#Crawl www.samair.ru/proxy/proxy-$pagenum.htm for proxy list | |
echo -e -n "Crawling www.samair.ru for proxy list \nDoing Page: " | |
rm proxylist.txt &> /dev/null | |
for pagenum in {1..99} | |
do | |
echo -n "$pagenum " |
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
/cache/ |
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 speedtest agnostic(ish) install script | |
# | |
# @version 0.1.0 | |
# @license DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# | |
# uncomment this for debugging | |
# set -x | |
# Set environment |
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 "$(tail -1000 /tmp/cron.log)" > /tmp/cron.log | |
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 | |
function os_arch () | |
{ | |
echo $($(command -v file) /bin/bash | grep -o -m 1 '32\|64' | head -1); | |
} |
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 | |
$url = 'https://api.prowlapp.com/publicapi/add'; | |
$fields = array( | |
'apikey' => 'API_KEY', | |
'application' => 'APP', | |
'event' => "jobs done", | |
'description' => "TeXT", | |
// https://www.prowlapp.com/api.php | |
// meh |
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
<!-- Async Tracking Code - http://code.google.com/intl/en-US/apis/analytics/docs/tracking/asyncTracking.html --> | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'YOUR ANALYTICS ID GOES HERE']); | |
_gaq.push(['_trackPageview']); | |
//******************* | |
// Trick #1: Track page load time in Google Analytics | |
// (note: only works for HTML5 browsers) | |
//******************* |
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 | |
add_action('admin_menu', 'addMetaBox'); | |
add_action('save_post', 'saveMetaData', 10, 2); | |
add_action('admin_head', 'embedUploaderCode'); | |
//Define the metabox attributes. | |
$metaBox = array( | |
'id' => 'my-meta-box', | |
'title' => 'My Meta Box', | |
'page' => 'page', |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use \App\Friend; | |
use \App\Presence; | |
use \DB; | |
use \Carbon; |
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
### Keybase proof | |
I hereby claim: | |
* I am necenzurat on github. | |
* I am nece (https://keybase.io/nece) on keybase. | |
* I have a public key whose fingerprint is 6FFD 4432 2020 D4E4 14DF BD9E 6E0C 7AD6 5971 F4D0 | |
To claim this, I am signing this object: |
NewerOlder