Skip to content

Instantly share code, notes, and snippets.

Working from home


Working from home
Block or report user

Report or block maulvi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
plembo /
Last active Jul 8, 2019
Install tigervnc on Ubuntu

Installing TigerVNC on Ubuntu

This is for Ubuntu 18.04 LTS. TigerVNC is a remote desktop server and viewer solution sponsored by Red Hat that is still in active development. There are packages for it in the repositories of the major distributions, but the latest versions for Ubuntu are broken. My workaround is to use the latest stable version from the TigerVNC project Github release page, where generic binaries for 32 and 64-bit Linux are distributed as tarballs (dmg and exe installers for Mac and Windows are also available).

  1. Remove any pre-existing vnc software, like RealVNC 4:
$ sudo apt remove --purge vnc4server xvnc4viewer
$ sudo aptautoremove
ve3 / Encryption.js
Last active Jan 24, 2020
Encrypt and decrypt between programming languages (PHP & JavaScript).
View Encryption.js
* Encryption class for encrypt/decrypt that works between programming languages.
* @author Vee Winch.
* @link Reference.
* @link crypto-js.js can be download from here.
class Encryption {
dwisiswant0 /
Last active Jan 15, 2020 Account Checker API
vincentius15 /
Last active Jun 3, 2018
Chat Protocol
import socket
import select
import sys
from threading import *
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_address = ("localhost", 14000)
vijayantkatyal /
Created May 6, 2017
Live Video Stream to Facebook
# stream video
ffmpeg -re -i live.mp4 -c:v libx264 -preset veryfast -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \
-ar 44100 -f flv "rtmp://"
# stream desktop
ffmpeg -video_size 1366x768 -framerate 25 -f x11grab -i :0.0 -ar 44100 -f alsa -ac 2 -i hw:0 -preset ultrafast output.mp4 -f flv "rtmp://"
View Remove BlueStacks Ads
1. Open Windows command prompt (cmd.exe)
2. Run command
"c:\Program Files (x86)\BlueStacks\HD-Adb.exe" shell
Execute within BlueStacks via cmd:
And then (also in cmd):
pm disable-user com.bluestacks.s2p
joashp / openssl_encrypt_decrypt.php
Created Sep 4, 2015
Simple PHP encrypt and decrypt using OpenSSL
View openssl_encrypt_decrypt.php
* simple method to encrypt or decrypt a plain text string
* initialization vector(IV) has to be the same when encrypting and decrypting
* @param string $action: can be 'encrypt' or 'decrypt'
* @param string $string: string to encrypt or decrypt
* @return string
gnilchee /
Last active Dec 2, 2019
Multi-threaded Python3 HTTP Server
#!/usr/bin/env python3
import sys, os, socket
from socketserver import ThreadingMixIn
from http.server import SimpleHTTPRequestHandler, HTTPServer
HOST = socket.gethostname()
class ThreadingSimpleServer(ThreadingMixIn, HTTPServer):
nkcmr /
Last active Apr 23, 2017
simple deluge complete scope that uploads stuff to google drive

deluge to google drive uploader

simple uploader script for deluge, assign this script to be called on torrent complete and it will walk a directory and upload it to your google drive

install dependencies:

npm install googleapis async winston lodash mime twilio
You can’t perform that action at this time.