This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randint | |
# Quicksort with starting index as pivot | |
def qsort(items): | |
if len(items) < 2: | |
return items | |
pivot = items[0] | |
left = list(filter(lambda x: x <= pivot, items[1:])) | |
right = list(filter(lambda x: x > pivot, items[1:])) | |
return qsort(left) + [pivot] + qsort(right) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GoogleMeetShortcuts | |
// @namespace joshuatvernon | |
// @version 1.1.3 | |
// @description Add shortcuts to Google Meet | |
// @author Joshua Vernon | |
// @match https://meet.google.com/* | |
// ==/UserScript== | |
// Instructions: |