Skip to content

Instantly share code, notes, and snippets.

View say2sankalp's full-sized avatar

sankalp say2sankalp

  • remote
View GitHub Profile
@say2sankalp
say2sankalp / ocv.sh
Created November 21, 2018 09:20 — forked from iamgroot42/ocv.sh
Download and install openCV 3.1 on Ubuntu 16.04 for Python 2 (no virtualenv)
#!/bin/bash
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get install -y build-essential cmake pkg-config
sudo apt-get install -y libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
@say2sankalp
say2sankalp / songs
Created April 3, 2018 09:43
Songs which could help you to sink and die
Chris Rea - The road to hell
NIGHTWISH - Bye Bye Beautiful (OFFICIAL MUSIC VIDEO)
Disturbed - The Sound Of Silence
NIGHTWISH - Élan
Evanescence-Bring Me To Life
Within Temptation - Memories
Faun - Federkleid
Nightwish - Over The Hills And Far Away (OFFICIAL VIDEO)
"Where is My Mind?" by Telepathic Teddy Bear
@say2sankalp
say2sankalp / kafka
Created April 3, 2018 09:42
kafka shell thread diagnosis
fucking loosers like me, ever faced problem in tracking the worker thread
netstat and ps -aux are very useful, any clever stealth app could be tracked from this
./bin/connect-standalone etc/schema-registry/connect-avro-standalone.properties /etc/kafka-connect-elasticsearch/quickstart-elasticsearch.properties
sudo vim /etc/schema-registry/connect-avro-standalone.properties
588 /usr/bin/connect-standalone etc/schema-registry/connect-avro-standalone.properties /etc/kafka-connect-elasticsearch/config/elasticsearch-connect.properties
589 /usr/bin/connect-standalone /etc/schema-registry/connect-avro-standalone.properties /etc/kafka-connect-elasticsearch/config/elasticsearch-connect.properties
590 sudo vim /etc/schema-registry/connect-avro-standalone.properties
@say2sankalp
say2sankalp / scp_usage
Last active April 3, 2018 08:46
Copying files using scp
_ FUCK YOU _
|_| |_|
| | /^^^\ | |
_| |_ (| "o" |) _| |_
_| | | | _ (_---_) _ | | | |_
| | | | |' | _| |_ | `| | | | |
| | / \ | |
\ / / /(. .)\ \ \ /
\ / / / | . | \ \ \ /