View IP Service for Cloudflare Worker.js
addEventListener('fetch', event => { | |
event.respondWith(fetchAndApply(event.request)) | |
}) | |
async function fetchAndApply(request) { | |
if(request.url === 'https://api.tloxygen.com/ip' || request.url === 'http://api.tloxygen.com/ip') { | |
const ip = request.headers.get('cf-connecting-ip') | |
return new Response(ip) | |
} else if (request.url === 'https://api.tloxygen.com/country' || request.url === 'http://api.tloxygen.com/country') { | |
const ip = request.headers.get('cf-ipcountry') |
View Analyticus
// Google Analytic | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-54138102-1', 'auto'); | |
ga('send', 'pageview'); | |
// Disqus Comment | |
var disqus_shortname = "riespandi"; |
View dropbox
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: dropbox | |
# Required-Start: $local_fs $remote_fs $network $syslog $named | |
# Required-Stop: $local_fs $remote_fs $network $syslog $named | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: false | |
# Short-Description: dropbox service | |
### END INIT INFO |
View Fuckgfw.conf
[General] | |
loglevel = notify | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24 | |
[Proxy] | |
// ADD YOUR PROXY HERE, DON'T FORGET TO REMOVE # | |
# Proxy = http,$IP,$PORT,$USERNAME,$PASSWORD | |
# Proxy = https,$IP,$PORT,$USERNAME,$PASSWORD |