Skip to content

Instantly share code, notes, and snippets.

Rushal Verma rusrushal13

Block or report user

Report or block rusrushal13

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
rusrushal13 / app.js
Created Oct 23, 2019
react google analytics
View app.js
#hook for initializing react google analytics
useEffect(() => {
if (
window.performance &&
performance.navigation.type === performance.navigation.TYPE_NAVIGATE
) {
history.listen(location => {

Solution to Curl Excersises

  • Request


<!DOCTYPE html>
<html lang="en">
rusrushal13 /
Created Jun 29, 2018 — forked from yclim95/

##Map Reduce

  1. Map/Reduce Library partitions the input data into M pieces of typically 16-64 MB.


  2. If there are M partitions of the input, there are M map workers running simultaneously.

    False. There are generally less worker nodes than partitions.

View "Learning never exhausts the mind." - Leonardo da
import requests
req = requests.json("")
rusrushal13 /
Created Aug 14, 2017
my updation script
# My update script
sudo apt-get update && sudo apt-get upgrade -y && sudo apt full-upgrade -y
sudo apt autoremove
rusrushal13 / Crypto_Mining_XMR_script
Created Aug 14, 2017
I am using it on free servers to get some Monero(XMR) using cryptonight algorithm.
View Crypto_Mining_XMR_script
sudo apt-get update -y && sudo apt-get install git -y make automake screen libcurl4-openssl-dev && sudo apt-get install -y gcc
git clone && cd cpuminer-multi && ./ && CFLAGS="-march=native" ./configure --disable-aes-ni && make
screen -S miner ./minerd -a cryptonight -o stratum+tcp:// -u -p x -t 2""
crontab -e
@reboot screen -S miner ./minerd -a cryptonight -o stratum+tcp:// -u -p x -t 2""
View Verifying onename
Verifying that "" is my Blockstack ID.
View g
rushal@rushal-Lenovo-B560:~/src/zenodo$ sudo pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
adium-theme-ubuntu (0.3.4)
appdirs (1.4.3)
backports.ssl-match-hostname (
cached-property (1.3.0)
colorama (0.3.7)
Django (1.10.6)
docker (2.1.0)
docker-compose (1.11.2)
You can’t perform that action at this time.