Skip to content

Instantly share code, notes, and snippets.

View jasonrwang's full-sized avatar
📚
Learning

Jason R. Wang jasonrwang

📚
Learning
View GitHub Profile
@jasonrwang
jasonrwang / progress.10s.sh
Last active August 6, 2019 11:52 — forked from aurorabbit/progress.10s.sh
BitBar timely progress bar w/ start and stop parameters
#!/bin/sh
## !!!
# add this to your bitbar directory
# don't forget to chmod +x
## time parameters
working_start=0900
working_end=2330
@jasonrwang
jasonrwang / slack.py
Last active July 14, 2017 04:44 — forked from shauns/slack.py
Deleting and listing slack files, sorting by size
#!/usr/bin/python
# Adapted from shauns
# https://gist.github.com/shauns/49f92d3979cced222bdbfbf3abb3a044
from slacker import Slacker
import itertools
# This grants you access to the Slack account in question.
# Get a token here: https://api.slack.com/custom-integrations/legacy-tokens
# Personal Photo Histry
library("rPlotter")
library("magrittr")
library("grid")
library("gridSVG")
library("ggplot2")
#retreives list of every .jpeg on my hard-drive
files_list1 <- list.files(path="//Volumes//Seagate Backup Plus Drive/Pictures/", pattern = ".*(jpg|JPG|jpeg|JPEG)", full.names=T, recursive=T)
files_list2 <- list.files(path="//Volumes//Seagate Backup Plus Drive/Picuters /", pattern = ".*(jpg|JPG|jpeg|JPEG)", full.names=T, recursive=T)