I hereby claim:
- I am mjm on github.
- I am mmoriarity (https://keybase.io/mmoriarity) on keybase.
- I have a public key ASAUZ6JhJyj8M6SIMQyxH8ZN7Sdj8qGjGMIQbzAnaMZEQAo
To claim this, I am signing this object:
| ;;; A date library that follows principle of least surprise | |
| ;;; | |
| ;;; A few usage examples: | |
| ;;; | |
| ;;; user> (now) | |
| ;;; {:second 24, :minute 10, :hour 0, :type | |
| ;;; :clojure.contrib.date/DateTime, :year 2009, :month 1, :day 23 | |
| ;;; :zone "America/New_York"} | |
| ;;; | |
| ;;; user> (today) |
| ;;; A date library that follows principle of least surprise | |
| (ns clojure.contrib.date) | |
| (import 'java.util.Calendar) | |
| (import 'java.util.TimeZone) | |
| (def #^{:doc "Conversion of Calendar weekdays to keywords"} | |
| weekday-map | |
| {Calendar/SUNDAY :sunday | |
| Calendar/MONDAY :monday |
| fatal: bad object 92ab867c4a7049548545ea4b2a8d80c38abebb1d | |
| error: pack-objects died with strange error | |
| error: failed to push some refs to '[email protected]:cooldude127/emacs-starter-kit.git' |
| (ns structures.avl-tree) | |
| (defn height [tree] | |
| (if (nil? tree) | |
| 0 | |
| (inc (max (height (:left tree)) | |
| (height (:right tree)))))) | |
| (defn balance [tree] | |
| (- (height (:left tree)) |
| (in-package :hax0r.fork) | |
| (defgame fork-game | |
| (:start-in mansion-foyer) | |
| (:welcome "=== FORK: the cool person's game ===") | |
| (defloc mansion-foyer "a creepy mansion foyer" | |
| (door west other-room)) | |
| (defloc other-room "a room inside the creepy mansion" |
| [operation setWillSendRequestForAuthenticationChallengeBlock:^(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge) { | |
| [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge]; | |
| }]; |
| function deansi(log) { | |
| var ansi, text; | |
| log = log.replace(/\r\r/g, '\r').replace(/\033\[K\r/g, '\r').replace(/\[2K/g, '').replace(/\033\(B/g, '').replace(/\033\[\d+G/g, ''); | |
| ansi = ansiparse(log); | |
| text = ''; | |
| ansi.forEach(function(part) { | |
| var classes = []; | |
| part.foreground && classes.push(part.foreground); | |
| part.background && classes.push('bg-' + part.background); | |
| part.bold && classes.push('bold'); |
| var express = require('express'); | |
| var app = express(); | |
| var router1 = express.Router(); | |
| router1.use(function (req, res, next) { | |
| console.log('router1 middleware called.'); | |
| next(); | |
| }); | |
| router1.get('/1', function (req, res) { |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "version": "https://jsonfeed.org/version/1", | |
| "title": "My Example Feed", | |
| "home_page_url": "https://example.org/", | |
| "feed_url": "https://example.org/feed.json", | |
| "items": [ | |
| { | |
| "id": "3", | |
| "content_html": "<p>This is a test post with an image:</p><img src=\"https://i.imgur.com/VBnsOdM.jpg\">", | |
| "url": "https://example.org/3" |