This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'mine-jabber) | |
;; Username & nickname fields from https://banno.hipchat.com/account/xmpp | |
(setq hipchat-username "") | |
(setq hipchat-nickname "") | |
(setq hipchat-password "") | |
(setq hipchat-autojoin-rooms | |
'("aggregation" "assets" "banno_talk" "banno_cms" "data_services" "emacs" "grip" "kernel" "southen" "troll_talk" "webdev" "design_talk")) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; HipChat | |
(setq ssl-program-name "gnutls-cli" | |
ssl-program-arguments '("--insecure" "-p" service host) | |
ssl-certificate-verification-policy 1) | |
;; Connect using jabber.el | |
;; M-x jabber-connect <RET> | |
;; Config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this file to ~/.sbt/plugins/plugins.sbt. | |
// | |
// Once this is ready, make sure you have sbt 0.12 ("brew install sbt" should do it), | |
// then try running | |
// | |
// sbt "ensime generate" | |
// | |
// in bijection's root directory. ("git clone [email protected]:twitter/bijection.git") | |
resolvers += "Scala-Tools Maven2 Snapshots Repository" at "http://scala-tools.org/repo-snapshots" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a short implementation of arow in theano | |
def arow(params, loss, lbda1, lbda2): | |
sigma = [theano.shared(value=np.ones(p.value.shape)) for p in params] | |
gl = [T.grad(cost=loss, wrt=p) for p in params] | |
ups = {} | |
for i in xrange(len(params)): | |
ups[params[i]] = params[i] - lbda1*gl[i]/sigma[i] | |
ups[sigma[i]] = sigma[i] + lbda2*gl[i]*gl[i] | |
return ups |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
nsb_entropy.py | |
June, 2011 written by Sungho Hong, Computational Neuroscience Unit, Okinawa Institute of | |
Science and Technology | |
May, 2019 updated to Python 3 by Charlie Strauss, Los Alamos National Lab | |
This script is a python version of Mathematica functions by Christian Mendl |
NewerOlder