Skip to content

Instantly share code, notes, and snippets.

View oxinabox's full-sized avatar
🐂

Frames White oxinabox

🐂
View GitHub Profile
@oxinabox
oxinabox / TimeoutBlock.user.js
Last active April 24, 2016 23:32
A Userscript to block from reopenning closed websites again and again. See http://softwarerecs.stackexchange.com/questions/31422/
// ==UserScript==
// @name TimeoutBlock
// @namespace white.ucc.asn.au
// @description Blocks you from reopening the applicable sites for a given timeout after they are closed
// @include https://www.facebook.com/*
// @include http://academia.stackexchange.com/*
// @version 1
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.1.1/js.cookie.js
@oxinabox
oxinabox / Monty Hall Simulation.ipynb
Last active April 26, 2016 07:59
Simulating the Monty Hall Problem https://en.wikipedia.org/wiki/Monty_Hall_problem. This available under CC0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oxinabox
oxinabox / do while macro
Created April 27, 2016 02:25
How to define the infix ~ macro to be do while (This code is available under CC0)
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false
},
"outputs": [
{
@oxinabox
oxinabox / Notebook
Created May 3, 2016 02:31
Some attepts to find hypernyms for employee and contractor. For http://english.stackexchange.com/questions/296248. This is available under CC0
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
@oxinabox
oxinabox / NN_angle.ipynb
Last active June 30, 2016 05:36
Some Experiments with representions for angles in neural nets, using Julia and Mocha
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oxinabox
oxinabox / BirthdayProblem.ipynb
Last active July 13, 2016 01:18
The Birthday Problem in Julia
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oxinabox
oxinabox / exp2.ipynb
Last active July 16, 2016 04:20
investigating exp2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oxinabox
oxinabox / checker.jl
Last active July 18, 2016 03:13
Find when functions mapping Int64 to Float64 but not mapping BigInt to BigFloat
function get_ret_type(fn, input_range)
ret_type = "Always errors over ($(typeof(input_range))) $(input_range)"
for x in input_range
try
ret_type = typeof(fn(x))
end
end
ret_type
end
@oxinabox
oxinabox / exp2_profiling.ipynb
Created July 27, 2016 09:44
More profiling
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@oxinabox
oxinabox / exp2.ipynb
Created July 28, 2016 03:45
still profiling exp2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.