Skip to content

Instantly share code, notes, and snippets.

View oneilsh's full-sized avatar

Shawn T O'Neil oneilsh

View GitHub Profile
#!/usr/bin/env python
from Tkinter import *
import tkFileDialog
class MyGUI:
def __init__(self):
## Make the main window
self.root_window = Tk()
## Add a button to the main window and "grid" it
@oneilsh
oneilsh / gist:76092e3642aa94fe832e4c47979d5045
Created July 31, 2016 19:13
Add a timer for the last command to your bash prompt
# timer prompt, add to ~/.bashrc (tested in bash only thus far)
function timer_start {
timer=${timer:-$SECONDS}
}
function timer_stop {
i=$(($SECONDS - $timer))
((sec=i%60, i/=60, min=i%60, hrs=i/60))
timer_show=$(printf "%d:%02d:%02d" $hrs $min $sec)
unset timer
@oneilsh
oneilsh / OpenprocessingLinks.md
Last active March 18, 2024 21:16
Openprocessing Links
This is just a test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

A collapsible section with markdown

Click to expand!

Heading

1. A numbered
2. list
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
status_id,created_year,created_month,created_day,text,source,favorite_count,retweet_count,is_quote,is_retweet
1273727067792834560,2020,6,18,"You can fool anyone but not a programmer!
#AI #MachineLearning #100DaysOfCode #100DaysOfMLCode #BigData #RStats #Python #coding #DataScience https://t.co/ffSahTrQhZ",Twitter Web App,0,6,FALSE,TRUE
1273721906181660675,2020,6,18,"Mistakes I did early on in my #DataScience career
🔹watching too many tutorials
🔹not writing enough code
🔹not considering the (business) value of my analysis enough
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
status_id,created_year,created_month,created_day,text,source,favorite_count,retweet_count,is_quote,is_retweet
1273727067792834560,2020,6,18,"You can fool anyone but not a programmer!
#AI #MachineLearning #100DaysOfCode #100DaysOfMLCode #BigData #RStats #Python #coding #DataScience https://t.co/ffSahTrQhZ",Twitter Web App,0,6,FALSE,TRUE
1273721906181660675,2020,6,18,"Mistakes I did early on in my #DataScience career
🔹watching too many tutorials
🔹not writing enough code
🔹not considering the (business) value of my analysis enough
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
status_id,created_year,created_month,created_day,text,source,favorite_count,retweet_count,is_quote,is_retweet
1273727067792834560,2020,6,18,"You can fool anyone but not a programmer!
#AI #MachineLearning #100DaysOfCode #100DaysOfMLCode #BigData #RStats #Python #coding #DataScience https://t.co/ffSahTrQhZ",Twitter Web App,0,6,FALSE,TRUE
1273721906181660675,2020,6,18,"Mistakes I did early on in my #DataScience career
🔹watching too many tutorials
🔹not writing enough code
🔹not considering the (business) value of my analysis enough
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
status_id,created_year,created_month,created_day,text,source,favorite_count,retweet_count,is_quote,is_retweet
1273727067792834560,2020,6,18,"You can fool anyone but not a programmer!
#AI #MachineLearning #100DaysOfCode #100DaysOfMLCode #BigData #RStats #Python #coding #DataScience https://t.co/ffSahTrQhZ",Twitter Web App,0,6,FALSE,TRUE
1273721906181660675,2020,6,18,"Mistakes I did early on in my #DataScience career
🔹watching too many tutorials
🔹not writing enough code
🔹not considering the (business) value of my analysis enough