Dashing widget to display weather from forecast.io. This widget was forked from https://gist.github.com/mjamieson/5274790 to add Skycons and the forecast for later in the day.
##Usage
;; Workaround the annoying warnings: | |
;; Warning (mumamo-per-buffer-local-vars): | |
;; Already 'permanent-local t: buffer-file-name | |
(when (version<= "24.2" emacs-version) | |
(eval-after-load "mumamo" | |
'(setq mumamo-per-buffer-local-vars | |
(delq 'buffer-file-name mumamo-per-buffer-local-vars)))) |
#!/bin/sh | |
# This is a hack. In real life, never parse JSON with a regular expression. Never write SQL unencoded to a string. | |
perl -nE 'push @urls, $1 if m/^\s+"url":\s+"(.+?)"/; END { say q[select url, title, visit_count from urls where url in ("], join(q(","), @urls), q[") order by visit_count desc;] }' ~/.config/chromium/Default/Bookmarks | sqlite3 -csv ~/.config/chromium/Default/History |
0 zero | |
1 one | |
2 two | |
3 three | |
4 four | |
5 five | |
6 six | |
7 seven | |
8 eight | |
9 nine |
#!/usr/bin/perl | |
use v5.16; | |
use warnings; | |
use bigint; | |
use Lingua::EN::Numbers; | |
sub output { | |
my $i = shift; | |
say $i, "\t", Lingua::EN::Numbers::num2en($i); |
Dashing widget to display weather from forecast.io. This widget was forked from https://gist.github.com/mjamieson/5274790 to add Skycons and the forecast for later in the day.
##Usage
I hereby claim:
To claim this, I am signing this object: