Skip to content

Instantly share code, notes, and snippets.

View mturquette's full-sized avatar

Michael Turquette mturquette

View GitHub Profile
@mturquette
mturquette / post.html
Created January 31, 2016 06:29
Show version history for GitHub Pages on every post
diff --git a/_layouts/post.html b/_layouts/post.html
index a2b4e52..8acae45 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -9,6 +9,7 @@ layout: default
</header>
<article class="post-content">
+ <blockquote> <p>This article's version history <a href="https://github.com/mturquette/mturquette.github.com/commits/master/_posts/{{ page.id | slugify | append: ".md" }}">on GitHub</a></p></blockquote>
{{ content }}
*/15 * * * * ~/.local/bin/mail.cron
@mturquette
mturquette / alot-config
Created January 18, 2016 07:11
Out-going mail queue for msmtp and alot
[accounts]
[[baylibre]]
...
sendmail_command = msmtpq -a baylibre -t
@mturquette
mturquette / .offlineimaprc
Created January 18, 2016 06:29
OfflineIMAP nametrans and folderfilter example
[Repository local-baylibre]
...
nametrans = lambda folder: {
'drafts': '[Gmail]/Drafts',
'flagged': '[Gmail]/Starred',
'important': '[Gmail]/Important',
'inbox': 'INBOX',
'spam': '[Gmail]/Spam',
'trash': '[Gmail]/Trash',
}.get(folder, folder)
[bindings]
[[thread]]
| = "pipeto 'git am -s3'"
@mturquette
mturquette / dot-config-slash-alot-slash-config
Created January 18, 2016 06:05
Gmail-like keybindings for alot
[bindings]
g i = 'search tag:inbox'
g s = 'search tag:flagged'
g t = 'search tag:sent'
g d = 'search tag:drafts'
u = bclose
d =
m =
c = compose
@mturquette
mturquette / .offlineimaprc
Created January 18, 2016 00:00
maildir-notmuch-sync pre- and post-sync OfflineIMAP hooks
[Account foo]
localrepository = local-foo
remoterepository = remote-foo
autorefresh = 10
quick = 10
presynchook = /home/mturquette/.local/bin/maildir-notmuch-sync pre /home/mturquette/mail/foo
postsynchook = /home/mturquette/.local/bin/maildir-notmuch-sync post /home/mturquette/mail/foo
status_backend = plain
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 4134038..fa31cb5 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -1,4 +1,5 @@
# CPUfreq core
+ccflags-y += -fdump-rtl-expand
obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
obj-$(CONFIG_PM_OPP) += cpufreq_opp.o

Keybase proof

I hereby claim:

  • I am mturquette on github.
  • I am mturquette (https://keybase.io/mturquette) on keybase.
  • I have a public key whose fingerprint is BE4B AF4E CAB0 C33F 9235 20C4 3A8F 3B2F 5A7C 9849

To claim this, I am signing this object:

#!/bin/sh
usage(){
echo "usage: $0 <path/to/qpkg>"
}
if [ $# -ne 1 ]
then
usage
exit 1