Skip to content

Instantly share code, notes, and snippets.

View cooperpellaton's full-sized avatar
👨‍🎨
Making memes!

Cooper Pellaton cooperpellaton

👨‍🎨
Making memes!
View GitHub Profile
@cooperpellaton
cooperpellaton / rc_solarized_light.json
Created February 24, 2021 00:15
A Solarized (Light) Theme for Ripcord
{
"alternate_base": "#eee8d5",
"base": "#fdf6e3",
"button": "#eee8d5",
"chat_timestamp": "#859900",
"disabled_button": "#586e75",
"disabled_icon": "#586e75",
"disabled_text": "#93a1a1",
"highlight": "#eee8d5",
"highlighted_text": "#268bd2",
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Script for generating codings for participants.
This handles the coding of participants in FHAage
as variables from the master sheet (run_sheet) and
their invidivual trial runs.
"""
__author__ = "Cooper Pellaton"
__copyright__ = "Copyright 2019, Georgia Tech, CABI"
@cooperpellaton
cooperpellaton / coding.py
Created June 21, 2019 20:19
Generate codings for FHAge.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Script for generating codings for participants.
This handles the coding of participants in FHAage
as variables from the master sheet (run_sheet) and
their invidivual trial runs.
"""
__author__ = "Cooper Pellaton"
__copyright__ = "Copyright 2019, Georgia Tech, CABI"
@cooperpellaton
cooperpellaton / Brewfile
Last active May 9, 2023 02:59
🍺 A script to bootstrap the install of brew, then install all the applications and utilities I'll need on a new Mac.
tap "eddieantonio/eddieantonio"
tap "github/gh"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-drivers"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "instrumenta/instrumenta"
tap "mongodb/brew"
tap "nektos/tap"
@cooperpellaton
cooperpellaton / choco-bootstrap.ps1
Last active March 7, 2021 23:54
🍫 A PowerShell script that self-elevates and installs programs from Chocolatey.
# List of packages to be installed.
$Packages = 'firefox', 'vlc', '7zip', 'vscode', `
'everything', 'sharex', 'scansnapmanager', 'steam', 'discord', `
'Revo.Uninstaller', 'battle.net'
# Packages that won't be installed and the user will be reminded of.
$Extras = "Windows Store apps, Oculus, AMD/Radeon Drivers"
# Get the ID and security principal of the current user account
$myWindowsID = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$myWindowsPrincipal = new-object System.Security.Principal.WindowsPrincipal($myWindowsID)
<?xml version="1.0" ?>
<PsychoPy2experiment encoding="utf-8" version="1.84.2">
<Settings>
<Param name="Monitor" updates="None" val="testMonitor" valType="str"/>
<Param name="color" updates="None" val="$[0,0,0]" valType="str"/>
<Param name="colorSpace" updates="None" val="rgb" valType="str"/>
<Param name="Experiment info" updates="None" val="{u'session': u'001', u'participant': u''}" valType="code"/>
<Param name="Units" updates="None" val="use prefs" valType="str"/>
<Param name="JS libs" updates="None" val="packaged" valType="str"/>
<Param name="Save excel file" updates="None" val="False" valType="bool"/>
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy2 Experiment Builder (v1.84.2),
on Fri Mar 2 18:33:49 2018
If you publish work using this script please cite the PsychoPy publications:
Peirce, JW (2007) PsychoPy - Psychophysics software in Python.
Journal of Neuroscience Methods, 162(1-2), 8-13.
Peirce, JW (2009) Generating stimuli for neuroscience using PsychoPy.
Frontiers in Neuroinformatics, 2:10. doi: 10.3389/neuro.11.010.2008
from pytube import YouTube
import sys
import os
def get_video():
yt_url = sys.argv = raw_input("Enter the video you want to download: ")
to_download = YouTube(yt_url)
print(to_download.filename)
print(to_download.get_videos())
Verifying that +cooperp is my blockchain ID. https://onename.com/cooperp

Keybase proof

I hereby claim:

  • I am cooperpellaton on github.
  • I am cooper (https://keybase.io/cooper) on keybase.
  • I have a public key whose fingerprint is 3EC8 A3D0 B57C 0BB3 AB4E 5DD5 CF62 8B47 FAF1 B38B

To claim this, I am signing this object: