Skip to content

Instantly share code, notes, and snippets.

View hadifarnoud's full-sized avatar

Hadi Farnoud hadifarnoud

View GitHub Profile
@amirhabibzadeh
amirhabibzadeh / evand-webhook-php-client-example.php
Created June 17, 2017 09:17
Evand webhook php client example
<?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
@claus
claus / ipfs-server-setup.md
Last active June 21, 2025 13:28
Host Your Site Under Your Domain on IPFS

Host Your Site Under Your Domain on IPFS

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).

Install IPFS

Log in as root.

First, make sure the system is up to date, and install tar and wget:

@kxfeng
kxfeng / install_bbr_on_ubuntu.sh
Last active March 25, 2023 11:12
install bbr on ubuntu
# 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
@thealphadollar
thealphadollar / AutoConnectLinkedIn.js
Last active October 21, 2025 12:40
JS script to send connection requests to your LinkedIn search results with customisation options, accept all received connection requests, and withdraw pending sent connection requests.
// 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,
@yayanet
yayanet / rules.yaml
Last active September 10, 2025 12:41
clash rules
# <-- 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
# Google
@farhad-4
farhad-4 / readme.md
Last active October 16, 2022 15:49
tlstun installation

tlstun

tlstun is basic SOCKS over TLS.

Prerequisites

  • Docker
  • Set an 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

tlstun Server Installation

  • Create self-signed certificate for the domain