Skip to content

Instantly share code, notes, and snippets.

View alibo's full-sized avatar
💭
🤦‍♂️

Ali Borhani alibo

💭
🤦‍♂️
View GitHub Profile
@alibo
alibo / 01-filternet-top200k-26-03-2016.csv
Last active August 12, 2025 06:53
State of Alexa Top 200K global sites in Iran [Censorship] [26-03-2016] #filternet
Rank Site SNI HTTP DNS
1 google.com open open open
2 youtube.com blocked blocked blocked
3 facebook.com blocked blocked blocked
4 baidu.com open open open
5 yahoo.com open open open
6 amazon.com open open open
7 wikipedia.org open open open
8 qq.com open open open
9 google.co.in open open open
@alibo
alibo / iran-sanctions_blocker-sites.csv
Last active July 16, 2025 09:50
List of sites which block IPs come from Iran [UPDATING... (July 16, 2020)] #SANCTIONS
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
@alibo
alibo / gitignore-android-studio-list
Last active July 17, 2017 21:02 — forked from vtanathip/gitignore-android-studio-list
Git Ignore files list that should use in Android Studio Projects
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
@alibo
alibo / CustomApplication.php
Last active June 19, 2016 17:26
Adjust Laravel public directory for cPanel and DirectAdmin
<?php
namespace App;
use Illuminate\Foundation\Application;
class CustomApplication extends Application
{
/**
* Get the path to the public / web directory.
*
@alibo
alibo / composer.json
Created August 16, 2016 20:42
Persian wordpress using bedrock, composer, wp-languages and wpackagist-plugin/wp-jalali
{
"name": "roots/bedrock",
"type": "project",
"license": "MIT",
"description": "A modern WordPress stack",
"homepage": "https://roots.io/bedrock/",
"authors": [
{
"name": "Scott Walkinshaw",
"email": "[email protected]",
@alibo
alibo / bazaar_diff.sh
Last active August 18, 2016 09:36
Check sms receiver in multiple versions of cafebazaar. How to run: sh bazaar_diff.sh 7.5.0 7.5.1
#!/bin/bash
oldVersion=$1;
newVersion=$2;
smsReceiverPath="com/farsitel/bazaar/receiver/SmsAuthenticationReceiver.java";
echo "Downloading ...";
wget "https://cafebazaar.ir/static/download/Bazaar-$oldVersion.apk";
wget "https://cafebazaar.ir/static/download/Bazaar-$newVersion.apk";
echo "Decompiling ...";
@alibo
alibo / gist:9b50eca2a2609ee461ecc6c6725527f6
Created October 31, 2016 09:46 — forked from alexsegura/gist:9650651
Prestashop 1.6 folder permissions
chmod a+w -R config/
chmod a+w -R cache/
chmod a+w -R log/
chmod a+w -R img/
chmod a+w -R mails/
chmod a+w -R modules/
chmod a+w -R themes/default-bootstrap/lang/
chmod a+w -R themes/default-bootstrap/pdf/lang/
chmod a+w -R themes/default-bootstrap/cache/
chmod a+w -R translations/
@alibo
alibo / AppServiceProvider.php
Created November 23, 2016 17:58
Using Redis Cluster with Normal Redis instances in Laravel
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Redis\Database;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
@alibo
alibo / keybase.md
Created December 1, 2016 17:09
keybase.md

Keybase proof

I hereby claim:

  • I am alibo on github.
  • I am alibo (https://keybase.io/alibo) on keybase.
  • I have a public key whose fingerprint is DFF3 2B75 6222 ACE7 5367 3220 7191 34AD 0F9D 1808

To claim this, I am signing this object:

@alibo
alibo / s3-slack-notifier-lambda.js
Created February 20, 2017 20:52
Send S3 events to s slack channel via Lambda and Node.js
'use strict';
/*
Thanks to https://gist.github.com/vgeshel/1dba698aed9e8b39a464
*/
console.log('Loading function');
const aws = require('aws-sdk');
const s3 = new aws.S3({ apiVersion: '2006-03-01' });