I hereby claim:
- I am f440 on github.
- I am f440 (https://keybase.io/f440) on keybase.
- I have a public key whose fingerprint is 4092 7D7D F720 F29F 312D 7FEA 951C 83FA 73A9 9D00
To claim this, I am signing this object:
pkgname=notes | |
pkgver=0.4.0 | |
pkgrel=1 | |
pkgdesc="Simple delightful note taking, with more unix and less lock-in." | |
arch=('any') | |
url="https://github.com/pimterry/notes" | |
license=('MIT') | |
md5sums=('c93c205640561c83cf31f8d25286b908') | |
package() { |
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<HTML> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<Title>Bookmarks</Title> | |
<H1>Bookmarks</H1> | |
<DT><H3 FOLDED>Favorites</H3> | |
<DL><p> | |
<DT><A HREF="http://www.apple.com/">Apple</A> | |
<DT><A HREF="https://www.icloud.com/">iCloud</A> | |
<DT><A HREF="https://www.facebook.com/">Facebook</A> |
NS ?= $(shell whoami) | |
REPO ?= $(shell basename $(shell pwd)) | |
VERSION ?= latest | |
CONTAINER = $(NS)-$(REPO) | |
.PHONY: build | |
build: | |
docker build -t $(NS)/$(REPO):$(VERSION) . |
#!/bin/bash | |
# apt-get -y update | |
apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev | |
wget -c https://openresty.org/download/openresty-1.9.15.1.tar.gz | |
tar zxvf openresty-1.9.15.1.tar.gz | |
cd openresty-1.9.15.1 | |
./configure \ | |
--sbin-path=/usr/sbin/nginx \ | |
--conf-path=/etc/nginx/nginx.conf \ |
[Unit] | |
Description=Memocurial | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
TimeoutStartSec=0 | |
ExecStartPre=/usr/bin/docker run -v /var/lib/memocurial/var:/app/var --entrypoint "bin/buildout" f440/memocurial | |
ExecStartPre=/usr/bin/docker run -v /var/lib/memocurial/var:/app/var f440/memocurial init-db | |
ExecStart=/usr/bin/docker run -p 5000:5000 --name %n -v /var/lib/memocurial/var:/app/var f440/memocurial runserver -h 0.0.0.0 |
# aglio test | |
## Install | |
npm install | |
./node_modules/.bin/aglio -i test.apib -o test.html |
#!/usr/bin/env ruby | |
require 'redis' | |
# 初期化 | |
# edit = EditModel(12345) | |
# | |
# 編集 | |
# edit.commit(serialized_object) | |
# |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>info.apatheia.RestartNotifyd</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>pkill</string> | |
<string>notifyd</string> |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
class Parser | |
# python's config format: https://docs.python.org/2/library/configparser.html | |
def self.parse(contents) | |
sections = {} | |
contents.each_line do |line| | |
case line | |
when /\s*[#;]/, /^\s*$/ | |
# skip |