THIS GIST HAS MOVED TO https://github.com/khimaros/debian-hybrid
PLEASE READ THE UPDATED INSTRUCTIONS CAREFULLY.
THIS GIST HAS MOVED TO https://github.com/khimaros/debian-hybrid
PLEASE READ THE UPDATED INSTRUCTIONS CAREFULLY.
| /* | |
| WhatsApp Web Spam Script written by flaredragon. | |
| ==================================================================================== | |
| DISCLAIMER: I do not take any responsibility for any damage caused with this script. | |
| ==================================================================================== | |
| Usage: Copy all of this script (Ctrl+A, Ctrl+C).Visit WhatsApp Web, select your | |
| desired contact and Press Ctrl+Shift+I to and paste it in the console and press Enter. | |
| (Imp Note - Whatsapp Controls the message sending rate so sending ~500 together may | |
| cause your Whatsapp to hang so use the script smartly) | |
| ==================================================================================== |
| """ Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
| import numpy as np | |
| import cPickle as pickle | |
| import gym | |
| # hyperparameters | |
| H = 200 # number of hidden layer neurons | |
| batch_size = 10 # every how many episodes to do a param update? | |
| learning_rate = 1e-4 | |
| gamma = 0.99 # discount factor for reward |
| #!/bin/bash | |
| set -u | |
| set -e | |
| set -o pipefail | |
| export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
| cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
To remove a submodule you need to:
| sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
| sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | |
| sudo yum install -y apache-maven | |
| mvn --version |
| /** | |
| * More info? | |
| * [email protected] | |
| * http://aspyct.org | |
| * | |
| * Hope it helps :) | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> |