I hereby claim:
- I am wtfaremyinitials on github.
- I am wtfaremyinitials (https://keybase.io/wtfaremyinitials) on keybase.
- I have a public key ASBes1cU6650KZDWsaDCfxHilxKic-Oc1qMXknhn37c5Kwo
To claim this, I am signing this object:
import java.io.*; | |
public class ByteOutputStream extends FileOutputStream { | |
byte buffer; | |
byte pos; | |
public ByteOutputStream(File file) throws FileNotFoundException { | |
super(file); | |
buffer = 0x00; |
/* https://twitter.com/Dmitry_Zubkov/status/726555594635808768 */ | |
:root { | |
font-size calc(1vw + 1vh + .5vmin); | |
} | |
body { | |
font 1em/1.6rem sans-serif; | |
} |
var brain = require('brain.js') | |
var net = new brain.NeuralNetwork(); | |
console.log('Generating training data...'); | |
var data = []; | |
for(var i=0; i<100000; i++) { | |
var obj = {}; | |
obj.input = []; | |
obj.input[0] = Math.random(); | |
obj.input[1] = Math.random(); |
telnetd -l /bin/sh & |
I hereby claim:
To claim this, I am signing this object:
function handleProp(node, prop) { | |
var color = window.getComputedStyle(node)[prop]; | |
if(color == "rgba(0, 0, 0, 0)") | |
return; | |
color = color.match(/rgba?\((\d+), (\d+), (\d+)/).splice(1,3); | |
if(color[0] == color[1] && color[1] == color[2]) { | |
node.style[prop] = "rgb(" + (256-color[0]) + ", " + (256-color[1]) + ", " + (256-color[2]) + ")"; | |
} | |
} |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXn1819eun6KxXJLDH8gg8mFdvljMieOKLluK6J9jw7egqJo54FN4EEIuc1pMukQe3xEV8wPy09/HW3gmzFNUzviO75hU/zqpBkVQo0YCIvAZbs397UUSUcBVOfAdCRoqhkj5fnZ2ZOkQMbiWf+tK4Xj3ueenxyhaQ+DwTZeaxLCjHH+bDvRHVDxVIITZ4T6R9SBArUOjb+FDucyU2o/B+BrMdH8HxymNF4HHc8Vv61o7kxxUPx2pXiJGYI+bIPsdmpi7Amcx80bcfO2z+aRu4e4cFsbL1fEmQYoTVAtGwgsJWKbUqvAFry5qujuKA9ovMgDhMVQp+Ft+/ImuOx7PP |
// School created an archive folder of last years stuff, but finding that | |
// folder required searching for it. This made the archive accessible. | |
// This can also be used to put a single file in multiple folders | |
function fixDrive() { | |
var root = DriveApp.getRootFolder() | |
var archive = DriveApp.getFolderById("[snip]") | |
root.addFolder(archive) | |
} |
Recently my school cleared my Google Drive for the coming school year and moved the old folders to an archive folder. Unfortunately this archive folder doesn't show up in Google Drive's main list of files because it's an orphan. Currently it can only be accessed via search.
The following script will manually add a parent to any Google Drive folder, even orphaned ones. How to use it:
sudo defaults write /Library/Preferences/com.apple.loginwindow.plist "DisableConsoleAccess" NO |