tl;dr we're lazy, we're coders.
Let's make use of that.
- We don't like to start off new projects and write all the booooring boilerplate
- We like to fiddle with code and fix it
- We like recognition
- We're quickly bored
Hence, I present to you my idea:
\documentclass{report} | |
\usepackage{graphicx} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
\lhead{LEFT} | |
\chead{CENTER} | |
\rhead{RIGHT} | |
\lfoot{a very long left header} | |
\cfoot{} | |
\rfoot{a very long right header} |
// example of how you do stuff as user x | |
route('/dashboard', function() { loadDashboard(getSession('user_id')); }); | |
// example of link to become another user | |
// make sure it's admin only | |
route('/changelink/:userid', requireAdmin, function(req) { | |
setSession('is_faking', getSession('user_id')); | |
setSession('user_id', req.params.userid); | |
}); |
tl;dr we're lazy, we're coders.
Let's make use of that.
Hence, I present to you my idea:
chrome.browserAction.onClicked.addListener(connect); |
I hereby claim:
To claim this, I am signing this object:
So... my use case is the following: I have 2 screens. And I have ~3-5 | |
windows on each screen. So I want an easy way to go to each window | |
quickly. | |
I currently have this in my .stumpwmrc to help with this: | |
(loop for i from 1 to 9 | |
do (define-key | |
*top-map* | |
(kbd (format nil "s-~d" i)) |
(defpackage #:lispkit.link-hints | |
(:use :parenscript)) | |
(in-package #:lispkit.link-hints) | |
(defun find-links (window document) | |
"Finds all the links within the viewport" | |
nil) | |
(defun add-hints (links) |
I am the Miaou user with id 3 and name "Florian" on http://dystroy.org/miaou |
SCSS_SOURCES := $(wildcard scss/*.scss) | |
CSS_OUT := $(patsubst %.scss, tmp/%.css, $(notdir $(SCSS_SOURCES))) | |
all: gen-css | |
tmp/%.css: scss/%.scss | |
cp $< $@ | |
gen-css: $(CSS_OUT) |
(defcommand head-windowlist () () | |
"shows the list of windows on a single head" | |
(select-window-from-menu | |
(head-windows (current-group) (current-head)) | |
*window-format*)) |