REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
| ANT000000 | Antiques & Collectibles / General | |
|---|---|---|
| ANT001000 | Antiques & Collectibles / Americana | |
| ANT002000 | Antiques & Collectibles / Art | |
| ANT003000 | Antiques & Collectibles / Autographs | |
| ANT005000 | Antiques & Collectibles / Books | |
| ANT006000 | Antiques & Collectibles / Bottles | |
| ANT007000 | Antiques & Collectibles / Buttons & Pins | |
| ANT008000 | Antiques & Collectibles / Care & Restoration | |
| ANT009000 | Antiques & Collectibles / Transportation | |
| ANT010000 | Antiques & Collectibles / Clocks & Watches |
| #!/bin/sh | |
| # View all the images stored in Safari's cache. | |
| echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\"" > ~/Desktop/cache.html | |
| echo " \"http://www.w3.org/TR/html4/strict.dtd\">" >> ~/Desktop/cache.html | |
| echo "<html lang=\"en\">" >> ~/Desktop/cache.html | |
| echo " <head>" >> ~/Desktop/cache.html | |
| echo " <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">" >> ~/Desktop/cache.html | |
| echo " <title>Cached Images</title>" >> ~/Desktop/cache.html |
REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
| # http://webapps.stackexchange.com/questions/39587/view-estimated-size-of-github-repository-before-cloning | |
| # tested on macOS | |
| echo https://github.com/torvalds/linux.git | perl -ne 'print $1 if m!([^/]+/[^/]+?)(?:\.git)?$!' | xargs -I{} curl -s -k https://api.github.com/repos/'{}' | grep size | |
| # output: | |
| # "size": 1746294, |
| #!/usr/bin/env php | |
| <?php | |
| // Determine which command has been called. | |
| $cmd = (!empty($argv[1])) ? strtolower($argv[1]) : null; | |
| // If an invalid number of arguments has been passed (or if no argument | |
| // was given at all), display help information. | |
| if ($argc < 2 || $argc > 3 || !in_array($cmd, ['save', 'load'])) { |
| 0-mail.com | |
| 007addict.com | |
| 020.co.uk | |
| 027168.com | |
| 0815.ru | |
| 0815.su | |
| 0clickemail.com | |
| 0sg.net | |
| 0wnd.net | |
| 0wnd.org |
Data Feminism
Catherine D’Ignazio, Lauren Klein
https://bookbook.pubpub.org/data-feminism
Awful AI
"Awful AI is a curated list to track current scary usages of AI - hoping to raise awareness to its misuses in society"
https://github.com/daviddao/awful-ai/blob/master/README.md
Architectures of Managerial Triumphalism (Review of Benjamin Bratton, The Stack: On Software and Sovereignty)
by R. Joshua Scannell, boundary2, 7 Nov 2018
| let allButton, mortButton, partButton, impButton, mortClose; | |
| function setup() { | |
| createCanvas(windowWidth, windowHeight); | |
| noStroke(); | |
| allButton = createButton('all'); | |
| allButton.position(width-220, 20); | |
| mortButton = createButton('mortality'); | |
| mortButton.position(width-220, 90); |
| // This app initially started from Flavio Copes analytics example | |
| // but diverged quite a bit to generate images as well as track views | |
| // https://flaviocopes.com/count-visits-static-site/ | |
| const express = require('express') | |
| const app = express() | |
| // no db - so global var to keep track of count | |
| let counter = 0 |