First install Termux
Then there are two options:
Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:
First install Termux
Then there are two options:
Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:
| import i3ipc | |
| i3 = i3ipc.Connection() | |
| def on_window_focus(i3, e): | |
| cont = e.container | |
| if cont.rect.width < cont.rect.height: | |
| print("splitv") | |
| i3.command("split vertical") | |
| else: |
| ! special | |
| *.foreground: #d1d1d1 | |
| ! *.background: #221e2d | |
| *.cursorColor: #d1d1d1 | |
| ! black | |
| *.color0: #272822 | |
| *.color8: #75715e | |
| ! red |
Make a circle circle pack to fill any arbitrary shape (loaded from an SVG file) inspired by http://mathematica.stackexchange.com/questions/40334/generating-visually-pleasing-circle-packs
Live example: http://bl.ocks.org/gouldingken/8d0b7a05b0b0156da3b8
Gist: https://gist.github.com/gouldingken/8d0b7a05b0b0156da3b8
The same approach using squares instead of circles: http://bl.ocks.org/gouldingken/25df41d631a3557d80b7
| # Install ARCH Linux with encrypted file-system and UEFI | |
| # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
| # Download the archiso image from https://www.archlinux.org/ | |
| # Copy to a usb-drive | |
| dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
| # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
| # Set swedish keymap |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2012 Schaun Jacob Wheeler | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
| ## Jon-Michael Deldin | |
| ## Pattern Recognition | |
| ## Edge Detection | |
| ## Spring 2013 | |
| ## | |
| ## | |
| ## USAGE | |
| ## ------ | |
| ## Rscript edges.R | |
| ## |