Skip to content

Instantly share code, notes, and snippets.

View aernesto's full-sized avatar
💭
Working on the Random Dots task

Adrian Ernesto Radillo aernesto

💭
Working on the Random Dots task
View GitHub Profile
@aernesto
aernesto / .bashrc
Created February 20, 2019 15:15
my ~/.bashrc file
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# git
source ~/.git-prompt.sh # copied from https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
alias glog="git log --oneline --graph --all --decorate"
@aernesto
aernesto / psychometric.ipynb
Created March 25, 2019 21:55
Relationship between percent correct and proportion choose 'right' in 2AFC tasks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aernesto
aernesto / Census_api_calls.py
Created June 27, 2021 21:15
Getting Census Data from their APIs
# -*- coding: utf-8 -*-
"""
I ran the following code with Python 3.9
The only dependency was the requests library
https://docs.python-requests.org/en/latest/user/quickstart/
The core concepts for the API calls are explained here
https://www.census.gov/data/developers/guidance/api-user-guide.Core_Concepts.html
You will notice that I use a KEY variable in the code that is not defined anywhere.