Skip to content

Instantly share code, notes, and snippets.

Avatar

CosmoX hackjutsu

View GitHub Profile
@hackjutsu
hackjutsu / sklearn.ipynb
Last active Nov 20, 2020 — forked from schwehr/sklearn.ipynb
[Jupyter Notebook Demo 3] This is a #demo for Lepton's support of Jupyter Notebook viewer.
View sklearn.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hackjutsu
hackjutsu / .leptonrc
Last active Nov 24, 2021
[Template for .leptonrc] This is a template for Lepton's configuration file. Please place it on your home directory. #lepton
View .leptonrc
{
"theme": "light",
"autoUpdate": false,
"snippet": {
"expanded": true,
"newSnippetPrivate": false,
"sorting": "updated_at",
"sortingReverse": true
},
"editor" : {
@charlesdckim
charlesdckim / conv3dnet.py
Created Feb 14, 2017 — forked from dansileshi/conv3dnet.py
Example of 3D convolutional network with TensorFlow
View conv3dnet.py
import tensorflow as tf
import numpy as np
FC_SIZE = 1024
DTYPE = tf.float32
def _weight_variable(name, shape):
return tf.get_variable(name, shape, DTYPE, tf.truncated_normal_initializer(stddev=0.1))
@klederson
klederson / HTML5StorageMultidimensional.js
Created Oct 8, 2012
Adding Multidimensional Support for javascript / html5 sessionStorage , localStorage or just Storage object
View HTML5StorageMultidimensional.js
/**
*
* MOVED TO: https://github.com/iFind/html5MultidimensionalStorage
*
* This methods extends the default HTML5 Storage object and add support
* to set and get multidimensional data
*
* @example Storage.setObj('users.albums.sexPistols',"blah");
* @example Storage.setObj('users.albums.sexPistols',{ sid : "My Way", nancy : "Bitch" });
* @example Storage.setObj('users.albums.sexPistols.sid',"Other songs");