System: Raspberry Pi 4, 4GB RAM, Debian Linux 11 (bullseye) aarch64
# install required packages:
sudo apt-get install -y g++ clang libc++-dev libc++abi-dev cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev
#!/usr/bin/env sh | |
# requirement: sudo npm install -g asar | |
set -eu | |
# Clean up previous failed attempts | |
rm -rf ~/tmp/slack | |
rm -rf ~/tmp/app.asar | |
# Unpack |
A significant amount of press (a selection that is by no means exhaustive has been linked below) has been given to companies and organizations that are doing 4 day/8 hour work weeks without a change in compensation. Organizations that adopted a 4 day work week experienced
A. Schneider, "Real-Time Volumetric Cloudscapes," in GPU Pro 7: Advanced Rendering Techniques, 2016, pp. 97-127. (Follow up presentations here, and here.)
S. Hillaire, "Physically Based Sky, Atmosphere and Cloud Rendering in Frostbite" in Physically Based Shading in Theory and Practice course, SIGGRAPH 2016. [video] [course notes] [scatter integral shadertoy]
[R. Högfeldt, "Convincing Cloud Rendering – An Implementation of Real-Time Dynamic Volumetric Clouds in Frostbite"](https://odr.chalmers.se/hand
const fs = require('fs'); | |
const fetch = require('node-fetch'); | |
const FormData = require('form-data'); | |
const filePath = `path/to/file.ext`; | |
const form = new FormData(); | |
const stats = fs.statSync(filePath); | |
const fileSizeInBytes = stats.size; | |
const fileStream = fs.createReadStream(filePath); | |
form.append('field-name', fileStream, { knownLength: fileSizeInBytes }); |
#!/bin/bash | |
# Assuming $title and $name are read from input. | |
# ... | |
# Escaping space characters is only necessary within the shell script. | |
# If you're running the find...sed command directly in the shell, you don't need to escape spaces. | |
cleanedtitle="${title// /\\ }" | |
# Replace the placeholders with the title (with escape characters inserted). |
const pluginRss = require("@11ty/eleventy-plugin-rss"); | |
module.exports = function(eleventyConfig) { | |
// Lots of other stuff probably goes here | |
eleventyConfig.addCollection("allUpdates", function(collection) { | |
return collection.getFilteredByGlob(["posts/*.md", "photos/*.md", "notes/*.md"]).sort(function(a, b) { | |
return b.date - a.date; | |
}); |
Did you know Vim has a few builtin features designed to help with the "Jump to Definition" action you see in most IDEs?
Since Vim is a "dumb" editor (that is, it doesn't do any static analysis on your text), you'd expect a "Jump to Definition" feature that relies on a simple text search.
Hi G—,
Thanks for getting in touch. I am not interested in working at Uber for a number of reasons, which are probably all-too-familiar to you.
Labor issues, specifically the abuse of "dependent contractors”
https://www.theguardian.com/technology/2017/feb/28/uber-ceo-travis-kalanick-driver-argument-video-fare-prices
Lack of transparency around pay, a willingness to change pay out from under drivers (who have very little recourse)
http://mycitypaper.com/uberdriver/