This file contains hidden or 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
| import sys | |
| from java.io import * | |
| import java.io.InputStream | |
| import java.io.FileInputStream | |
| import java.lang.String # blah....converting String types between Java/Python is tedious | |
| sys.path.append("pdfbox-1.0.0.jar") # or wherever you stashed it | |
| import org.apache.pdfbox | |
| """ | |
| This method merges the FileInputStreams that the streamList points to, into the |
This file contains hidden or 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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains hidden or 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
| (ns particles.core) | |
| (def display (.getElementById js/document "display")) | |
| (def context (.getContext display "2d")) | |
| (def damping 0.999) | |
| (def max-particles 250) | |
| (def line-width 2) | |
| (def app-state (atom {:width (.-innerWidth js/window) | |
| :height (.-innerHeight js/window)})) |
This file contains hidden or 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
| """Global LRU caching utility. For that little bit of extra speed. | |
| The caching utility provides a single wrapper function that can be used to | |
| provide a bit of extra speed for some often used function. The cache is an LRU | |
| cache including a key timeout. | |
| Usage:: | |
| import cache | |
| @cache.memoize |
- Life During Wartime explores the use of counterinsurgency practices by domestic US law enforcement. The border section is valuable although the entire book has useful infomation to understand policing.
- Targeted is a classic which documents the early stages of immigrant enforcement & detention as a profit model.
- Undoing Border Imperialism presents a radical reframing of how we talk about borders, empire, migration, and resistance. While a little dated, really valuable for a radical and people power based analysis.
- Violent Borders has an international view of the violence of borders.
To me, I also think the work of Fanon and [Edward Said](http://www.arabstereot
This file contains hidden or 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
| // This Zellij config offers a more modal experience than the default. There are | |
| // very few keybindings in the mode that you spend most of your time in, and we | |
| // need to hit `C-space` to go into a mode where we navigate. | |
| // The only keybindings in the normal mode are: | |
| // - `C-space` to go into the tmux mode | |
| // - `C-n` for a new pane | |
| // - `C-t` for a new tab | |
| // - `A-[` & `A-]` to go to the previous/next tab | |
| // - `S-arrow` to navigate between panes |