Before you do anything, perform a factory reset.
Lens: Manual
White bal: AT1
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
// uses jquery, but could be rewritten without | |
$(data).find('track').each(function (i, e) { | |
// console.log(e); | |
var tmp; | |
var loc = (tmp = e.getElementsByTagName('location')[0]) ? tmp.innerHTML : ""; | |
var img = (tmp = e.getElementsByTagName('image')[0]) ? tmp.innerHTML : ""; | |
var inf = (tmp = e.getElementsByTagName('info')[0]) ? tmp.innerHTML : ""; | |
var buy = (tmp = e.getElementsByTagName('buy')[0]) ? tmp.innerHTML : ""; | |
var fav = (tmp = e.getElementsByTagName('favorite')[0]) ? tmp.innerHTML : ""; | |
var tid = (tmp = e.getElementsByTagName('id')[0]) ? tmp.innerHTML : ""; |
The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.
However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on
-- MarI/O by SethBling | |
-- Feel free to use this code, but please do not redistribute it. | |
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM. | |
if gameinfo.getromname() == "Super Mario World (USA)" then | |
Filename = "DP1.state" | |
ButtonNames = { | |
"A", | |
"B", | |
"X", |
passwd -d root
echo $hostname > /etc/hostname
pacman -Suy
to update packages#!/bin/sh | |
# invoke global X session script | |
#. /etc/X11/Xsession | |
# HOW-TO : | |
# 1. Disable any Display Manager (lightdm/gdm/gdm3) from executing on startup | |
# 2. Allow user to start X : | |
# a. Edit /etc/X11/Xwrapper.config | |
# b. Set value : "allowed_users=anybody" | |
# 3. insert "su kiosk -c xinit &" into /etc/rc.local |
#!/usr/bin/env python | |
import pygtk | |
import gtk | |
import webkit | |
import sys | |
class Browser: | |
def __init__(self): |
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |