Skip to content

Instantly share code, notes, and snippets.

View munen's full-sized avatar

Zen Monk Alain M. Lafon munen

View GitHub Profile
@munen
munen / init.el
Created June 3, 2021 09:03
Small step towards auto-updating source blocks from a batch process
(require 'org)
(org-babel-do-load-languages
'org-babel-load-languages
'((shell . t)
(ruby . t)
(emacs-lisp . t)))
;; Don’t ask to execute a code block.
(setq org-confirm-babel-evaluate nil)
FROM ubuntu:16.04
MAINTAINER 200ok <info@200ok.ch>
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:mfikes/planck && \
apt-get update && \
apt-get install -y planck
RUN chmod +x /usr/bin/planck
@munen
munen / gist:fb52d021468c98f374b8f843827c95ff
Created May 9, 2020 13:27
organice - Google Drive verification request
Hi,
Thanks for your patience while we reviewed your project.
To continue the verification process for your project quickstart-1567408982418, you need to provide a homepage that accurately represents your app to Google users. Every OAuth2 project requires a homepage.
To make sure your users’ understanding of what your app does, your homepage must do the following:
Clearly explain what your app will do with user data.
Thoroughly describe how your app enhances user functionality.
(ns corona-stats.core
(:require [clojure.data.csv :as csv]))
(def csv-link "https://docs.google.com/spreadsheets/d/e/2PACX-1vQU0SIALScXx8VXDX7yKNKWWPKE1YjFlWc6VTEVSN45CklWWf-uWmprQIyLtoPDA18tX9cFDr-aQ9S6/pub?single=true&output=csv")
(def raw-data (slurp csv-link))
(defn csv-data->maps [csv-data]
(map zipmap
@munen
munen / check-amazon-for-ability-to-ship.js
Last active October 21, 2018 18:48
Greasemonkey script which finds the articles which actually can be shipped to your country
// ==UserScript==
// @name Check Amazon for ability to ship to CH
// @version 1
// @grant none
// @include https://www.amazon.de/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// ==/UserScript==
// BEGIN: Logic Article Page
// Check if article cannot be sent to CH and if so, close the tab

Keybase proof

I hereby claim:

  • I am munen on github.
  • I am munen (https://keybase.io/munen) on keybase.
  • I have a public key whose fingerprint is 79D6 2944 374F 5C7A A4DF 71CD E87B 13F0 C583 3B41

To claim this, I am signing this object:

@munen
munen / capture-templates.el
Created May 1, 2016 11:04
Create custom capture templates for emacs
(setq org-capture-templates
'(("t" "Todo" entry (file+headline (concat org-directory "inbox.org") "Tasks")
"* TODO %?\n %U\n %i\n %a")
("s" "Code Snippet" entry
(file (concat org-directory "snippets.org"))
;; Prompt for tag and language
"* %?\t%^g\n#+BEGIN_SRC %^{language}\n\n#+END_SRC")
("m" "Media" entry
(file+datetree (concat org-directory "media.org"))
"* %?\nURL: \nEntered on %U\n")))
@munen
munen / annotations.org
Last active December 28, 2016 22:32
32c3 CCC Talk annotations
@munen
munen / clear_domains
Created December 14, 2014 13:50
Permutate a list of keywords and find free domains
lom-atelier
lom
malort
maltherapie
mal-therapie
kunsttherapie
kunst-therapie
begleitetes-malen
malatelier
mal-atelier
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) 2268:1
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. application-4e82b8d1c050c31c3a4333aca885071c.js:5375
Loading Faye client... livepage-b3c16f0ccd44b6512b6d23737b24204d.js:10007
Initializing BlackboxService... livepage-b3c16f0ccd44b6512b6d23737b24204d.js:10007
Embed SWF on #flashContent livepage-b3c16f0ccd44b6512b6d23737b24204d.js:10007
Push subscribing to Faye channel '/t2268/public' onto promise chain. livepage-b3c16f0ccd44b6512b6d23737b24204d.js:10007
Faye client loaded. Instanciating Faye client... livepage-b3c16f0ccd44b6512b6d23737b24204d.js:10007
Instanciated Faye client. livepage-b3c16f0ccd44b6512b6d23737b24204d.js:10007
Subscribing to Faye channel /t2268/public... live