Skip to content

Instantly share code, notes, and snippets.

@atweiden
atweiden / cellulosic-ethanol-supply-chain.md
Created March 14, 2016 19:21
Notes on cellulosic ethanol supply chain

Supply Chain

  1. Solar energy / Photosynthesis
  2. Foodstock fields
  3. Tractor trailer
  4. Ethanol biorefinery aka "Cellulosic Ethanol Plants" (located in close proximity to foodstock fields)
  5. Railroad / Tractor trailer
  6. Wholesale terminals (fuel blending and storage)
@atweiden
atweiden / mac-osx-live-usb-from-iso.md
Created March 20, 2016 06:00
create mac-bootable LiveUSB from Linux ISO

Create LiveUSB from Linux ISO on Mac OS/X

Overview

  • transfer ISO from Linux to Mac OS/X over wifi LAN (optional)
  • create LiveUSB from ISO
  • boot from LiveUSB
/* vim: ft=journal */
Ada Tutorial
============
Variables and Types
-------------------
- Variables must be declared between a procedure/function's `is` and `begin`
statements
@atweiden
atweiden / XresourcesXFCE.md
Created October 28, 2015 17:21
Convert URxvt Xresources to XFCE terminal color theme
@atweiden
atweiden / nvidia.txt
Created June 23, 2016 16:57
Nvidia support
/* vim: ft=journal */
Enabling Nvidia Dedicated Graphics Support
==========================================
- “nvidia 364.16 adds support for DRM kernel mode setting. To
enable this feature, add the `nvidia-drm.modeset=1` kernel parameter,
and add `nvidia`, `nvidia_modeset`, `nvidia_uvm` and `nvidia_drm`
to your initramfs#MODULES.” [1]
@atweiden
atweiden / telescope.p6
Last active October 10, 2017 03:32
Evaluate earnings opportunities with Telescope
use v6;
# p6doc {{{
=begin pod
=head NAME
Telescope
=head SYNOPSIS
@atweiden
atweiden / hiragana.p6
Created January 21, 2019 00:18
Practice hiragana
use v6;
=begin pod
=head Learn Hiragana
=head3 L<Tofugu: Learn Hiragana|https://www.tofugu.com/japanese/learn-hiragana/>
=begin markdown
letter | sound | kana | memorization
@atweiden
atweiden / fetch-qubes.sh
Last active September 9, 2019 02:02
Fetch QubesOS
#!/bin/bash
# depends=('aria2' 'curl' 'git' 'gnupg')
# https://www.qubes-os.org/doc/installation-guide/
_qubes_download_dir="$HOME/Downloads/qubes-dl"
_qubes_download_url=https://mirrors.kernel.org/qubes/iso
_qubes_download_name=Qubes-R3.0-x86_64-DVD.iso
# https://www.qubes-os.org/doc/verifying-signatures/
# fetch qubes gpg sigs {{{
@atweiden
atweiden / fetch-tails.sh
Created March 15, 2016 20:43
Fetch Tails
#!/bin/bash
# depends=('aria2' 'curl' 'gnupg')
_version=2.2
_tails_download_dir="$HOME/Downloads/tails-dl"
_tails_download_url=http://dl.amnesia.boum.org/tails/stable/tails-i386-$_version
_tails_download_name=tails-i386-$_version.iso
# https://tails.boum.org/doc/about/openpgp_keys/index.en.html
# fetch tails gpg sigs {{{
@atweiden
atweiden / AddInsertNewline.vim
Created September 13, 2019 00:15
Insert or append a new blank line in Vim
function! PutBlankLineAbove()
let l:count = v:count ? v:count : 1
normal m`
for i in range(1, l:count)
put! _
endfor
normal ``
execute ":normal \<Left>"
endfunction