Skip to content

Instantly share code, notes, and snippets.

View jessykate's full-sized avatar

Jessy Kate Schingler jessykate

View GitHub Profile
@jessykate
jessykate / .change-tab-color-pwd
Created June 14, 2016 01:04 — forked from jakeonrails/.change-tab-color-pwd
How to have change the tab color in iTerm2 based on what folder or directory you are in
#!/usr/bin/env python
"""
Set terminal tab / decoration color by the server name.
Get a random colour which matches the server name and use it for the tab colour:
the benefit is that each server gets a distinct color which you do not need
to configure beforehand.
"""
#!/usr/bin/env python
import sys
import csv
'''
usage: ./cobudget_merge.py file1.csv file2.csv ... fileN.csv
combine cobudget allocations across mulitple files and print result to stdout.
take the full outer join of the rows in each file, *summing* balances if an
email is present multiple times.
@jessykate
jessykate / .zshrc
Last active July 19, 2023 20:25
a "most recent" command showing file listing of mobi, pdf and epub across sub-directories sorted by time
# Show the most recent files of type mobi, pdf or epub, sorted with most recent at the bottom. Works on files and subdirectories of the current directory.
# Useful references:
# find -printf is not POSIX. `-printf` becomes `-print0 | xargs -0 stat -f`
# need to convert format specifiers as well.
# '%A@ %Ab %Ad %AY %AH:%AM || %P' shows last access time in seconds since the epoch. the month, day, year and time, a "||" separator, then filename.
# POSIX's `find` printf arguments: https://man7.org/linux/man-pages/man1/find.1.html
# POSIX version (Linux)
alias mr="find . -type f \( -iname '*.pdf' -o -iname '*.mobi' -o -iname '*.epub' \) -printf '%A@ %Ab %Ad %AY %AH:%AM || %P \n' | sort -n | cut -f2- -d\" \""

Coordi-nations: A New Institutional Structure for Global Cooperation

Introduction:

In today’s complex and interconnected world, the existing nation-state system faces significant challenges in addressing global issues and promoting international cooperation. In this essay, we elaborate upon the notion of “coordi-nations” as a new institutional structure with the potential to foster cooperation at a global scale. Coordi-nations present themselves as an alternative to the nation-state system that recognize new ways of organizing and facilitating collective action. By leveraging the opportunities presented by the information and communication revolution, coordi-nations have the ability to tackle global challenges while promoting inclusivity, participation, and diversity.

The Limitations of Nation-States:

Nation-states, despite their historical significance, exhibit several limitations. Membership in traditional nation-states ar