tlstun is basic SOCKS over TLS.
- Docker
 - Set an 
ADNS record which points to your server's IP address, we recomment using your country domain (e.g.,ir): e.g.,tun.mydomain.ir 
- Create self-signed certificate for the domain
 
tlstun is basic SOCKS over TLS.
A DNS record which points to your server's IP address, we recomment using your country domain (e.g., ir): e.g., tun.mydomain.ir| # <-- custom start | |
| - DOMAIN-SUFFIX,youdao.com,DIRECT | |
| - DOMAIN-SUFFIX,hillinsight.tech,DIRECT | |
| - DOMAIN-SUFFIX,sentry.io,DIRECT | |
| - DOMAIN-SUFFIX,ifconfig.io,Proxy | |
| - DOMAIN-SUFFIX,github.com,Proxy | |
| - DOMAIN-SUFFIX,dlercloud.com,Proxy | |
| - DOMAIN-SUFFIX,dler.io,Proxy | |
| - DOMAIN-SUFFIX,m-team.cc,Proxy | |
| // If the script does not work, you may need to allow same site scripting https://stackoverflow.com/a/50902950 | |
| Linkedin = { | |
| config: { | |
| scrollDelay: 3000, | |
| actionDelay: 5000, | |
| nextPageDelay: 5000, | |
| // set to -1 for no limit | |
| maxRequests: -1, | |
| totalRequestsSent: 0, | 
| # download linux kenel | |
| wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>_all.deb | |
| wgte http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>-generic_<version>_arm64.deb | |
| wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-image-<version>-generic_<version>_amd64.deb | |
| # intsall linux kenel | |
| sudo dpkg -i *.deb | |
| # unintsall old kenel | |
| dpkg -l|grep linux-image | 
This is a step-by-step tutorial for hosting your website under your domain on IPFS, from zero, on a DigitalOcean Ubuntu 16.04.3 x64 Droplet (i am using the $10 variant with 2GB RAM).
Log in as root.
First, make sure the system is up to date, and install tar and wget:
| <?php | |
| /* | |
| * After every ticket purchased, Attendee data will send with POST request to added url in evand panel. | |
| * Add your settings in evand->event panel->webhook section | |
| */ | |
| $attendee = $_POST['data']; //attendee data | |
| $ticket = $attendee['ticket']['data']; //ticket that attendee buyed | |
| $questions = $ticket['questions']['data']; //questions of ticket | |
| $order = $attendee['order']['data']; //order for this attendee | 
| Title | URI | |
|---|---|---|
| Flurry by Yahoo | https://dev.flurry.com/secure/signup.do | |
| Google NikCollection | https://dl.google.com/edgedl/photos/nikcollection-full-1.2.11.dmg | |
| Bitbucket | http://bitbucket.org/ | |
| SoftLayer | http://softlayer.com/ | |
| VirtualBox | http://download.virtualbox.org/virtualbox/5.0.16/VirtualBox-5.0.16-105871-OSX.dmg | |
| Docker Hub | https://hub.docker.com/ | |
| Oracle | http://oracle.com/ | |
| Java | http://java.com | |
| Sun | http://sun.com | 
| #!/usr/bin/env ruby | |
| # gem install sinatra --no-document | |
| # gem install github-markdown --no-document | |
| require 'sinatra' | |
| require 'github/markdown' | |
| set :port, 3000 | |
| get '/' do | |
| <<-EOT | |
| <!DOCTYPE html> | 
| // Use the router(s) for any internal (relative) links, unless it has a | |
| // `data-bypass` attribute or is `target=_blank` | |
| $(document).on('click', 'a:not([data-bypass],[target])', function(evt) { | |
| var href = $(this).attr('href'), | |
| protocol = this.protocol + '//'; | |
| // For <a href="#"> links, we always want to preventDefault to avoid having to do | |
| // this within each individual Backbone View event function. | |
| // (However don't preventDefault on #something URLs in case we need to jump down a page.) | 
| <?php | |
| $result = array(); | |
| $result_html = ''; | |
| if (isset($_POST['domain']) && !empty($_POST['domain'])) { | |
| $domain_regex = '/[a-z\d][a-z\-\d\.]+[a-z\d]/i'; | |
| if (preg_match($domain_regex, $_POST['domain'])) { | |
| if ($url = parse_url($_POST['domain'])) { //compatible when user post an url instead of a domain | |
| if (isset($url['host'])) { | |
| $result = dns_get_record($url['host'], DNS_A + DNS_AAAA + DNS_CNAME); | |
| } else if (isset($url['path'])) { |