Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
######################################################################
#
# Copyright (c) 2015 arakasi72 (https://via.hypothes.is/https://github.com/arakasi72)
#
# --> Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
#
######################################################################
@autos
autos / speedtest.php
Created September 9, 2018 19:12
speedtest list and ips
This file has been truncated, but you can view the full file.
<settings>
<servers>
<server url="http://88.84.191.230/speedtest/upload.php" lat="70.0733" lon="29.7497" name="Vadso" country="Norway" cc="NO" sponsor="Varanger KraftUtvikling AS" id="4600" url2="http://speedmonster.varangerbynett.no/speedtest/upload.php" host="88.84.191.230:8080"/>
<server url="http://speedtest.nornett.net/speedtest/upload.php" lat="69.9403" lon="23.3106" name="Alta" country="Norway" cc="NO" sponsor="Nornett AS" id="4961" url2="http://speedtest2.nornett.net/speedtest/upload.php" host="speedtest.nornett.net:8080"/>
<server url="http://speedo.eltele.no/speedtest/upload.php" lat="69.9403" lon="23.3106" name="Alta" country="Norway" cc="NO" sponsor="Eltele AS" id="3433" host="speedo.eltele.no:8080"/>
<server url="http://tos.speedtest.as2116.net/speedtest/upload.php" lat="69.6492" lon="18.9553" name="Tromsø" country="Norway" cc="NO" sponsor="Broadnet" id="11786" host="tos.speedtest.as2116.net:8080"/>
<server url="http://murmansk.speedtest.rt.ru/speedtest/upload.php" lat="68.9543" lon="33.1076" nam
@autos
autos / Twitter_Autotweet.txt
Created December 25, 2015 14:11
Twitter API rate limits retweets to 15 tweets/ 15 min. So you have to start the program after every 15 mins. Tech people can setup a cron job and forget about it
Functions:
Follow <x> users that tweet with the phrase <Y>.
Favourite <x> tweets that contain the phrase <Y>.
Retweet <x> tweets that contain the phrase <Y>.
http://pastebin.com/aby8VpDu is the source code of the program
http://pastebin.com/k2uyEQR8 is the config file (need to be in the same folder)
http://tempsend.com/3088D29F8D is a packaged exe for Windows
@autos
autos / keybase.md
Created September 10, 2015 14:52
keybase.md

Keybase proof

I hereby claim:

  • I am autos on github.
  • I am autos (https://keybase.io/autos) on keybase.
  • I have a public key whose fingerprint is 0C79 DB9A 48A2 7F13 12FF 2E91 D426 185D 9AD3 7F6B

To claim this, I am signing this object:

@autos
autos / images.weserv.nl
Last active August 29, 2015 14:23
images.weserv.nl
<html>
<head>
<title>input</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
function myFunction() {
var input = document.getElementById('input').value;
var output="";
@autos
autos / Instagram direct viewer
Last active March 30, 2022 15:17
Instagram direct viewer
<html>
<head>
<title>input</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
function myFunction() {
var str1 = document.getElementById('str1').value;
var res1 = str1.split("/p/")[1].split("/")[0];
@autos
autos / Imgur to filmot
Last active August 29, 2015 14:17
Imgur to filmot
// ==UserScript==
// @name imgur to mirror
// @version 0.2
// @description Replaces all imgur links and pictures with mirror links
// @include *://*/*
// @namespace https://greasyfork.org/users/710
// ==/UserScript==
var a = document.getElementsByTagName('a');
for (i=0;i<a.length;i++) {
@autos
autos / benchmark
Created March 21, 2015 13:22
benchmark
root@domain:~$ wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
CPU model : Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
Number of cores : 1
CPU frequency : 2399.998 MHz
Total amount of ram : 490 MB
Total amount of swap : 0 MB
System uptime : 17 min,
Download speed from CacheFly: 39.6MB/s
Download speed from Coloat, Atlanta GA: 16.6MB/s
Download speed from Softlayer, Dallas, TX: 17.3MB/s
@autos
autos / Imgur at work
Created March 11, 2015 10:43
Imgur at work
<html>
<head>
<title>input</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
function myFunction() {
var str1 = document.getElementById('str1').value;
var res = str1.replace("imgur.com", "filmot.org");
@autos
autos / willie -h
Last active August 29, 2015 14:16
willie -h
user@domain:~$ willie -h
usage: willie [options]
Willie IRC Bot
optional arguments:
-h, --help show this help message and exit
-c filename, --config filename
use a specific configuration file
-d, --fork Deamonize willie