Skip to content

Instantly share code, notes, and snippets.

Alexander Lenail alexlenail

Block or report user

Report or block alexlenail

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 Canonicity_Update.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View explore_psychencode_grn.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View NetReg3.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Is_Anything_Real.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View SPAMS.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View NetReg2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View NetReg.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View d3-dataframe.js
matrix = {
values: [[1, 2], [3, 4]], // sorted row-wise by default
rows_iter: function () { return this.values },
columns_iter: function () { return iterator_over_the_transpose_of(this.values) },
flat_rows_iter: function () { return iterator_over_flattened(this.values) },
flat_columns_iter: function () { return iterator_over_the_flattened_transpose_of(this.values) },
View DefaultDict.js
var DefaultDict = (initValue) => new Proxy({}, {
get: (target, name) => name in target ? target[name] :
(target[name] = (typeof initValue === 'function' ? initValue() : initValue))
});
statistics = DefaultDict(() => DefaultDict(() => DefaultDict(0)));
// Thanks @jonathanzong!
View GOrilla.js
var form = document.createElement('form');
form.setAttribute('method', 'post');
form.setAttribute('action', 'http://cbl-gorilla.cs.technion.ac.il/servlet/GOrilla');
form.setAttribute('target', '_blank');
form.setAttribute('enctype', 'multipart/form-data');
var application_field = document.createElement('input');
application_field.setAttribute("type", "hidden");
application_field.setAttribute("name", "application");
application_field.setAttribute("value", "gorilla");
You can’t perform that action at this time.