Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Eliyar Eziz BrikerMan

🎯
Focusing
Block or report user

Report or block BrikerMan

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
@stared
stared / live_loss_plot_keras.ipynb
Last active Mar 24, 2020
Live loss plot for training models in Keras (see: https://github.com/stared/livelossplot/ for a library)
View live_loss_plot_keras.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@monikkinom
monikkinom / rnn-lstm.py
Last active Sep 3, 2019
Tensorflow RNN-LSTM implementation to count number of set bits in a binary string
View rnn-lstm.py
#Source code with the blog post at http://monik.in/a-noobs-guide-to-implementing-rnn-lstm-using-tensorflow/
import numpy as np
import random
from random import shuffle
import tensorflow as tf
# from tensorflow.models.rnn import rnn_cell
# from tensorflow.models.rnn import rnn
NUM_EXAMPLES = 10000
@clouddueling
clouddueling / MainCtrl.js
Last active Sep 17, 2019
How to authenticate using AngularJS
View MainCtrl.js
controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) {
$scope.$on('authLoaded', function() {
$scope.isExpert($scope.main.serieId);
$scope.isMember($scope.main.serieId);
});
$scope.loadAuth = function() {
Auth.load().success(function(data) {
$scope.main.user = data.user;
$scope.$broadcast("authLoaded");
@yinian1992
yinian1992 / count_last_24.py
Last active Dec 20, 2015
SqlAlchemy Example / Count submits in each of the last 24 hours.
View count_last_24.py
from datetime import datetime, timedelta
import sqlalchemy as sa
import sqlalchemy.orm as orm
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import scoped_session, sessionmaker
NOW = datetime.utcnow()
DBSession = scoped_session(sessionmaker())
Base = declarative_base()
You can’t perform that action at this time.