Skip to content

Instantly share code, notes, and snippets.

محسن داوری parsibox

View GitHub Profile
@parsibox
parsibox / java7
Created Jun 30, 2020
install java7 on centos
View java7
#sudo yum remove java*
sudo yum install -y java-1.7.0-openjdk-devel java-1.8.0-openjdk-devel maven wget htop nano iftop telnet net-tools mlocate mtr yum-utils sysstat zip unzip traceroute tcptraceroute tcpdump bind-utils ftp.x86_64
wget https://www.dialogic.com/files/DSI/developmentpackages/linux/dpklnx.Z --no-check-certificate
find ~/.m2/ -name "*.lastUpdated" | xargs rm
@parsibox
parsibox / port.txt
Created Jun 25, 2020
some sctp port
View port.txt
7, # echo
9, # discard
20, # ftp-data
21, # ftp
22, # ssh
80, # http
100,
128,
179, # bgp
260,
@parsibox
parsibox / reactjs.sh
Created Jun 20, 2020
run reactjs source
View reactjs.sh
npm install
nmp start
npm run build
@parsibox
parsibox / find.sh
Created Jun 14, 2020
find modified file linux
View find.sh
find /home/bizcode/domains/telirco.ir/ -mtime -3 -ls
@parsibox
parsibox / kill.sh
Created Jun 10, 2020
linux command kill with name
View kill.sh
pgrep "xxxxxxxxxxxxxx" | xargs kill -9
@parsibox
parsibox / resize.js
Created Jun 9, 2020
javascript simulate resize event
View resize.js
window.dispatchEvent(new Event('resize'));
@parsibox
parsibox / sql.sql
Created Jun 7, 2020
remove hidden char
View sql.sql
update irankhodro set `code` = replace(`code`,UNHEX('E280ABE280AA') , '') ;
update irankhodro set `code` = replace(`code`,UNHEX('E280AC') , '');
@parsibox
parsibox / gist:1598232326e12a30380e7ba1a610bf61
Created May 17, 2020
Arabic Handwritten Characters Dataset
View gist:1598232326e12a30380e7ba1a610bf61
https://www.kaggle.com/mloey1/ahdd1
https://www.kaggle.com/mloey1/ahcd1
@parsibox
parsibox / nginx_get_time.sh
Created May 13, 2020
get nginx response time from log
View nginx_get_time.sh
cat /var/log/nginx/access.log | awk -F 'time:' '{print $2}' | sort | uniq -c | sort
@parsibox
parsibox / gist:33213eaec58cf030e8f61205d2318386
Last active Apr 28, 2020
detect persian number in image
View gist:33213eaec58cf030e8f61205d2318386
look image
https://user-images.githubusercontent.com/12513476/80538808-992d6480-89bb-11ea-861d-b2b4d34a9407.png
You can’t perform that action at this time.