Skip to content

Instantly share code, notes, and snippets.

learning type

KaFai bruteforcecat

learning type
Block or report user

Report or block bruteforcecat

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
View gist:2f4234357f10bd794f13222e18013865
stack install hakyll
hakyll-init my-site
cd my-site
stack init  # creates stack.yaml file based on my-site.cabal
stack build
stack exec site build #create _site(HTML&asset, ready to be deployed), _cache(used by Hakyll)

stack exec site watch # preview and now go to localhost:8000
View gist:c6e695928909ad42a318975cafecc809
It's consisted of encoder and decoder.
Encoders(Autoencoders) are networks(unsuperprised learning, feed-forward), which try to reconstruct their own input
(reproduct input as output). You construct the network so that it reduces the input size by using one or more hidden layers,
until it reaches a reasonably small hidden layer in the middle. As a result your data has been compressed (encoded) into
a few variables. From this hidden representation the network tries to reconstruct (decode) the input again.
In order to do a good job at reconstructing the input the network has to learn a good representation of the data in
the middle hidden layer. This can be useful for dimensionality reduction, or for generating new “synthetic” data
from a given hidden representation.
// Using proxy in redux action.
const types = {
  FETCH_FILE_REQUEST: 'fetch_file_request',
  FETCH_FILE_SUCCESS: 'fetch_file_success',
  FETCH_FILE_FAIL: 'fetch_file_fail'

const typeValidator = {
  get(obj, prop) {
bruteforcecat /
Created Jun 6, 2016 — forked from johanndt/
Upgrading PostgreSQL from 9.3 to 9.5 on Ubuntu


Install Postgres 9.5, and then:

sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
bruteforcecat /
Created May 16, 2016 — forked from chaos-ad/
Installing erlang in ubuntu
# installing erlang on ubuntu's
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev
sudo mkdir -p /opt/erlang/
curl -O && chmod a+x kerl
sudo mv kerl /opt/erlang/
View gist:a4e467b90f585d1a0d5a
:e. :edit . at current working directory
:sp. :split . in split at current working directory
:vs. :vsplit . in vertical split at current working directory
:E :Explore at directory of current file
:Se :Sexplore in split at directory of current file
:Vex :Vexplore in vertical split at directory of current file
% create a new file
d create a new directory
R rename the file/directory under the cursor
View gist:aac9865ae19fa20666c7
CREATE TABLE shake_magnitudes (
event_id int,
user_id int,
recorded_at timestamp,
magnitude float,
PRIMARY KEY (event_id, user_id, recorded_at)
WITH CLUSTERING ORDER BY (user_id ASC, recorded_at ASC);
bruteforcecat / gist:a6f8bda444da4e3a5886
Created Sep 17, 2014
Setting Up test build for Ionic App for HockeyApp
View gist:a6f8bda444da4e3a5886
Register in HockeyApp
1. cordova build --release android
2. keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
3. jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
4. zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk
5. upload apk file to HockeyApp
1. cordova build --release ios
You can’t perform that action at this time.