Skip to content

Instantly share code, notes, and snippets.

View electron0zero's full-sized avatar
🎯
Focusing

Suraj Nath electron0zero

🎯
Focusing
View GitHub Profile
@electron0zero
electron0zero / Cliref.md
Created June 5, 2016 15:13 — forked from yunga/Cliref.md
CLIRef.md
_________ _____ _______________       _____
\_   ___ \\    \\___________   \____ / ____\     ~/.bash/cliref.md
/    \  \/|    | |   ||       _/ __ \  __\    copy/paste from whatisdb
\     \___|__  |_|_  ||    |   \  __/|_ |   http://pastebin.com/yGmGiDQX
 \________  /_____ \_||____|_  /____  /_|     yunga.palatino@gmail.com
 20160515 \/ 1527 \/         \/     \/

alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'

//using String.split to split and assign Object
function splitCurrentURL(){
//query given index.html?this=true&that=good;
var url = location.href.split("?")[1]; // this=true&that=good;
params = {}; //init param obj
url = url.split("&"); // ['this=true','that=good']
for(var i = 0; i<url.length; i++){
var split_cache = url[i].split("="); // ['this','true'], ...
@electron0zero
electron0zero / gist:922285cb9366b169d5508c7bb8909119
Created August 25, 2016 18:11 — forked from entaroadun/gist:1653794
Recommendation and Ratings Public Data Sets For Machine Learning

Movies Recommendation:

Music Recommendation:

@electron0zero
electron0zero / EmptyRecyclerView.java
Created August 30, 2016 08:32 — forked from meoyawn/EmptyRecyclerView.java
RecyclerView doesn't have an emptyView support, we gotta fix that
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class EmptyRecyclerView extends RecyclerView {
@Nullable View emptyView;
@electron0zero
electron0zero / explore.md
Created November 13, 2016 10:53 — forked from shiftkey/explore.md
WTF happened to my line endings?

This is a quick guide to debug potential line ending weirdness.

Note: I've thrown a lot of concepts in here around Git data structures without going into depth. If there's things that are unclear or you'd like some more details, just leave a comment and I'll either reply or expand on this post accordingly...

What sort of weirdness am I referring to? Consider this commit: https://github.com/dalefrancis88/Windsor/commit/e2543e5573781c7ded83166932c9c415feef11c0

While it looks like a very large commit, the contents of the file are unchanged. But the diffs are very intimidating.

Survey Review

  • Deep learning (2015), Y. LeCun, Y. Bengio and G. Hinton [pdf]
  • Deep learning in neural networks: An overview (2015), J. Schmidhuber [pdf]
  • Representation learning: A review and new perspectives (2013), Y. Bengio et al. [pdf]

Theory Future

  • Distilling the knowledge in a neural network (2015), G. Hinton et al. [pdf]
  • Deep neural networks are easily fooled: High confidence predictions for unrecognizable images (2015), A. Nguyen et al. [pdf]
  • How transferable are features in deep neural networks? (2014), J. Yosinski et al. (Bengio) [pdf]
@electron0zero
electron0zero / keybase.md
Created February 10, 2017 02:07
my keybase verification

Keybase proof

I hereby claim:

  • I am electron0zero on github.
  • I am electron0zero (https://keybase.io/electron0zero) on keybase.
  • I have a public key ASA_iB5JeTWzhJt6cf3US-TRIzzsYJgx9nf_EsypEhY4sgo

To claim this, I am signing this object:

{
"eventMetadata": {
"event_name": "My Best event",
"splashImage": "url of splash image",
"posterUrl" : "url of poster",
"update_number": "0"
},
"eventSchedule": [
{
"Name": "activity1",
@electron0zero
electron0zero / test.md
Created April 20, 2017 21:13
test gist

test

This is test gist

@electron0zero
electron0zero / setup.py
Created May 1, 2017 19:34 — forked from jhoonb/setup.py
setup.py - cx_Freeze
"""
exemplo setup.py do cx_freeze
"""
from cx_Freeze import setup, Executable
# 3 tipos de input: includes, packages e excludes.
buildOptions = dict(
includes=['fdb', 'os', 'sys', 'sqlite3', 'time',
'datetime', 'configparser', 'hashlib', 'utils'],