Skip to content

Instantly share code, notes, and snippets.

View Tylerdclark's full-sized avatar
🤓
Always learning!

Tyler Clark Tylerdclark

🤓
Always learning!
View GitHub Profile
@Tylerdclark
Tylerdclark / sort-print.py
Created September 2, 2020 17:28
spent more time automating spanish assignment than doing it. Just a way to take a comma separated txt file, sort it, and print it.
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
file_object = open(f'{dir_path}/cognates.txt')
the_words = []
for line in file_object:
formatted_line = line.rstrip().split(',')
if formatted_line != ['']:
the_words.append(formatted_line)
@Tylerdclark
Tylerdclark / test.js
Last active September 2, 2020 17:33
this runs in the omnibox. self executing function?
javascript:(function(){
alert('success!')
})()
{
"git.path": "/usr/bin/git",
"git.enabled": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
Java 11 hrs 32 mins ██████████████████▉░░ 90.0%
XML 28 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.7%
Bash 15 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.0%
YAML 9 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.2%
JSON 8 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.1%