Skip to content

Instantly share code, notes, and snippets.

last edited on 2020-05-04 (please see edit history for changes)

See the results here: https://guzey.com/science/sleep/14-day-sleep-deprivation-self-experiment/


This is the protocol for my sleep experiment that I will start on 2020-04-03. I will sleep 4 hours per night for 2 weeks and evaluate the effects of doing so on my cognition using psychomotor vigilance task (essentially, a reaction test), SAT (a 3 hour test that involves reading and math), and Aimgod custom scenario I called guzey_arena_0 (video) (this is a first-person shooter trainer game that allows the creation of custom scenarios. The scenario I created requires constant attention, eye-hand coordination, tactical thinking).

Methods

@bluehat
bluehat / guide.markdown
Last active February 8, 2023 12:35
Privacy Guide for Activists with Haters

Privacy Guide for Activists with Haters

In light of the gamergate fiasco, we realized that most of the targeted individuals had their private information trivially publicly online. Later, several authors had more immediate experience with online harassment. This guide is meant to help people take basic steps required to protect their online privacy, hopefully reducing the number of crazies who threaten to show up at your house.

We do not believe that leaving your information online means you deserve harassment, we simply wish to arm people who want to speak up with all the defensive tools available.

This guide is not an anti-government-surveillance document, as it only helps you make your information private and does not remove it. Fighting back against surveilance is a very different problem, and there is a separate guide for that.

Hiding Your Whois Data

This one should be easy, but it is the number one privacy failure w
@stadaki
stadaki / tetris.kp
Last active December 24, 2015 17:39
Tetris ktap script
#!/usr/bin/env ktap
#
# Tetris KTAP Script
#
# Copyright (C) 2013/OCT/05 Tadaki SAKAI
#
# based on stapgames (Systemtap Game Collection)
# https://github.com/mhiramat/stapgames/blob/master/games/tetris.stp
#
@thotypous
thotypous / memread.lua
Created September 1, 2013 02:18
LuaJIT script to read Linux kernel memory in ARM architecture using /dev/mem
local ffi = require("ffi")
local C = ffi.C
ffi.cdef[[
static const int O_RDONLY = 0;
static const int SEEK_SET = 0;
int open(const char *, int, ...);
int close(int);
long int lseek(int, long int, int) __attribute__((__nothrow__, __leaf__));
int read(int, void *, unsigned int);
]]
@DanielBaird
DanielBaird / angular-leaflet-directive.coffee
Last active December 16, 2015 06:29
a CoffeeScript rewrite of http://tombatossals.github.io/angular-leaflet-directive/ Nothing added, although I think I changed the max zoom on the map.
#
# Rewritten originally from David Rubert's angular-leaflet-directive project
# See original author and project at:
# https://github.com/tombatossals
# http://tombatossals.github.io/angular-leaflet-directive/
leafletDirective = angular.module 'leaflet-directive', []
leafletDirective.directive 'leaflet', ($http, $log)->
retval =
@chrox
chrox / github-upload.py
Created November 2, 2012 15:34
build and upload customupdate of kindlepdfviewer automatically
#!/usr/bin/python
import os
import sys
import time
from datetime import datetime,timedelta
import subprocess
from github import Github
PROXY = "http://192.168.1.101:7071"
USER_TOKEN = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"