lmno.lol @alvaro

RSS feed for lmno.lol @alvaro
https://lmno.lol/alvaro (RSS)
visit blog
Blogging minus the yucky bits of the modern web
1 Jan 2025 | original ↗

Happy New Year! If you follow my blog, you may have noticed that I've been hosting it on lmno.lol for a while now, a blogging service I built (invitation-only until now). Why build a blogging platform There's been a resurgence in blogging of sorts. Wonderful in itself, but the popular platforms are fairly erm unfriendly to their readers. These...

symbol-overlay-mc now on MELPA
28 Dec 2024 | original ↗

Some time ago, I wrote about adding multiple cursor support to symbol-overlay by gluing the two packages together. If you're keen to learn how to bend Emacs to your way, have a look at that post. Later on, in a "Multiple cursors - how and why?" Reddit post, I showcased the overlay usage. Peter Oliver asked if the package could be submitted to...

Hello emacs.tv
23 Dec 2024 | original ↗

A few days ago, Sacha Chua mentioned how cool it would be to have an Emacs video index like Ruby Video. I mentioned how I had similarly considered a low-tech solution, maybe powered by plain text (bonus points for org mode of course). A little later, Sacha shared a preliminary video feed dump, in org! With that, I wrote the first experiment to...

An experimental (e)shell pager
9 Dec 2024 | original ↗

These days, my LLM interactions primarily take place via chatgpt-shell's compose UX. I've grown fond of this hybrid style of interaction. On sharing the latest incarnation, jllw asked about the possibility to port to comint shells. With jllw's great idea in mind, I set out to prototype an eshell pager, my preferred shell. The initial results...

LLM chat navigation
5 Dec 2024 | original ↗

LLM chats are often handy for refining answers to a question or task, part of a bigger goal. Navigating the chat transcript, copying and pasting, can be a frequent operation in the bigger goal. If we can do it more efficiently, the better. While chatgpt-shell offered chatgpt-shell-next-item and chatgpt-shell-previous-item commands, it had a few...

Awesome elisp
4 Dec 2024 | original ↗

A few days ago, redditor gollyned asked about best practices: developing on top of modern elisp packages. It reminded of my modern Emacs lisp libraries post, which I shared with them. While my post is roughly 4.5 years old, these days I continue to reach out to the likes of seq.el, map.el, subr-x.el and let-alist.el on a regular basis. My post...

ob-chatgpt-shell goes multi-model too
27 Nov 2024 | original ↗

A week ago, I announced chatgpt-shell going multi-model. What I failed to mention is that because ob-chatgpt-shell (its org babel Emacs cousin) relies on chatgpt-shell, this babel package has now gone multi-model also. ob-chatgpt-shell follows the familiar babel form. To swap models, use the existing :version param as follows. #+begin_src...

LLM iterate and insert
25 Nov 2024 | original ↗

chatgpt-shell includes a couple of mechanisms to operate on an Emacs buffer region. That is, select a region and ask the LLM robots to modify it for us. Until now, both of these mechanisms didn't quite close the loop. They could either modify current region or iterate on a separate solution, but never both. M-x chatgpt-shell-quick-insert While...

Toggle macOS menu bar from you know where
22 Nov 2024 | original ↗

I'm a fan of macOS's auto-hide menu bar setting. Unless I'm reaching out to a menu item, I don't typically need to have a visible menu bar, so I set auto-hide to "Always". On rare occasions, I turn this setting off (say for a screen grab). While reaching out to macOS Control Center is OK, I wanted to quickly toggle it from the comfort of Emacs...

chatgpt-shell goes offline
21 Nov 2024 | original ↗

Since chatgpt-shell going multi-model, it was only a matter of time until we added support for local/offline models. As of version 2.0.6, chatgpt-shell has a basic Ollama implementation (llama3.2 for now). chatgpt-shell is more than a shell. Check out the demos in the previous post. For anyone keen on keeping all their LLM interactions offline,...

chatgpt-shell goes multi-model
20 Nov 2024 | original ↗

Over the last few months, I've been chipping at implementing chatgpt-shell's most requested and biggest feature: multi-model support. Today, I get to unveil the first two implementations: Anthropic's Claude and Google's Gemini. Changing course In the past, I envisioned a different path for multi-model support. By isolating shell logic into a new...

chatgpt-shell splits up
13 Nov 2024 | original ↗

The chatgpt-shell package started as an experiment glueing the ChatGPT API to an Emacs comint buffer. Over time, it grew into several packages within the same repository: shell-maker, ob-chatgpt-shell, dall-e-shell, ob-dall-e-shell, and of course chatgpt-shell itself. I'm splitting the repository as a first step in reworking chatgpt-shell to...

Hide another detail
21 Oct 2024 | original ↗

It's been 5 years since I talked about showing/hiding Emacs dired details in style, a short post showcasing hide-details-mode (built-in) and diredfl (third-party). While my dired usage increased over the years, my dired config remained largely unchanged. Today, I'll show a new dired tweak. As you likely suspect by now, I'm a big fan of...

How I batch apply and save one-liners
21 Sept 2024 | original ↗

My significant other needed to share proof of address by providing a number of bank statements for a period of time. That's easy enough to download as pdfs from the bank, but statements typically provide more personal information than the recipient requires. For a proof of address, the first page is more than enough. macOS's Preview app can...

Emacs bubble mode
19 Sept 2024 | original ↗

From time to time, I want to grab a source code viewport of sorts and feed to an LLM for questioning. From Emacs, I normally use chatgpt-shell's chatgpt-shell-prompt-compose, which automatically grabs the active region. This led me to explore a few options to select a region, or maybe even roll my own. I should also mention, these regions don't...

Spiffing up those echo messages
11 Sept 2024 | original ↗

Well-ingrained into every Emacs user is the echo area, a one-stop shop to receive any kind of message from the editor, located at the bottom of the frame. Posting messages to this area from elisp couldn't be simpler: (message "Hello world") If we want to get a little fancier, we can propertize the text to add some styling. (message (propertize...

Seek and you shall find
7 Sept 2024 | original ↗

A couple of months ago, I introduced Ready Player Mode, an Emacs major mode used to peek at media files from my beloved text editor. The goal was simple. Treat opening media files like any other file, that is, open and go. The initial implementation served me well while reviewing lots of tiny audio files I used to practice learning a new...

Anki bookmarks
4 Sept 2024 | original ↗

Adding flashcards to your digital garden (with org-roam and Anki) - doubleloop. Anki Decks with Orgmode. anki-editor: Emacs minor mode for making Anki cards with Org. emacs-od2ae: Convert org-drill entries to anki-editor. org-anki: Sync org notes to Anki via AnkiConnect. org-drill.el - flashcards and spaced repetition for org-mode. org-fc: Spaced...

`*scratch*` v1.3 released
23 Aug 2024 | original ↗

It's been some time since the last release of *scratch* for iOS. If you haven't heard about *scratch*, it's a tiny app I built (part of the org bundle). *scratch* enables writing things on the go as quickly as possible. No need to create a new note. No need to bring keyboard up. Just open and write. Bonus: Basic Emacs org markup ;-) v1.3 (and...

The dired abstraction
16 Aug 2024 | original ↗

I recently wrote about image-mode's next/previous item navigation, a feature I wanted to bring to ready player mode. I was curious to see how image-mode resolved next and previous files, so I checked the associated keybinding (n) via helpful-key (my preferred alternative to describe-key), and landed on image-next-file. While this function only...

Ctrl-n/p everywhere. Balance restored.
1 Aug 2024 | original ↗

For some years now, I've enjoyed macOS Ctrl-n/p movement everywhere. I sometimes forget I need Karabiner Elements to reach certain macOS corners. macOS supports many Emacs bindings (out of the box). Ctrl-n and Ctrl-p are some of my favourites. Not only can I use these to move the cursor up and down while editing text, but in many cases, for list...

Emacs macOS native emoji picker (revisited)
25 Jul 2024 | original ↗

Update: Doh! I was wrong. There's a better way. So, I totally missed the macOS native emoji picker is actually supported out of the box 😭. Thanks to redditor u/hrabannixlisp who pointed me in the right direction. ns-do-show-character-palette is bound to C-s-SPC by default, which didn't work for me as I use (setq mac-command-modifier 'meta), that...

Fresh Eyes 1.7 released
24 Jul 2024 | original ↗

Back in April, I introduced Fresh Eyes: a tiny macOS utility helping me take care of my eyes. I spend a bunch of time in front of a computer screen and Fresh Eyes has been helping me stick with the often recommended 20-20-20 rule. Fresh Eyes 1.7 ships a handful of improvements suggested by users: Postpone Fresh Eyes for 1 hour, 2 hours, 3 hours,...

Ready Player Mode now on MELPA
21 Jul 2024 | original ↗

A few weeks ago, I announced Ready Player Mode's availability on GitHub. As of today, you can find it on MELPA. Ready Player Mode is a lightweight major mode to open media (audio/video) files in an Emacs buffer. Install, enable via M-x ready-player-mode and you should be good to go. Open and preview media files (audio + video) like other files....

OCR those buffers
17 Jul 2024 | original ↗

I've written about macosrec before. A tiny macOS command line utility I built to take screenshots or videos of my macOS windows. Sure, there are a gazillion utilities out there, but I wanted my own, so I could bend and integrate with Emacs buffers as needed. If you've seen me post a screenshot or gif after April 2023, it was likely taken with...

It's all up for grabs, compound with glue
14 Jul 2024 | original ↗

I've written before, once you learn a little elisp, Emacs becomes this hyper malleable editor/platform. A live playground of sorts, where almost everything is up for grabs. You can inspect and tweak behaviour of just about anything to your liking. While the compounding benefits of using your favourite Emacs utilities are evident over time,...

Ready Player Mode
3 Jul 2024 | original ↗

As an Emacs user, I eventually made the leap over to dired as my file manager of choice. Dired has magical things like wdired. But this post isn't so much about dired and more about the occasional need to peek at media files (images, audio, and video) from Emacs (including dired). To view images in Emacs, there's image mode, a fantastic major...

Hey mouse, don't mess with my Emacs font size
7 Jun 2024 | original ↗

While most of my Emacs workflows are typically keyboard-driven, I'm fairly pragmatic about mouse usage. My MacBook's trackpad is great for just kicking back to read and scroll through text. There are brief times, however, when that keyboard-driven muscle memory overlaps my mouse usage, resulting in a buffer catastrophe. I joke of course. What I'm...

Emacs: git rename, courtesy of dired
16 May 2024 | original ↗

Emacs wdired is a beautiful thing. You turn a directory representation into an editable buffer and you can do some magic. By magic, I mean you can apply your favourite text-editing commands to a directory and do some file management. Take, for example, batch-renaming. Turn wdired on via dired-toggle-read-only, use something like Magnar's...

Fresh Eyes now on the App Store
5 Apr 2024 | original ↗

A couple of days ago, I introduced Fresh Eyes, a little macOS utility to help me practice the 20-20-20 rule and take better care of my vision while on the computer. Today, Fresh Eyes was approved and is now available on the macOS App Store.

Fresh Eyes: 20-20-20 for macOS
3 Apr 2024 | original ↗

I've been lucky to have enjoyed healthy vision throughout my life. That is, until recently. Nothing major, I'll need glasses for some activities. I also learned from the optometrist I should follow the 20-20-20 rule to reduce eye strain. The 20-20-20 rule is simple: Take a break from looking at your computer screen every 20 minutes and look away...

Emacs 29.3 emergency release
25 Mar 2024 | original ↗

It was only last week when I upgraded to Emacs 29.2. Yup, I was late to the party. This week, we have a new release. Emacs 29.3 is an emergency bugfix release, so this time I've upgraded promptly. I'm on macOS using the great Emacs Plus so upgraded via Homebrew using: brew reinstall emacs-plus@29 --with-imagemagick --with-no-frame-refocus...

Emacs: Toggling the continuation indicator
24 Mar 2024 | original ↗

By default, Emacs typically displays curly arrows when wrapping lines. While likely a handy feature to some, I didn't really find much use for it. At the same time, I never looked into their removal until now. Turns out, there's a continuation entry in fringe-indicator-alist variable that handles this. Removing this entry also removes the curly...

The Org bundle
22 Mar 2024 | original ↗

I have three apps on the App Store: Plain Org, Flat Habits, and scratch. Plain Org / plainorg.com My more generic solution to access org files on the go and away from Emacs. Flat Habits / flathabits.com My take on frictionless habit tracking truly respecting user privacy and their time (absolutely no distractions). *scratch* / App Store Sure, we...

Som tam salad dressing recipe (improvised)
19 Mar 2024 | original ↗

Lately, I've been slightly obsessed with Som Tam, a magnificent salad packing both crunch and flavour. I didn't have all the right ingredients for the full-blown salad at home, so I set out to experiment with the dressing's punchy flavours. While I've gone a little rogue here, I mean no disrespect to the faithful recipe and all its glory....

sqlite-mode-extras on MELPA
19 Mar 2024 | original ↗

Emacs 29 introduced the handy sqlite-mode. Soon after, I tried a couple of experiments here and there to bring additional functionality. Folks reached out. The additions seemed useful to them and were keen on upstreaming or pushing to MELPA. While I can't commit to upstreaming at this moment, I can happily meet halfway on MELPA. As of a couple of...

My first bread (pane dei Castelli recipe)
14 Mar 2024 | original ↗

I followed The easiest no knead bread recipe (video). No-knead method Dough 1 1/4 cups (300g) lukewarm water 2 teaspoons (8g) salt 1 teaspoon (3.5g) yeast 3 cups (420g) all purpose flour Mix thoroughly (I like to use Ciro's spoon mixing method from this video), cover and rest for 6 hours. Stretch and fold if the dough collapsed on itself to...

Seafood stew recipe
11 Mar 2024 | original ↗

I've made this seafood stew a handful of times and it's always delivered. Garlic almond paste 1/8 cup of olive oil. 8 cloves of garlic chopped. 1/4 cup almond meal (flour). Cook garlic in low-medium heat until softened. Add almond meal and cook 3-4 mins or until golden. Set aside to cool. 1 large handful of parsley. Blend the almond mixture to...

A Cloudflare Workers primer: hello world
13 Jan 2024 | original ↗

o______________o | Hello world! | o--------------o \ ^__^ \ (oo)_______ (__)\ )\/\ ||----w | || || Keen to get started with your Hello World Cloudflare Worker? Skip to the setup section. A little background The vast majority of my software development experience has been...

A chatgpt-shell compose ux experiment
1 Jan 2024 | original ↗

It's been roughly 9 months since I experimented with wiring the ChatGPT API to an Emacs comint buffer in chatgpt-shell. ChatGPT's request-response nature maps fairly well to a shell's mode of interaction. In the past, I've also talked about blurring the lines between shell and editor. That is, using Emacs as your shell (eshell being my favourite)...

A Murder at the End of the World: Are you Vi or Emacs?
22 Dec 2023 | original ↗

I've enjoyed watching A Murder at the End of the World. The show may resonate with folks following the tech world. Won't say much more than that… What I can maybe say is, the shows features Reddit, Brave browser, terminal usage (ifconfig, nmap, hydra, responder), and a reference to the good 'ol Vi vs Emacs rivalry, which I hope folks these days...

An basic Mullvad WireGuard setup for macOS
17 Dec 2023 | original ↗

Needed a VPN to test an API from a different location. Gave Mullvad a try. Pretty neat, you can generate an account number without providing an email address. You can also pre-pay with a ton of options, including cash, crypto, credit cards, PayPal, wire transfers… After seeing your account credited, one can download a generated WireGuard...

An iOS journaling app powered by org plain text
6 Dec 2023 | original ↗

I've been experimenting with building a rich text editing component for iOS, powered by org markup. The idea is to offer a mobile-friendly editing experience, backed by our beloved plain text format. To make things a little more interesting, I'm introducing a new org-based app to help anyone with regular journaling. 👉 Meet ✨Journelly✨ Plain text...

Building your own bookmark launcher
29 Nov 2023 | original ↗

#+ATTR_HTML: :style text-align:right; ✨sponsor✨ this content I've been toying with the idea of managing browser bookmarks from you know where. Maybe dump a bunch of links into an org file and use that as a quick and dirty bookmark manager. We'll start with a flat list plus fuzzy searching and see how far that gets us. The org file would look a...

Native Emacs/macOS UX integrations via Swift modules
25 Nov 2023 | original ↗

Once you learn a little elisp, Emacs becomes this hyper malleable editor/platform. A live playground of sorts, where almost everything is up for grabs at runtime. Throw some elisp at it, and you can customize or extend almost anything to your heart's content. I say almost, as there's a comparatively small native core, that would typically require...

Migrating/re-encrypting pass's password store
16 Nov 2023 | original ↗

Note to self, I needed to migrate/re-encrypt someone's password store (aka pass). Straightforward: Get the new key, probably already in gpg key chain. Try listing it: gpg --list-keys To re-encrypt, pass init with new key is enough. It'll prompt for old pass key. cd path/to/.password-store pass init NEW-GPG-KEY

How I smash burgers
30 Oct 2023 | original ↗

I'm neither a burger expert nor a connoisseur of any kind, yet I sure have a lot of fun smashing burgers at home. Needless to say, I shamelessly enjoy gobbling them too! my smash burger I'll share details on how I smash my burgers, but here's a quick ingredient list, if that's all you need. Mince beef (20%-30% fat). Streaky bacon. Brioche burger...

Open in Xcode at line number
24 Oct 2023 | original ↗

I live mostly in Emacs. I say mostly 'cause well, I'm fairly pragmatic about it. If there's a workflow elsewhere that's more appropriate for my needs, I'll happily use that instead. While I'd love to do my web browsing from my beloved editor, Firefox ticks the right boxes for me. I do most of my iOS coding in Emacs. It's a hybrid of sorts between...

Creating an iCloud account (via tart VM)
6 Oct 2023 | original ↗

UPDATE: This method no longer works for creating iCloud accounts. I'd love to know if you find an alternative. Please let me know. I wanted an additional @icloud.com account for myself. My first thought was to head over to https://developer.apple.com and create a new account, but that requires an existing email address. I wanted an actual...

Displaying image details in mode line
6 Oct 2023 | original ↗

A benefit of running Emacs as a GUI app, is that you can view images from your beloved editor. This is super handy to take a quick peek at any image. Sometimes, I'd like a little more than just viewing the image. I'd like to see basic image details like type, dimensions, and file size. The imagemagick identify utility is pretty handy for that....

Trimming video screenshots
6 Oct 2023 | original ↗

A quick one… I recently wanted to trim the black borders around a video screenshot. While I could use an image editor to manually select and trim, I wondered if there was an imagemagick trick somewhere out there for such a thing… and of course there was: magick convert -fuzz 3% -define trim:percent-background=0% -trim +repage path/to/input.png...

Virtual machine (VM) bookmarks
4 Oct 2023 | original ↗

colima: Container runtimes on macOS (and Linux) with minima…. finch: The Finch CLI an open source client for container development. lima VM - Linux Virtual Machines On macOS - Earthly Blog. lima: A nice way to run Linux VMs on Mac | Hacker News. lima: Linux virtual machines. macpine: Lightweight Linux VMs on MacOS. OrbStack · Fast, light, simple...

Emacs hangs saving .authinfo.gpg (workaround)
16 Sept 2023 | original ↗

My Emacs (v29.1) was hanging when saving changes to .authinfo.gpg. Turns out, I ran into a known issue with a workaround. Downgrading gnupgp to a version older than 2.4.1 sorts things out. I'm on macOS. Downgraded by downloading the 2.4.0 Homebrew formula at...

Send note to Kindle
15 Sept 2023 | original ↗

While on Mastodon, I spotted @summeremacs looking into sending Emacs text selections to a Kindle via email. This sparked my interest as I previously looked into sending pdfs to my Kindle via mu4e. Kindle offers a neat service where you can email a file to your @kindle.com address and it automatically shows up in your Kindle library. I already do...

Redact that buffer
15 Sept 2023 | original ↗

As I was getting ready to take an Emacs screenshot in the previous post, I figured I may want to redact email addresses before moving forward. I had a quick look for existing options and found redacted.el, built-in toggle-rot13-mode, and unpackaged/lorem-ipsum-overlay. All great options. I wanted a solution I could feed a single regular...

SHA-256 hash from URL, the easy way
10 Sept 2023 | original ↗

From time to time, I need to generate a SHA-256 hash from a file hosted on some server. For me, this flow typically goes something along the lines of: Copy the file URL from browser. Drop to Emacs eshell. Change current directory. Type "curl -o file" Paste the file URL. Run curl command. Type "shasum -a 256 file". Run shasum command. Copy the...

Inline previous result and why you should edebug
5 Sept 2023 | original ↗

Artur Malabarba's Debugging Elisp Part 1: Earn your independence is nearly a decade old, yet it rings just as true today. Learning to Edebug really "is the right decision for anyone who doesn't know how to Edebug." Why, you may ask? He best puts it as "running into errors is not only a consequence of tinkering with your editor, it is the only...

Further sqlite-mode extensions
27 Aug 2023 | original ↗

I've continued poking at Emacs 29's sqlite-mode. Since my last post on extensions, I've experimented a little with adding a handful of interactive functions: sqlite-mode-extras-compose-and-execute: Compose and execute a query. sqlite-mode-extras-execute: Execute a query. sqlite-mode-extras-add-row: Add row to table at point....

My custom Tesco Clubcard pkpass
22 Aug 2023 | original ↗

My significant other and I had two plastic Tesco Clubcards. I lost mine, so I took a picture of hers. I was fairly certain a barcode photo would scan just as well at self-checkout, and it did. This got me thinking about Apple's Wallet pkpasses. I don't really know much about them. Could I potentially create my own .pkpass? If I could just include...

Extending sqlite-mode (cell navigation + edits)
7 Aug 2023 | original ↗

I recently wrote about Emacs 29's new sqlite-mode, which enables you to browse sqlite databases from your beloved editor. Out of the box, it supports the following browsing features: sqlite-mode-list-data: List the data from the table under point. sqlite-mode-list-column: List the columns of the table under point. sqlite-mode-list-tables: Re-list...

Emacs 29's sqlite-mode
6 Aug 2023 | original ↗

I've jumped on the Emacs 29 bandwagon! Mickey Petersen has a great rundown of What's New in Emacs 29.1. Now every so often, I need to take a quick peek at an sqlite3 table. Emacs 29.1 ships sqlite-mode, which can help with that. Use sqlite-mode-open-file to open a database. Pressing RET on a table shows its content via sqlite-mode-list-data. DEL...

Emacs: scan this QR/bar code
30 Jul 2023 | original ↗

Another day, another tool brought to my Emacs fingertips. A while ago, I wrote about easily copying text from desktop to mobile via QR codes. Later on, I brought it under dwim-shell-command as dwim-shell-commands-clipboard-to-qr. This time around, I needed the opposite: to scan a code from an image file. This is where zbar's zbarimg comes in....

A cure for JavaScript fatigue?
25 Jul 2023 | original ↗

It's been roughly a decade since I wrote any significant amount of JavaScript. Back then, I primarily relied on the Google Closure Compiler, now maybe an archaeological artefact? These days, it's hard not to bump into any JavaScript project that doesn't rely on npm, along with many other tools like the Typescript compiler, ESLint, Prettier… There...

ChatGPT visits the Emacs doctor
12 Jul 2023 | original ↗

Emacs is a part-time job. A multi-language development environment. A lisp machine. An email client. A web browser. A zettelkasten. A spreadsheet. A mastodon client. A shell. A ledger. A super agenda. An operating system. Some say it sends ripples into the atmosphere or plays tetris for you. It may even warm your place up during the winter. Can...

chatgpt-shell v0.60.1 updates
9 Jul 2023 | original ↗

Back in April, I shared chatgpt-shell updates, showcasing chatgpt-shell features. It's been a little while, so here's an update with the latest additions. Like this project? Consider ✨sponsoring✨. Multi-session support You can run multiple shell instances independently configured to use different versions or system prompts. This was biggest...

Duplicate this!
5 Jul 2023 | original ↗

James Dyer has a nice post sharing his frequent dired need to duplicate files. He offers a solution using a custom interactive command. His use-case resonated with me. Similarly, James' recommendation to bind his file-duplicating command to C-c d [^1] sent a signal to my brain triggering Bozhidar Batsov's crux-duplicate-current-line-or-region....

Stitching images from the comfort of dired
29 Jun 2023 | original ↗

I recently wanted a few images stitched together. A perfect job for ImageMagick. A quick search yielded the magical incantation: convert image1.jpg image2.jpg image3.jpg +append joined.jpg Great, now I know, but I'll rarely use it and will soon forget it. I may as well add it to my repository of DWIM command line utilities, wrapped in a...

noweb: the lesser known org babel glue
18 Jun 2023 | original ↗

While Org babel's noweb isn't something I've frequently used for literate programming, its simplicity makes it rather versatile to glue all sorts of babel things I hadn't previously considered. The idea is simple. Add a placeholder like > to an org babel source block, and it will be automatically replaced (verbatim) with the content (or result)...

Deleting from Emacs sequence vars
25 May 2023 | original ↗

Adding hooks and setting variables is core to customizing Emacs. Take a major mode like emacs-lisp-mode as an example. To customize its behaviour, one may add a hook function to emacs-lisp-mode-hook, or if you're a little lazy while experimenting, you may even use a lambda. (add-hook 'emacs-lisp-mode-hook #'my/emacs-lisp-mode-config)...

Sprinkle me logs
18 May 2023 | original ↗

At times, basic prints/logs are just about the right debugging strategy. Sure, we have debuggers and REPLs which are super useful, but sometimes you just know that sprinkling your code with a handful of temporary prints/logs will get you enough info to fix an issue. I must confess, my temporary print statements are fairly uninspiring. Sometimes I...

dwim-shell-command on Windows + upload to 0x0.st
11 May 2023 | original ↗

You can now use dwim-shell-command on Windows. Shoutout to Kartik Saranathan, who sent a pull request to get rid of ls usage. Also thanks to Bram for sharing his upload to 0x0.st implementation. I'd been wanting to do something similar for imgur, but 0x0.st is a much better alternative! dwim-shell-commands-upload-to-0x0 is now part of...

chatgpt-shell siblings now on MELPA also
1 May 2023 | original ↗

In chatgpt-shell updates, I highlighted dall-e-shell (a DALL-E Emacs shell), ob-chatgpt-shell (ChatGPT org babel support), and ob-dall-e-shell (DALL-E org babel support) were initially excluded from the chatgpt-shell MELPA submission while I worked out their split. That's now sorted and the packages are available on MELPA. Here's ob-chatgpt-shell...

Generating elisp org docs
28 Apr 2023 | original ↗

chatgpt-shell's README includes few org tables documenting the package's customizable variables as well as available commands. Don't worry, this isn't really another ChatGPT post. Here's an extract of the docs table: | Custom variable | Description |...

LLM bookmarks
25 Apr 2023 | original ↗

A New Age of Magic. Bark – Text-prompted generative audio model | Hacker News. Brex’s Prompt Engineering Guide | Hacker News. GitHub - suno-ai/bark: 🔊 Text-Prompted Generative Audio Model. How to run your own LLM (GPT). PromptPerfect - Elevate Your Prompts to Perfection with AI Prompt Engineering. Running LLMs Locally | Y.K. Goon. ShareGPT:...

chatgpt-shell updates
25 Apr 2023 | original ↗

About a month ago, I posted about an experiment to build a ChatGPT Emacs shell using comint mode. Since then, it's turned into a package of sorts, evolving with user feedback and pull requests. Now on MELPA While chatgpt-shell is a young package still, it seems useful enough to share more widely. As of today, chatgpt-shell is available on MELPA....

Recording and screenshotting windows: the lazy way
22 Apr 2023 | original ↗

While there's no substitution for great written documentation, a quick demo can go a long way in conveying what a tool if capable of doing or what a tip/trick can achieve. If you've read a handful of my posts, you would have come across either a screenshot or a short clip with some demo. Historically, I've used the macOS's built-in utility...

ob-swiftui updates
20 Apr 2023 | original ↗

While experimenting with delegating Markdown blocks to Org babel in Emacs chatgpt-shell, I resurrected ob-swiftui. A package I had written to execute and render SwiftUI blocks in org babel. ob-swiftui has two modes of rendering SwiftUI blocks: :results window, which runs outside of Emacs in a native window and :results file, which renders and...

My Emacs eye candy
15 Apr 2023 | original ↗

I get the occasional question about my Emacs theme, font, and other eye candy. I'm always tickled and happy to share. It's been a while since I've made visually significant changes to my Emacs config. May as well briefly document for posterity… Nyan Mode First things first. The adorable and colorful little fella in my mode line is a Nyan Cat (if...

shell-maker, a maker of Emacs shells
8 Apr 2023 | original ↗

A few weeks ago, I wrote about an experiment to bring ChatGPT to Emacs as a shell. I was fairly new to both ChatGPT and building anything on top of comint. It was a fun exercise, which also generated some interest. As mentioned in the previous post, I took inspiration in other Emacs packages (primarily ielm) to figure out what I needed from...

Flat Habits 1.1.4 released
6 Apr 2023 | original ↗

Flat Habits 1.1.4 is now available on the App Store. Flat Habits is a habit tracker that’s mindful of your time, data, and privacy. It's a simple but effective iOS app. If you care about how your data is stored, Flat Habits is powered by org plain text markup without any cloud component. You can use your favorite editor...

A ChatGPT Emacs shell
21 Mar 2023 | original ↗

UPDATE: chatgpt-shell has evolved a bit and is now on MELPA. I had been meaning to give ChatGPT a good try, preferably from Emacs. As an eshell fan, ChatGPT seemed like the perfect fit for a shell interface of sorts. With that in mind, I set out to wire ChatGPT with Emacs's general command interpreter (comint). I had no previous experience...

`*scratch*` a new minimal org mode scratch area for iOS
4 Mar 2023 | original ↗

While we already have lots of note-taking apps on iOS, I wanted a minimal *scratch* area (à la Emacs), so I built one. What's the use-case? You're on the go. Someone's telling you directions, or a phone number, name of a restaurant, anything really… you just need to write it down right now, quickly! No time to create a new contact, a...

Chicken Karaage recipe
29 Jan 2023 | original ↗

Huge fan of Chicken Karaage, but never really made it at home until recently. Dice the chicken 350 grams boneless chicken thighs Dice the chicken up. Marinade for 30 mins 1 tablespoon soy sauce (Kikkoman or similar) 1 tablespoon cooking Sake 2 tablespoons of grated ginger (include liquids) 1/2 teaspoon Mirin Mix all ingredients into a ziploc bag....

Emacs: org-present in style
10 Jan 2023 | original ↗

I had been meaning to check out David Wilson's System Crafters post detailing his presentations style achieved with the help of org-present and his own customizations. If you're looking for ways to present from Emacs itself, David's post is well worth a look. org-present's spartan but effective approach resonated with me. David's touches bring...

Emacs: insert and render SF symbols
8 Jan 2023 | original ↗

About a week ago, I added an Emacs function to insert SF symbol names. This is specially useful for SwiftUI. I didn't bother too much with inserting symbols themselves since I hadn't figured out a way to render them for all buffers. That's now changed. Christian Tietze and Alan Third both have useful posts in this space: Emacs, fonts and fontsets...

Emacs: Macro me some SF Symbols
31 Dec 2022 | original ↗

For inserting SF Symbols in SwiftUI, I typically rely on Apple's SF Symbols app to browse the symbols's catalog. Once I find a symbol I'm happy with, I copy its name and paste it into my Swift source. This works fairly well. With Christian Tietze recently posting how he rendered SF Symbols in Emacs, I figured there may be a way to shift the above...

Emacs: ffmpeg and macOS aliasing commands
18 Dec 2022 | original ↗

On a recent mastodon post, Chris Spackman mentioned he uses Emacs to save ffmpeg commands he's figured out for later usage. Emacs is great for this kind of thing. I've tried different approaches over time and eventually landed on dwim-shell-command, a small package I wrote. Like Chris, I also wanted a way to invoke magical incantations of known...

Emacs: Context-aware yasnippets
12 Dec 2022 | original ↗

Back in 2020, I wrote a semi-automatic yasnippet to generate Swift initializers. I say semi-automatic because it could have been a little smarter. While it helped generate some of the code, what I really wanted was full context-aware generation. The Swift struct already had a few properties defined, so a smarter yasnippet should have been able to...

Emacs: quickly killing processes
13 Nov 2022 | original ↗

Every so often, I need to kill the odd unresponsive process. While I really like proced (check out Mickey Petersen's article), I somehow find myself using macOS's Activity Monitor to this purpose. Kinda odd, considering I prefer to do these kinds of things from Emacs. What I'd really like is a way to quickly fuzzy search a list of active...

Hey Emacs, change the default macOS app for…
6 Nov 2022 | original ↗

A few weeks ago, I added an "open with" command to dwim-shell-commands.el. It's pretty handy for opening files using an external app (ie. not Emacs) other than the default macOS one. dwim-shell-commands-macos-open-with and dwim-shell-commands-open-externally are typically enough for me to handle opening files outside of Emacs. But every now and...

Hey Emacs, where did I take that photo?
2 Nov 2022 | original ↗

I was recently browsing through an old archive of holiday photos (from dired of course). I wanted to know where the photo was taken, which got me interested in extracting Exif metadata. Luckily the exiftool command line utility does the heavy lifting when it comes to extracting metadata. Since I want it quickly accessible from Emacs (in either...

Emacs: A welcoming experiment
24 Oct 2022 | original ↗

The *scratch* buffer is the first thing I see when I launch an Emacs session. Coupled with persistent-scratch, it's served me well over the years. I gotta say though, my scratch buffer accumulates random bits and often becomes a little messy. It's not the most visually appealing landing buffer when launching Emacs. But who cares, I'm only a C-x b...

Emacs: Open with macOS app
14 Oct 2022 | original ↗

On a recent Reddit comment, tdstoff7 asked if I had considered writing an "Open with" DWIM shell command for those times one would like to open a file externally using an app other than the default. I hadn't, but nice idea. Take images as an example. Though Emacs can display them quickly, I also open images externally using the default app...

Improving on Emacs macOS sharing
12 Oct 2022 | original ↗

A quick follow-up to Emacs: macOS sharing (DWIM style)… Though functional, the implementation had a couple of drawbacks. Tohiko noticed fullscreen wasn't working at all while Calvin proposed enumeration for tighter Emacs integration. Calvin's suggestion enables using completing-read to pick the sharing service. This makes the integration feel...

Emacs: macOS sharing (DWIM style)
12 Oct 2022 | original ↗

UPDATE: See an improved implementation here. A few days ago, I wrote dwim-shell-commands-macos-reveal-in-finder. While I've written a bunch of other dwim-shell-commands, what set this case apart was the use of Swift to glue an Emacs workflow. (defun dwim-shell-commands-macos-reveal-in-finder () "Reveal selected files in macOS Finder." ...

Emacs: Reveal in macOS Finder (DWIM style)
9 Oct 2022 | original ↗

Just the other day, Graham Voysey filed an escaping bug against dwim-shell-command. Once he verified the the fix, he also posted two uses of dwim-shell-command-on-marked-files. I've made some small tweaks, but here's the gist of it: (defun dwim-shell-commands-feh-marked-files () "View all marked files with feh." (interactive) ...

dwim-shell-command usages: pdftotext and scp
1 Oct 2022 | original ↗

dwim-shell-command is a little Emacs package I wrote to enable crafting more reusable shell commands. I intended to use it as an async-shell-command alternative (and I do these days). The more surprising win was bringing lots of command-line utilities (sometimes with complicated invocations) and making them quickly accessible. I no longer need to...

Plain Org v1.5 released
1 Oct 2022 | original ↗

If you haven't heard of Plain Org, it gives you access to org files on iOS while away from your beloved Emacs. Hadn't had time to post, but v1.5 has been available on the App Store for a couple of weeks now. The update is mostly a bugfix release, primarily addressing inline editing issues that appeared on iOS 16, along with a few other changes:...

\$ rm Important.txt (uh oh!)
17 Sept 2022 | original ↗

Setting Emacs up to use your system trash can potentially save your bacon if you mistakenly delete a file, say from dired. Unsurprisingly, the trash safety net also extends to other Emacs areas. For example, discarding files from Magit (via magit-discard) becomes a recoverable operation. As an eshell user, the trash can also help you recover from...

Cycling through window layouts (revisited)
11 Sept 2022 | original ↗

Last year, I wrote a little script to cycle through window layouts via Hammerspoon. The cycling set I chose didn't stick, so here's another go. function reframeFocusedWindow() local win = hs.window.focusedWindow() local maximizedFrame = win:screen():frame() maximizedFrame.x = maximizedFrame.x + 15 maximizedFrame.y = maximizedFrame.y +...

dwim-shell-command with template prompts
18 Aug 2022 | original ↗

Somewhat recently, I wanted to quickly create an empty/transparent png file. ImageMagick's convert has you covered here. Say you want a transparent 200x400 image, you can get it with: convert -verbose -size 200x400 xc:none empty200x400.png Great, I now know the one-liner for it. But because I'm in the mood of saving these as seamless command-line...

Seamless command-line utils
14 Aug 2022 | original ↗

Just the other day, I received a restaurant menu split into a handful of image files. I wanted to forward the menu to others but figured I should probably send it as a single file. ImageMagick's convert command-line utility works great for this purpose. Feed it some images and it creates a pdf for you: convert image1.png image2.png image3.png...

Emacs freebie: macOS emoji picker
3 Aug 2022 | original ↗

I recently ran a little experiment to bring macOS's long-press-accents-like behavior to Emacs. What I forgot to mention is that macOS's character viewer just works from our beloved editor. If you have a newer MacBook model, you can press the 🌐 key to summon the emoji picker (character viewer). You may need to set this key binding from macOS...

dwim-shell-command video streams
1 Aug 2022 | original ↗

I continue hunting for use-cases I can migrate to dwim-shell-command… After adding clipboard support (via []{#cb}) I found one more. Copy URL from browser. Invoke dwim-shell-commands-mpv-stream-clipboard-url. Enjoy picture in picture from Emacs ;) What's the secret sauce? Very little. Invoke the awesome mpv with a wrapping function using...

An accentuated Emacs experiment (à la macOS)
30 Jul 2022 | original ↗

macOS has a wonderful input mechanism where you press and hold a key on your keyboard to display the accent menu. It's easy to internalize: long press "a" if you want to input "á". On Emacs, C-x 8 ' a would be the equivalent, but it just didn't stick for me. Fortunately, there's an alternative, using dead keys. Mickey Petersen gives a wonderful...

dwim-shell-command improvements
28 Jul 2022 | original ↗

Added a few improvements to dwim-shell-command. Dired region In DWIM style, if you happen to have a dired region selected, use region files instead. There's no need to explicitly mark them. Clipboard (kill-ring) replacement Use > to substitute with clipboard content. This is handy for cloning git repos, using a URL copied from your browser. git...

dwim-shell-command on Melpa
24 Jul 2022 | original ↗

> gets replaced by a clipboard (kill ring) URL My pull request to add dwim-shell-command to melpa has been merged. Soon, you'll be able to install directly from Milkypostman’s Emacs Lisp Package Archive. dwim-shell-command is another way to invoke shell commands from our beloved editor. Why a different way? It does lots of little things for you,...

A lifehack for your shell
16 Jul 2022 | original ↗

I'm a fan of the unzip command line utility that ships with macOS. I give it a .zip file and it unzips it for me. No flags or arguments to remember (for my typical usages anyway). Most importantly, I've fully internalized the unzip command into muscle memory, probably because of its perfect mnemonic. But then there's .tar, .tar.gz, .tar.xz, .rar,...

Emacs zones to lift you up
13 Jul 2022 | original ↗

As I prune my Emacs config off, I came across a forgotten bit of elisp I wrote about 6 years ago. While it's not going to power up your Emacs fu, it may lift your spirits, or maybe just aid discovery of new words. You see, I had forgotten about zone.el altogether: a fabulous package to tickle your heart. You can think of it as screensaver built...

Emacs: DWIM shell command (multi-language)
10 Jul 2022 | original ↗

UPDATE: dwim-shell-command is now available on melpa. I keep on goofying around with dwim-shell-command and it's sibling dwim-shell-command-on-marked-files from dwim-shell-command.el. In addition to defaulting to zsh, dwim-shell-command-on-marked-files now support other shells and languages. This comes in handy if you have snippets in different...

Emacs: Password-protect current pdf (revisited)
9 Jul 2022 | original ↗

UPDATE: dwim-shell-command is now available on melpa. With a recent look at writing DWIM shell commands, I've been revisiting my custom Emacs functions invoking command line utilities. Take this post, for example, where I invoke qpdf via a elisp. Using the new dwim-shell-command--on-marked-files in dwim-shell-command.el, the code is stripped down...

png to icns (Emacs DWIM style)
9 Jul 2022 | original ↗

UPDATE: dwim-shell-command is now available on melpa. Since writing a DWIM version of the shell-command, I've been having a little fun revisiting command line utilities I sometimes invoke from my beloved editor. In this instance, converting a png file to an icns icon. What's more interesting about this case is that it's not just a one-liner, but...

Emacs DWIM shell-command
7 Jul 2022 | original ↗

UPDATE: dwim-shell-command is now available on melpa. I've talked about DWIM before, where I bend Emacs to help me do what I mean. Emacs is also great for wrapping command-line one-liners with elisp, so I can quickly invoke commands without thinking too much about flags, arguments, etc. I keep thinking the shell-command is ripe for plenty of...

Emacs: Password-protect current pdf
2 Jun 2022 | original ↗

UPDATE: Check out Password-protect current pdf (revisted) for a simpler version. Every so often, I need to password-protect a pdf. On macOS, Preview has a simple solution, but I figured there must be a command line utility to make this happen. There are options, but qdf did the job just fine. qpdf --verbose --encrypt USER-PASSWORD OWNER-PASSWORD...

Plain Org v1.4 released
24 Apr 2022 | original ↗

Plain Org v1.4 is now available on the App Store. I was on a long flight recently 🦘, so I gave list and checkbox editing a little love. There's a couple of other minor improvements included. If you haven't heard of Plain Org, it gives you access to org files on iPhone while away from your beloved Emacs. I love org markup, but we (iPhone + org...

Plain Org v1.3 released
15 Apr 2022 | original ↗

Plain Org v1.3 is now available on the App Store. The update receives a few features, bug fixes, and improvements. If you haven't heard of Plain Org, it gives you access to org files on iPhone while away from your beloved Emacs. I love org markup, but we (iPhone + org users) are a fairly niche bunch. If you're finding Plain Org useful, please...

Plain Org v1.2.1 released
27 Mar 2022 | original ↗

Plain Org v1.2.1 is now available on the App Store. The update receives minor features, bug fixes, and improvements. If you haven't heard of Plain Org, it gives you access to org files on iPhone while away from your beloved Emacs. I love org markup, but we (iPhone + org users) are a fairly niche userbase. If you're finding Plain Org useful,...

Emacs DWIM: swiper vs isearch vs phi-search
26 Mar 2022 | original ↗

I've talked about DWIM in the past, that wonderful Emacs ability to do what ✨I✨ mean. Emacs being hyper-configurable, we can always teach it more things, so it can do exactly what we mean. There are no shortages of buffer searching packages for Emacs. I'm a fan of Oleh Krehel's swiper, but before that, I often relied on the built-in isearch....

Grandma's vanilla pound cake
12 Mar 2022 | original ↗

My grandmother Hilda used to bake this for us grandkids. I don't know the origin of the recipe, but my parents, aunts, and cousins, they all bake it too. I'm a big fan, but only get to eat it when visiting. Yesterday, I changed that. Finally baked it myself ø/ Ingredients 200g salted butter 2 cups (400 g) sugar 4 eggs 3 cups (375 g) plain flour 3...

Emacs: viewing webp images
5 Mar 2022 | original ↗

There's a recent reddit post asking how to view webp images in Emacs. I didn't know the answer, but it's something I had wanted for some time. This post was a nice reminder to go and check things out. Was happy to contribute an answer. Turns out, it's very simple. Just set image-use-external-converter and install relevant external tools. (setq...

Emacs: Fuzzy search Apple's online docs
21 Feb 2022 | original ↗

When building software for the Apple ecosystem, Xcode is often the editor of choice. With Emacs being my personal preference, I rarely find other iOS devs with a similar mindset. When I saw Mikael Konradsson's post describing his Emacs Swift development setup, I reached out to say hello. While exchanging tips and tricks, the topic of searching...

Plain Org v1.2 released
13 Feb 2022 | original ↗

Although Plain Org v1.2 has been in the App Store for a little while, the release write-up was overdue, sorry. The update receives some new features and bugfixes. If you haven't heard of Plain Org, it gives ya access to your org files on iOS while away from your beloved Emacs. If you're finding Plain Org useful, please help support this effort by...

Happy New Year and forming new habits
3 Jan 2022 | original ↗

Hacker News has a summary of Atomic Habits (the book). In my case, I really enjoyed reading the entire book. I liked its narrative, mixing [actionable]{.underline} and [concrete]{.underline} advice with personal stories and experiments. After reading Atomic Habits during the first lockdown, I was excited to try out its actionables, specially...

Plain Org v1.1 released 🎄☃️
12 Dec 2021 | original ↗

Plain Org v1.1 is now available on the App Store. The update receives new features and bugfixes. If you're finding Plain Org useful, please help support this effort by getting the word out. Tell your friends, tweet, or blog about it. What is Plain Org? Ok, now on to what's included in the v1.1 release… Compact mode By default, Plain Org layout...

Emacs bends again
28 Nov 2021 | original ↗

While adding more rendering capabilities to Plain Org, it soon became apparent some sort of screenshot/snapshot testing was necessary to prevent regressing existing features. That is, we first generate a rendered snapshot from a given org snippet, followed by some visual inspection, right before we go and save the blessed snapshot (often referred...

Plain Org has joined the chat (iOS)
10 Nov 2021 | original ↗

The App Store is a crowded space when it come to markdown apps. A quick search yields a wonderful wealth of choice. Kinda overwhelming, but a great problem to have nonetheless. For those of us with org as our markup of choice, the App Store is far less crowded. I wish we could fill more than a screen's worth of search results, so you know… I...

Plain Org for iOS (a month later)
19 Sept 2021 | original ↗

A month ago, I posted about my desire to bring org tasks/TODOs to iOS and make them quickly available from my iPhone. Since then, I've received some great feedback, which I've been slowly chipping away at. My intent isn't so much to move my org workflow over to iOS, but to supplement Emacs while away from my laptop. As of now, this is what the...

Org habits on iOS? Check! Tasks, you're next
19 Aug 2021 | original ↗

I'm an org mode fan. This blog is powered by org. It's more of an accidental blog that started as a single org file keeping notes. I use org babel too. Oh and org habits. My never-ending list of TODOs is also powered by org. I manage all of this from Emacs and peek at TODOs using org agenda. This all works really well while I'm sitting in front...

macOS: Show in Finder / Show in Emacs
11 Jul 2021 | original ↗

From Christian Tietze's Open macOS Finder Window in Emacs Dired, I learned about reveal-in-osx-finder. This is handy for the few times I want to transition from Emacs to Finder for file management. I say few times since Emacs's directory editor, dired, is just awesome. I've written about dired customizations here and here, but since dired is just...

Flat Habits 1.1 released
11 Jul 2021 | original ↗

Flat Habits 1.1 is now available on the App Store. Flat Habits is a habit tracker that’s mindful of your time, data, and privacy. It's powered by org plain text markup, enabling you to use your favorite editor (Emacs, Vim, VSCode, etc.) to poke at your habit data. What's new? This release implements a few of features requested by users. Multiday...

Emacs: smarter search and replace
27 Jun 2021 | original ↗

Not long ago, I made a note to go back and read Mac for Translators's Emacs regex with Emacs lisp post. The author highlights Emacs's ability to apply additional logic when replacing text during a search-and-replace session. It does so by leveraging elisp expressions. Coincidentally, a redditor recently asked What is the simplest way to apply a...

Previewing SwiftUI layouts in Emacs (revisited)
20 Jun 2021 | original ↗

Back in May 2020, I shared a snippet to extend ob-swift to preview SwiftUI layouts using Emacs org blocks. When I say extend, I didn't quite modify ob-swift itself, but rather advised org-babel-execute:swift to modify its behavior at runtime. Fast-forward to June 2021 and Scott Nicholes reminded me there's still interest in org babel SwiftUI...

Blurring the lines between shell and editor
19 Jun 2021 | original ↗

I recently tweeted that Vivek Haldar's 10-year old post rings true today just the same. He writes about the levels of Emacs proficiency. All 6 levels are insightful in their own right, but for the sake of this post, let's quote an extract from level 4. Shell inside Emacs: "And then, you learned about it: M-x shell. It was all just text. Why did...

xcodebuild's SPM support (Xcode 11)
16 Jun 2021 | original ↗

Had been a while since I looked into generating Xcode projects from a Swift package. On my latest use of the generate-xcodeproj subcommand, I was greeted by a nice warning surprise… swift package generate-xcodeproj Xcode can handle Swift packages directly. Similarly, xcodebuild can handle them too. This isn't new. It's likely been available since...

Emacs org block completion on melpa
6 Jun 2021 | original ↗

When enabled, the character " I get the occasional ping to package the code from this post and publish it on melpa. Finally gave it a go. Moved the code here. This was my first time publishing on melpa. The process was very smooth. Big thanks to melpa volunteers!

Emacs DWIM: do what ✨I✨ mean
1 Jun 2021 | original ↗

Update: There's a DWIM follow-up for searching. I was a rather puzzled the first time I spotted DWIM in an Emacs interactive command name. Don't think I remember what the command itself was, but what's important here is that DWIM stands for do what I mean. I love DWIM interactive commands. They enable commands to be smarter and thus pack more...

Emacs link scraping (2021 edition)
28 May 2021 | original ↗

A recent Hacker News post, Ask HN: Favorite Blogs by Individuals, led me to dust off my oldie but trusty command to extract comment links. I use it to dissect these wonderful references more effectively. You see, I wrote this command back in 2015. We can likely revisit and improve. The enlive package continues to do a fine job fetching, parsing,...

OCR bookmarks
23 May 2021 | original ↗

schappim/macOCR: Get any text on your screen into your clipboard..

gpg: decryption failed: No secret key (macOS)
19 May 2021 | original ↗

gpg: decryption failed: No secret key OMG! Where's my secret key gone!? But but but, gpg –list-secret-keys says they're there. Puzzled… Ray Oei's Stack Overflow answer solved the mystery for me: pinentry never got invoked, so likely something's up with the agent… Killing (and thus restaring) the gpg-agent did the trick: gpgconf --kill gpg-agent...

Emacs plus –with-native-comp
17 May 2021 | original ↗

I'm a big fan of Boris Buliga's Emacs Plus homebrew recipe for customizing and installing Emacs builds on macOS. For a little while, I took a detour and built Emacs myself, so I could enable Andrea Corallo's fantastic native compilation. I documented the steps here. Though it was fairly straightforward, I did miss Emacs Plus's convenience. I had...

Cycling window layouts with hammerspoon
2 May 2021 | original ↗

Back in January, Patrik Collison tweeted about Rectangle's Todo mode. Rectangle looks great. Although I've not yet adopted it, Todo mode really resonates with me. I've been achieving similar functionality with hammerspoon. Here's a quick and dirty function to cycle through my window layouts: function reframeFocusedWindow() local win =...

Flat Habits meets org agenda
10 Apr 2021 | original ↗

UPDATE: Flat Habits now has its own page at flathabits.com. Flat Habits v1.0.2 is out today, with habit-toggling now supported from the streak view. Flat Habits runs on org, making it a great complement to Emacs and org agenda ø/

Flat Habits v1.0.1 (org import menu)
23 Mar 2021 | original ↗

UPDATE: Flat Habits now has its own page at flathabits.com. Flat Habits v1.0.1 is now released and available in the App Store. org import (import vs in-place) We can now import org files from the menu. Importing gives ya the option to either import (copy into the app) or open in-place. The latter enables users to sync org files with other iOS...

Flat Habits for iOS (powered by org)
17 Mar 2021 | original ↗

UPDATE: Flat Habits now has its own page at flathabits.com. No friction. No social. No analytics. No account. No cloud. No lock-in. So what is it? An iOS app to help you form and track lasting habits. Why an app? Tracking and accountability may help you develop positive habits. A simple habit-tracking app should make this easy....

Frictionless org habits on iOS
21 Feb 2021 | original ↗

UPDATE: Flat Habits now has its own page at flathabits.com. I've been wanting org to keep track of my daily habits for a little while. The catalyst: reading James Clear's wonderful Atomic Habits (along with plenty of lock-down inspiration). As much as I live in Emacs and org mode, it just wasn't practical enough to rely on my laptop for tracking...

Symbolicating iOS crashes
20 Feb 2021 | original ↗

export DEVELOPER_DIR=$(xcode-select --print-path) /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash crashlog.crash MyFoo.app.dSYM

Emacs: mu4e icons
23 Jan 2021 | original ↗

Recently spotted mu4e-marker-icons, which adds mu4e icons using all-the-icons. Although I'm not currently using all-the-icons, it did remind me to take a look at mu4e's built-in variables to spiff up my email. It's pretty simple. Find the icons you like and set them as follows: (setq mu4e-headers-unread-mark '("u" . "📩 ")) (setq...

South Africa travel bookmarks
2 Jan 2021 | original ↗

Blyde River Canyon, South Africa: The Complete Guide.

Luxembourg travel bookmarks
2 Jan 2021 | original ↗

Hiking in Luxembourg - Mullerthal Trail.

Hiking bookmarks
29 Dec 2020 | original ↗

A growing list of long distance hikes around the world (Hacker News).

Swift package code coverage (plus Emacs overlay)
29 Dec 2020 | original ↗

While playing around with Swift package manager, I had a quick look into code coverage options. Luckily, coverage reporting and exporting are supported out of the box (via llvm-cov). Ensure tests are invoked as follows: swift test --enable-code-coverage A high level report can be generated with: xcrun llvm-cov report...

Patience
28 Dec 2020 | original ↗

Via Orange Book, a reminder to myself: In investing, patience is rewarded. In growing a talent, patience is rewarded. In building a business, patience is rewarded. In love and friendships, patience is rewarded. Patience = success I feel like there's an Emacs lesson somewhere in there…

Chess bookmarks
26 Dec 2020 | original ↗

A Beginner's Garden of Chess Openings. A Beginner's Garden of Chess Openings (2002) (Hacker News).

40 Coolest neighbourhoods in the world
20 Dec 2020 | original ↗

Via TimeOut's 40 Coolest Neighbourhoods in the World Right Now: Esquerra de l’Eixample, Barcelona Downtown, Los Angeles Sham Shui Po, Hong Kong Bedford-Stuyvesant, New York Yarraville, Melbourne Wedding, Berlin Shaanxi Bei Lu/Kangding Lu, Shanghai Dennistoun, Glasgow Haut-Marais, Paris Marrickville, Sydney Verdun, Montreal Kalamaja, Tallinn...

Emacs: Rotate my macOS display
5 Dec 2020 | original ↗

Every so often, I rotate my monitor (vertical vs horizontal) for either work or to watch a movie. macOS enables changing the display rotation via a dropdown menu (under Preferences > Displays > Rotation) where you can pick between Standard, 90°, 180°, and 270°. That's all fine, but what I'd really like is a quick way to toggle between my...

Emacs: Clone git repo from clipboard
29 Nov 2020 | original ↗

Cloning git repositories is a pretty common task. For me, it typically goes something like: Copy git repo URL from browser. Drop to Emacs eshell. Change current directory. Type "git clone ". Paste git repo URL. Run git command. Change directory to cloned repo. Open dired. No biggie, but why go through the same steps every time? We can do better....

Pulled pork recipe
23 Nov 2020 | original ↗

Made pulled pork a couple of times. Freestyled a bit. No expert here, but result was yummie. Grind/blend spices 2 teaspoons smoked paprika 2 teaspoons cumin seeds 2 teaspoons whole pepper corn mix 2 teaspoons chilly flakes If spices are whole, grind or blend them. Set aside. Optionally: Substitute 1 teaspoon of paprika with chipotle pepper. Mix...

Zettelkasten bookmarks
1 Nov 2020 | original ↗

Introduction to the Zettelkasten Method. Zettelkasten note-taking in 10 minutes · Tomas Vik.

Battlestation bookmarks
28 Oct 2020 | original ↗

Hacking with Swift's battlestation.. /r/battlestations.

Emacs: chaining org babel blocks
27 Oct 2020 | original ↗

Recently wanted to chain org babel blocks. That is, aggregate separate source blocks and execute as one combined block. I wanted the chaining primarily driven through header arguments as follows: #+name: block-0 #+begin_src swift print("hello 0") #+end_src #+name: block-1 #+begin_src swift :include block-0 print("hello 1") #+end_src...

Emacs: quote wrap all in region
25 Oct 2020 | original ↗

As I find myself moving more shell commands into Emacs interactive commands to create a Swift package/project, enrich dired's featureset, or search/play Music (macOS), I often need to take a single space-separated string, make an elisp list of strings, and feed it to functions like process-lines. No biggie, but I thought it'd be a fun little...

Emacs: org block complete and edit
18 Oct 2020 | original ↗

I quickly got used to Emacs org block company completion. I did, however, almost always found myself running org-edit-special immediately after inserting completion. I use C-c ' for that. That's all fine, but it just felt redundant. Why not automatically edit the source block in corresponding major mode after completion? I think I can also get...

Emacs: create a Swift package/project
11 Oct 2020 | original ↗

Been playing around with Swift Package Manager (SPM). Creating a new Swift package (ie. project) is pretty simple. To create a library package, we can use the following: swift package init --type library Alternatively, to create a command-line utility use: swift package init --type executable Turns out, there are a few options: empty, library,...

Basmati rice pudding recipe
4 Oct 2020 | original ↗

Combine in a pot 2/3 cup of basmati rice 400 ml of coconut milk 4 cups of milk [^6] 3 tablespoons of honey [^7] 1/4 teaspoon of crushed cardamom seeds [^8] 1/8 teaspoon of salt Simple. Combine all ingredients in a pot. Boil and simmer Bring ingredients to a boil and simmer at low heat for 45 minutes. Stir occasionally. Mix in butter 1 tablespoon...

Improved Ctrl-p/Ctrl-n macOS movement
4 Oct 2020 | original ↗

macOS supports many Emacs bindings (out of the box). You can, for example, press C-p and C-n to move the cursor up and down (whether editing text in Emacs or any other macOS app). Jacob Rus's Customizing the Cocoa Text System offers a more in-depth picture and also shows how to customize global macOS keybindings (via DefaultKeyBinding.dict). In...

Adding images to pdfs (macOS)
27 Sept 2020 | original ↗

The macOS Preview app does a great job inserting signatures to existing pdfs. I was hoping it could overlay images just as easily. Doesn't look like it's possible, without exporting/reimporting to image formats and losing pdf structure. Did I miss something? In any case, I found formulatepro. Dormant at Google Code Archive, but also checked in to...

DIY bookmarks
27 Sept 2020 | original ↗

Best electrical insulation tape. I’ve spent the last 3 months building the home office of my dreams.

Skiing bookmarks
24 Sept 2020 | original ↗

7 far-flung European ski resorts - Lonely Planet.

Emacs: search/play Music (macOS)
19 Sept 2020 | original ↗

While trying out macOS's Music app to manage offline media, I wondered if I could easily search and control playback from Emacs. Spoiler alert: yes it can be done and fuzzy searching music is rather gratifying. Luckily, the hard work's already handled by pytunes, a command line interface to macOS's iTunes/Music app. We add ffprobe and some elisp...

Cheese cake recipe (no crust)
12 Sept 2020 | original ↗

Preheat oven Preheat oven at 175°C. Ingredients at room temperature Ensure the cream cheese, sour cream, and eggs are at room temperature before starting. Mix cream cheese 900g of cream cheese Mix the cream cheese thoroughly. Mix sugar 240g of sugar Add half the sugar. Mix in thoroughly. Add second half and mix. Mix sour cream, corn flour, and...

Faster macOS dock auto-hide
28 Aug 2020 | original ↗

Via Marcin Swieczkowski's Upgrading The OSX Dock, change default to make macOS's dock auto-hide faster: defaults write com.apple.dock autohide-time-modifier -float 0.2; killall Dock

Smarter Swift snippets
25 Aug 2020 | original ↗

Jari Safi published a wonderful Emacs video demoing python yasnippets in action. The constructor snippet, automatically setting ivars, is just magical. I wanted it for Swift! I took a look at the [[init]{.underline}]{.underline} snippet from Jorgen Schäfer's elpy. It uses elpy-snippet-init-assignments to generate the assignments. With small...

QR code bookmarks
23 Aug 2020 | original ↗

divan/txqr: Transfer data via animated QR codes. research!rsc: QArt Codes. Show HN: Photo Realistic QR-Codes (Hacker News).

Swift package manager build for iOS
23 Aug 2020 | original ↗

While playing around with Swift package manager, it wasn't immediately obvious how to build for iOS from the command line. The default behaviour of invoking swift build is to build for the host. In my case, macOS. In any case, this was it: swift build -Xswiftc "-sdk" -Xswiftc...

Trying out gccemacs on macOS
16 Aug 2020 | original ↗

UPDATE: I'm no longer using these steps. See Emacs plus –with-native-comp for an easier alternative. Below are the instructions I use to build Andrea Corallo's gccemacs on macOS. It is based on Allen Dang's handy instructions plus some changes of my own. Install gcc and libgccjit via homebrew brew install gcc libgccjit Save configure script...

SwiftUI macOS desk clock
2 Aug 2020 | original ↗

For time display, I've gone back and forth between an always-displayed macOS's menu bar to an auto-hide menu bar, and letting Emacs display the time. Neither felt great nor settled. With some tweaks, Paul Hudson's How to use a timer with SwiftUI, led me to build a simple desk clock. Ok, let's not get fancy. It's really just an always-on-top...

Mending bookmarks
30 Jul 2020 | original ↗

12 Great Sewing Tips and Tricks ! Best great sewing tips and tricks #7 - YouTube.

ffmpeg bookmarks
17 Jun 2020 | original ↗

FFmpeg 4.3 (Hacker News). FFMPEG from Zero to Hero | Hacker News. Ken Burns Effect Slideshows with FFMPeg (mko.re). Stack Videos Horizontally, Vertically, in a Grid With FFmpeg - OTTVerse.

Black lives matter (BLM) bookmarks
14 Jun 2020 | original ↗

Do You Know How Divided White And Black Americans Are On Racism? (FiveThirtyEight). It’s Time We Dealt With White Supremacy in Tech. The Real Origins of the Religious Right - POLITICO Magazine.

Dogs bookmarks
14 Jun 2020 | original ↗

All You Need to Know About Romanian Rescue Dogs.

Emacs, search hackingwithswift.com
6 Jun 2020 | original ↗

Paul Hudson authors excellent Swift material at hackingwithswift.com. I regularly land on the site while searching for snippets from the browser. I was wondering if I could search for snippets directly from Emacs. Turns out, hackingwithswift uses a JSON HTTP request for querying code examples. With this in mind, we can use ivy-read like Oleh...

Preview SwiftUI layouts using Emacs org blocks
23 May 2020 | original ↗

✨ UPDATE: The snippets in this post are outdated. See ob-swiftui for better SwiftUI babel support. ✨ Chris Eidhof twitted a handy snippet that enables quickly bootstrapping throwaway SwiftUI code. It can be easily integrated into other tools for rapid experimentation. Being a SwiftUI noob, I could use some SwiftUI integration with my editor of...

Open Emacs elfeed links in the background
22 May 2020 | original ↗

Christopher Wellons's elfeed is a wonderful Emacs rss reader. In Mike Zamansky's Using Emacs 72 - Customizing Elfeed video, he highlights a desire to open elfeed entries in the background. That is, open the current rss entry (or selected entries) without shifting focus from Emacs to your browser. This behaviour is somewhat analogous to...

Enrich Emacs dired's batching toolbox
11 May 2020 | original ↗

Update I now use dwim-shell-command, which reduces the logic to: (defun dwim-shell-commands-image-to-jpg () "Convert all marked images to jpg(s)." (interactive) (dwim-shell-command-on-marked-files "Convert to jpg" "convert -verbose '>' '>.jpg'" :utils "convert")) Original post Shell one-liners are super handy for batch-processing...

Banana oats pancakes recipe
9 May 2020 | original ↗

Blend Ripe banana. 2 Eggs. 1/3 cup instant oats. 1/2 teaspoon baking powder. Really is this easy. Add all ingredients and blend. Cook Medium to low heat. Cook for 3 minutes. Flip. Cook for 1 minute. You're done.

Emacs: connect my Bluetooth speaker
6 May 2020 | original ↗

Connecting and disconnecting bluetooth devices on macOS is fairly simple: use the menu bar utility. But could we make it quicker from our beloved editor? Turns out with a little elisp glue, we can fuzzy search our Bluetooth devices and toggle connections. We can use Oleh Krehel's ivy-read for fuzzy searching and Felix Lapalme's nifty...

Duti: changing default macOS apps
2 May 2020 | original ↗

Future self example, setting mpv.io to open all aiff files on macOS: duti -s io.mpv aiff

Neapolitan pizza recipe
26 Apr 2020 | original ↗

Full disclosure: I'm a complete noob at making pizza. It's my second pizza, but hey, it was tasty and fun to make! Making pizza at home is not as far-fetched as I initially thought. UPDATES: I've made this recipe a couple of times. Made two improvements worth mentioning. Flan tin / quiche pan My first pizzas were rectangular, matching the baking...

TIL (today I learned) bookmarks
21 Apr 2020 | original ↗

Hashrocket - Today I Learned. jbranchaud/til: Today I Learned. secretgeek: Today I Learned. Simon Willison: TIL. til - zerokspot.com. Today I Learned — Sara Soueidan – Freelance-Front-End UI/UX Developer.

Oatmeal cookie recipe
21 Apr 2020 | original ↗

I combined elements from two recipes: 3 Ingredient oatmeal cookies (The Food Medic), Amy's Healthy Banana Oatmeal Raisin Cookies (Amy's Healthy Baking) and added my own touches. Preheat oven Preheat the oven at 180°C. Mash bananas 2 medium ripe bananas. Mash until bananas have no significant lumps. Mix most ingredients (except oats) 4 tablespoons...

mu/mu4e 1.4 released
19 Apr 2020 | original ↗

mu/mu4e 1.4 is out. About a week ago, I built and installed its pre-release version (1.3.10) and noted build steps on macOS. It's been working great for me. Today, I updated to 1.4. I was keen to try the new release out. I had been experiencing a short delay immediately after syncing/indexing mail. An initial investigation pointed to contact...

Libya travel bookmarks
14 Apr 2020 | original ↗

The city of Ghadames on the edge of the Saharan desert.

Trimming videos with ffmpeg
7 Apr 2020 | original ↗

Via Bernd Verst's Trim Videos Instantly: Start time + duration ffmpeg -ss hh:mm:ss.msec -i in.mpeg -c copy -map 0 -t hh:mm:ss.msec out.mpeg Start time + end time ffmpeg -ss hh:mm:ss.msec -i in.mpeg -c copy -map 0 -to hh:mm:ss.msec out.mpeg

Emacs's counsel-M-x meets multiple cursors
6 Apr 2020 | original ↗

I'm a fan of Magnar Sveen's multiple cursors Emacs implementation. It's just so fun to use and works very well with commands bound to my favorite keys. Every now and then I'd like to execute extended commands on all cursors, but they have no keys bound to them. If you're an ivy/counsel fan like me (and all packages by Abo Abo), you use...

Portland travel bookmarks
5 Apr 2020 | original ↗

Powell’s Books | The World’s Largest Independent Bookstore.

Portland travel bookmarks
5 Apr 2020 | original ↗

Powell’s Books | The World’s Largest Independent Bookstore.

String inflection Emacs package
29 Mar 2020 | original ↗

string-inflection (by Akira Ikeda) is a nifty package to cycle through string case styles: camel, snake, kebab… The package includes a handful of cycling functions for different languages (Ruby, Python and Java), but it's easy to mix and match to roll your own. For now, I'm binding C-M-j to string-inflection-cycle, which is an alias to...

Turkey travel bookmarks
28 Mar 2020 | original ↗

Tomb of Amyntas - Wikipedia.

Dal Makhani (black lentils) recipe
25 Mar 2020 | original ↗

Soak beans (overnight) 1 cup of rajmah (kidney beans). 2 cups of sabut urad (black lentils). Place the beans in a bowl with plenty of water. The beans will soak it up so ensure there's enough. Cooking the beans 3 liters of water. 1 cinamon stick. 1 tablespoon of turmeric. 2 bay leaves. Drain the beans and combine new ingredients into a pot. Bring...

Modern Emacs lisp libraries
21 Mar 2020 | original ↗

Quickly finding related built-in elisp functions (without prefixes) can sometimes take a little poking around. Some modern and predictable built-in exceptions I now reach out to are: map.el for key/values, alists, hash-tables and arrays (built-in as of Emacs 25.1). seq.el for sequence manipulation functions (built-in as of Emacs 25.1). subr-x.el...

Emacs smartparens auto-indent
20 Mar 2020 | original ↗

While I do most editing in Emacs, I use Xcode every now and then. I like Xcode's pair matching (of brackets) combined with its auto-indent. While the wonderful smartparens gives Emacs pair-matching powers, it doesn't automatically indent between pairs (out of the box anyway). Luckily, smartparens does provide sp-local-pair, which enables us to...

Emacs counsel default search switches
21 Nov 2019 | original ↗

Following up from Enhanced Emacs searching with counsel switches, rather than remembering silver searcher and ripgrep switches, we can use counsel's ivy-initial-inputs-alist to set these up as default visible switches. (push '(counsel-ag . "--file-search-regex '' -- ") ivy-initial-inputs-alist) (push '(counsel-rg . "--glob '**' -- ")...

Emacs org block company completion
10 Nov 2019 | original ↗

UPDATE: This is now available on melpa. Back in 2015, I bound the "org-mode block templates in Hydra. The suggested binding settled in my muscle memory without much effort. Fast forward to Febrary 2019. I replaced the hydra with org-insert-structure-template when org-try-structure-completion was removed from org mode. No biggie, as I kept the...

Enhanced Emacs searching with counsel switches
10 Nov 2019 | original ↗

The counsel family of Emacs search commands are great for searching the filesystem. More specifically, counsel-rg, counsel-ag, and counsel-pt, which use the popular ripgrep, silver searcher, and platinum searcher utilities. counsel-rg is my default searcher. It returns results quickly, with live updates as I tweak the search query. Up until...

IRC bookmarks
8 Nov 2019 | original ↗

Awesome IRC.

A more reusable Emacs shell-command history
3 Nov 2019 | original ↗

Cameron Desautel has a great post on Working Faster in Emacs by Reading the "Future", highlighting M-n's usefulness for inserting minibuffer default values. Invoking M-n in shell-command's prompt is handy for quickly getting the current buffer's file name. This works great for one-off shell commands like "chmod +x script.sh" or "tidy -xml -i -m...

Taiwan travel bookmarks
20 Oct 2019 | original ↗

Sun Moon Lake Tea: Why is it so good? (Spiritual Travels). Taipei, 2019. Why You Should Remote Work in Taiwan.

Emacs swiper and multiple cursors
10 Oct 2019 | original ↗

Emacs swiper is awesome. I bound swiper-isearch to C-s. Also a big fan of multiple cursors. I use it regularly (it's fun). I had totally missed Ole's post back in 2015: A simple multiple-cursors extension to swiper. Turns out, swiper has multiple cursors support out of the box (bound to C-7 by default). Yay! UPDATE: Thanks to irreal's post,...

Spam blacklisting with Emacs org babel
8 Oct 2019 | original ↗

Some email provider accept regular expressions to blacklist additional spam. My blacklist is long and tedious to update, but hey… Emacs org babel can simplify things here. It's way easier to maintain a blacklist (with no regex) using an org table. Blacklist and subsequently use org babel (elisp snippet) to generate the regex. Regex gen UPDATE:...

Speeding up gifs with gifsycle
8 Oct 2019 | original ↗

Drop frames and speed gif up with gifsycle (via How to remove every second frame from an animated gif?): gifsicle -U in.gif `seq -f "#%g" 0 3 398` -O2 -o out.gif ps. 398 is the total number of frames, which you can get with: identify in.gif

Rewriting dates with Emacs multiple cursors
6 Oct 2019 | original ↗

Needed to rewrite the date format in a couple of csv columns. Emacs multiple cursors helps here, but needed a function to parse and reformat the dates themselves. I can likely reformat dates using the built-in parse-time-string and format-time-string functions, but hey why not give the ts.el library a try… (defun ar/region-to-timestamp () ...

Rewriting dates with Emacs multiple cursors
6 Oct 2019 | original ↗

Needed to rewrite the date format in a couple of csv columns. Emacs multiple cursors helps here, but needed a function to parse and reformat the dates themselves. I can likely reformat dates using the built-in parse-time-string and format-time-string functions, but hey why not give the ts.el library a try… (defun ar/region-to-timestamp () ...

Show/hide Emacs dired details in style
5 Oct 2019 | original ↗

Emacs dired is a powerful directory browser/editor. By default, it shows lots of handy file and directory details. I typically prefer hiding file and directory details until I need them. The built-in dired-hide-details-mode makes this easy with the "(" key toggle. Coupled with Steve Purcell's diredfl (for coloring), it strikes a great user...

Bulk buying bookmarks
29 Sept 2019 | original ↗

Real foods.

csv bookmarks
1 Sept 2019 | original ↗

convert ofx to csv . Today I Learned (secretGeek). Exporting Excel files to CSV with in2csv from csvkit. TSV Utilities: Command line tools for large, tabular data files (Hacker News). Why You Don't Want to Use CSV Files (Have a good data).

Speeding up Emacs tramp via ControlMaster
1 Sept 2019 | original ↗

Via Florian Margaine's Eshell config, I discovered ssh's ControlMaster. It enables sharing multiple sessions over a single network connection. This has the benefit of speeding up Emacs TRAMP. In your ~/.ssh/config add: Host * ControlPath ~/.ssh/master-%h:%p ControlMaster auto ControlPersist 10m

Slovakia travel bookmarks
10 Aug 2019 | original ↗

High Tatras mountains (wonderful hikes).

Thumbnailing pdf page
14 Jul 2019 | original ↗

If you ever need to thumbnail a pdf page, imagemagick has got you covered. For example, to thumbnail page 3, you can use: convert path/to/input.pdf[2] path/to/output.png convert -resize 10000x10000 path/to/input.pdf[2] path/to/output.png convert: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT...

Outdoor bookmarks
12 Jul 2019 | original ↗

The Seven Principles of Leave No Trace.

gnuplot bookmarks
7 Jul 2019 | original ↗

GNUplot tips for nice looking charts from a CSV file. Voxel plotting with gnuplot 5.4 {LWN.net}.

gnu global, ctags, and Emacs setup
4 Jun 2019 | original ↗

Universal ctags (newer) I'm now using universal ctags, as recommended by counsel-etags. From universal ctag's Building on Mac OS: brew tap universal-ctags/universal-ctags brew install --HEAD universal-ctags .ctags --langdef=swift --langmap=swift:+.swift --kinddef-swift=v,variable,variables --kinddef-swift=f,function,functions...

mu4e as macOS mail composer
29 May 2019 | original ↗

Via Using Emacs as Default Mailer on macOS, a tiny script to handle mailto: links. From //Script Editor/, save following script as Application (MailOnEmacs.app). From Mail.app, Preferences -> Default email reader and chosse MailOnEmacs.app. on open location myurl tell application "Emacs" to activate set text item delimiters to...

New sudo user snippet
26 May 2019 | original ↗

I don't add linux sudoers frequently enough. Always looking it up. Keeping snippet. adduser -m -d /home/ passwd usermod -aG sudo

Plotting ledger reports in org
24 May 2019 | original ↗

My ledger file Save path to my.ledger in ledger-file block. gnuplot terminal (png or qt) Select gnuplot terminal. Using png to output images, but qt is handy too for interactive chart inspection. Monthly Income and Expenses Generate income report. Generate expenses report. Plot income vs expenses. set terminal myterm size 3500,1500 set style data...

Changing MAC address in org
21 May 2019 | original ↗

Via Minko Gechev's tweet. Saving in an org block, just because… changeMAC() { local mac=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') ifconfig en0 ether $mac ifconfig en0 down ifconfig en0 up echo "Your new physical address is $mac" } changeMAC #+RESULTS: Your new physical address is aa:36:ee:d2:ee:66 ps. Also see...

Charting bookmarks
17 May 2019 | original ↗

asciichart: Nice-looking lightweight console ASCII line charts ╭┈╯ for NodeJS and browsers with no dependencies. asciigraph: Go package to make lightweight ASCII line graph. Termgraph: a python command-line tool which draws basic graphs in the terminal.

Building swift-format
11 May 2019 | original ↗

Trying out Google's swift-format. Build with: git clone -b swift-5.2-branch https://github.com/apple/swift-format.git cd swift-format swift build .build/x86_64-apple-macosx/debug/swift-format --help OVERVIEW: Format or lint Swift source code. USAGE: swift-format [options] ... OPTIONS: --configuration The path to a JSON file containing...

Ledger query snippets
6 May 2019 | original ↗

Expenses paid in cash between two dates ledger -f my.ledger reg "^Expenses" and expr 'any(account=~/Assets:Cash:Wallet/)' -b 02/19 -e 04/09 Bank account income between two dates ledger -f my.ledger reg "^Assets:Bank:Acme" and expr "amount > 0" -b 02/19 -e 04/09 Formatting reg output ledger -f my.ledger reg "^Assets:Bank:Acme" --format="%(payee)...

Batch file renaming with counsel, find-dired, and wdired
4 May 2019 | original ↗

The first time I saw wdired in action, it blew my mind. wdired makes dired (directory editor) buffers writeable, so you can edit them like any other Emacs buffer. You can subsequently use all your favorite file-editing tricks to rename files (amongst other things). You can see it in action at the end of Emacs Rocks episode 16. When combining...

VPS bookmarks
26 Apr 2019 | original ↗

Scaleway: Scalable Cloud Platform Designed for Developers. Vultr.

Svelte bookmarks
22 Apr 2019 | original ↗

Svelte 3: Rethinking reactivity. Write less code (metric you're not paying attention to).

Mark region, indent, restore location
16 Apr 2019 | original ↗

When I'm not using an automatic code formatter (ie. clang-format, gofmt, etc.), I often find myself using Emacs region marking commands like mark-defun, er/expand-region, and mark-whole-buffer prior to pressing , which is bound to indent-for-tab-command. This is all working as expected: the selection gets indented and the point is left in the...

Compound interest calculations
14 Apr 2019 | original ↗

Saving Tony Bedford's python snippets for calculating compound interest. Really just an excuse to fire up Emacs and play with org babel. t = 20 # years r = 0.07 # rate pv = 200000.00 # present value fv = pv * (1+r)**t # future value print("Pension of %.2f at %d%% will be worth %.2f in %d years" % (pv, 100 * r, fv, t)) #+RESULTS: Pension of...

Wider web bookmarks
14 Apr 2019 | original ↗

Attic: Search Hundreds of Small and Local Stores and Boutiques. Awesome Search. Indieseek.xyz Directory. Million Short - What haven't you found?. Pinboard: social bookmarking for introverts. Qwant Lite. Startpage (claims most private seatch engine). UbuWeb. wiby.me - the search engine for classic websites. WikiArt.org - Visual Art Encyclopedia.

Building mu/mu4e on macOS
11 Apr 2019 | original ↗

I've now built Emacs's mu/mu4e releases a handful of times on macOS. These are the steps, so I don't forget. 1.4 Updated steps for building mu/mu4e 1.4: brew install gmime export CPPFLAGS="-I$(brew --prefix)/Cellar/gmime/3.2.3/include -I$(brew --prefix)/include" export LDFLAGS=-L$(brew --prefix)/Cellar/gmime/3.2.3/lib export...

Reading spreadsheets with python/pandas
30 Mar 2019 | original ↗

Via Daily python tip, a snippet to read xls files in python. This will come in handy. Saving for future. Get set up with: pip install pandas pip install xlrd Read with: import pandas xlf = pandas.ExcelFile("sheet.xlsx") print xlf.sheet_names [u'my sheet']

Half marathon training
17 Mar 2019 | original ↗

From https://assets.bupa.co.uk/~/media/images/healthmanagement/pdfs/half-marathon-beginner.pdf Starting from week 4: Week Monday Tuesday Wednesday Thursday Friday Saturday Sunday 4 Rest 40 mins easy 30 mins tempo Rest 40 mins cross Rest (03/24) 60 mins 6.7 km 5.1...

Bath travel bookmarks
17 Mar 2019 | original ↗

Beas Vintage Tea Rooms (Yelp).

Brazil travel bookmarks
17 Mar 2019 | original ↗

UXUA Casa Hotel and Spa in Trancoso, Brazil.

Inserting numbers with Emacs multiple cursors
17 Mar 2019 | original ↗

TIL that multiple cursor's mc/insert-numbers enables you to quickly enter increasing numbers for each cursor. I have mc/insert-numbers bound to # in region-bindings-mode-map. By default, sequence starts at 0, but invoking mc/insert-numbers with prefix enables you to quickly change that. Came in handy when numbering an org table:

Checksums on linux/macOS
16 Mar 2019 | original ↗

MD5 md5 file SHA-1 shasum -a 1 file SHA-256 shasum -a 256 file

No Emacs frame refocus on macOS
16 Mar 2019 | original ↗

This one's been bugging me for a while. On macOS, Emacs automatically focuses (raises) other frames when one is closed. This has the unfortunate side-effect that I could be moved from one macOS desktop/space to another when closing an Emacs frame. Finally managed do something about it. Since I install Emacs on macOS via homebrew, a small patch on...

Language server protocol (LSP) bookmarks
12 Mar 2019 | original ↗

Eclipse JDT Language Server. Emacs Java IDE using Eclipse JDT Language Server. vscode-html-languageserver extracted from VSCode.

Copy from desktop to mobile via QR code
24 Feb 2019 | original ↗

Marcin Borkowski has a nice tip to quickly copy text or URLs between desktop and mobile using QR codes. Wrote a little elisp to do a similar thing using the clipboard via Emacs: (defun ar/misc-clipboard-to-qr () "Convert text in clipboard to qrcode and display within Emacs." (interactive) (let ((temp-file (concat (temporary-file-directory)...

Parsing dates in Go
19 Feb 2019 | original ↗

Ensure the reference time ("Mon Jan 2 15:04:05 -0700 MST 2006") is used in layout string. For example: package main import ( "fmt" "time" ) func main() { goodLayout := "January 2 2006" if t, err := time.Parse(goodLayout, "March 10 2019"); err != nil { fmt.Printf("%s\n", err) } else...

Life in the UK bookmarks
13 Feb 2019 | original ↗

'LitUK': notes by a Redditor (TextUploader.com). Life In The UK Test, Practice Tests 2017.

Icons bookmarks
10 Feb 2019 | original ↗

Absurd Design – Free Surrealist Illustrations and Vector Art (Hacker News). Find Similar Icons (using Noun Project). Noun Project - Icons for Everything. shape.so icons. Streamline 3.0 – The World's Largest Icon Library.

Video editing bookmarks
10 Feb 2019 | original ↗

Adding subtitles to your videos the easy way - Bernd Verst. Adventures in Netflix (screenshotting HDMI). Camera Stabilisation with FFmpeg - Adaptive Samples. DaVinci Resolve 17 | Blackmagic Design. digiKam. Dragon Quest 64: Non-Rectangular Video Cropping. FFmpeg - How to achieve a circular video overlay..?. GitHub - mifi/lossless-cut: The swiss...

C language bookmarks
10 Feb 2019 | original ↗

LittlevGL - Open-source Embedded GUI Library.

Geneva travel bookmarks
27 Jan 2019 | original ↗

La Buvette des Bains, Restaurants in Pâquis.

Salt beef recipe
27 Jan 2019 | original ↗

How to make salt beef (use 1.8kg brisket instead) and brining a brisket (celery and peppercorns) both from The Guardian were recommended by a friend.

Swapping Emacs ivy collections/sources
13 Jan 2019 | original ↗

Ivy is great. I've been meaning to figure out a way to swap sources while running ivy. This would enable me to cycle through different sources using the existing search parameters. At first look, 'ivy-set-sources seemed like the right choice, but it's used during setup to agregate sources. Subsequent 'ivy-set-sources calls are ignored during an...

Emacs on macOS Mojave
12 Jan 2019 | original ↗

Had issues running Emacs on macOS Mojave (blank unresponsive screen). Bleeding edge emacs-plus did the job: brew tap d12frosted/emacs-plus brew install emacs-plus --without-spacemacs-icon --HEAD brew info emacs-plus d12frosted/emacs-plus/emacs-plus: stable 26.1, devel 26.1-rc1, HEAD GNU Emacs text editor https://www.gnu.org/software/emacs/...

Podcast bookmarks
12 Jan 2019 | original ↗

Destination Linux. A conversational podcast by people who love running Linux.. EmacsCast. Free as in Freedom. Gnu World Order. Late Night Linux. Libre Lounge. Linux Lads Podcast. The Binary Times Podcast (Linux/free software/hardware/culture). Ubuntu Podcast.

Trying out Emacs pdf tools
6 Jan 2019 | original ↗

Late to the party, giving pdf-tools a try. The macOS install instructions have a prerequisite: brew install poppler automake Installed with: (use-package pdf-tools :ensure t :mode ("\\.pdf\\'" . pdf-view-mode) :config (pdf-tools-install) (setq-default pdf-view-display-size 'fit-page) (setq pdf-annot-activate-created-annotations t))...

ASCII art generator bookmarks
27 Dec 2018 | original ↗

𝓔𝓻𝓰𝓮𝓻𝓪𝓽𝓸𝓻/Ergerator (ascii generator).

Osaka travel bookmarks
26 Dec 2018 | original ↗

Tsutenkaku (Osaka) - 2018 All You Need to Know BEFORE You Go (with Photos) - TripAdvisor.

Emailing pdfs to kindle from mu4e
25 Dec 2018 | original ↗

Wanted to send a pdf to my kindle for some holiday reading. You can easily do this by emailing the pdf to your kindle-bound email address. Now, I typically attach files when composing mu4e emails by using mml-attach-file, which attaches the file using …. However, the Amazon service did not find the attached pdf, so no pdf was added to my Kindle....

Cookbook bookmarks
25 Dec 2018 | original ↗

Japan: The Cookbook (Nancy Singleton Hachisu). Japanese Farm Food (Nancy Singleton Hachisu). Preserving the Japanese Way (Nancy Singleton Hachisu).

Audiobook providers bookmarks
25 Dec 2018 | original ↗

1,000 Free Audio Books: Download Great Books for Free | Open Culture. BBC Sound Effects Archive Resource • Research & Education Space. Libro.fm (Libro.fm, Your Independent Bookstore for Digital Audiobooks). Online Courses & Lectures for Home Study and Lifelong Learning. The best free cultural and educational media on the web (Open Culture).

Using OCR to create searchable pdfs from images
25 Dec 2018 | original ↗

Used my phone to take a handful of photos of an article from a magazine. Wanted to convert the images to a searchable pdf on macOS. This was straightforward, having already installed tesseract. for i in IMG_3*.jpg; do echo $i; tesseract $i $(basename $i .tif) pdf; done Should now have a handful of OCR'd pdfs: ls *.jpg.pdf IMG_3104.jpg.pdf...

org tip: convert csv to table
21 Dec 2018 | original ↗

Needed to import some csv data to an org table. Turns out org's got you covered out of the box with M-x org-table-create-or-convert-from-region bound to C-c |.

Marketing bookmarks
20 Dec 2018 | original ↗

Product Marketing for Engineers | Hacker News. Startup Website Builder - Launchaco.

Artistic/creative bookmarks
20 Dec 2018 | original ↗

BoxTail fractals (DeviantArt Gallery). Fermat's spiral - Wikipedia. Lost Art Press (woodworking books). Tom Sachs (knolling exhibits).

Sponsoring platform bookmarks
20 Dec 2018 | original ↗

Best way for artists and creators to get sustainable income and connect with fans (Patreon). Buy Me A Coffee — A free, fast and beautiful way for creators to monetise their content. Tallycoin is a Bitcoin fundraising platform and a Patreon alternative..

Bluetooth low energy (BLE) bookmarks
19 Dec 2018 | original ↗

blueutil » Command-Line Control of Bluetooth on the Mac. The Practical Guide to Hacking Bluetooth Low Energy (Hacker News). The Practical Guide to Hacking Bluetooth Low Energy.

Fun project bookmarks
18 Dec 2018 | original ↗

echo yang programs everyday obsolete machines to create autonomous art (designboom).

Snowboarding bookmarks
14 Dec 2018 | original ↗

Snowboarding for Geeks (Hacker News).

Passive income bookmarks
11 Dec 2018 | original ↗

Awesome products designed by independent artists (Redbubble). Kit (Paul Jarvi's recording gear). Merch By Amazon Discussion (Reddit). Teespring. What is Merch By Amazon?.

Scam bookmarks
11 Dec 2018 | original ↗

419 Eater - The largest scambaiting community on the planet!. The little black book of scams (2016) (Hacker News). The little black book of scams (ACCC).

DWIM ivy quit
8 Dec 2018 | original ↗

"Do-what-I-mean" (DWIM) functions enable us to introduce new Emacs powers to existing workflows without incurring the typical cost of remembering multiple related functions or introducing yet another key binding. DWIM functions invoke other functions, based on current context. I wanted a small tweak in Ivy's `minibuffer-keyboard-quit' invocation,...

Diffing directories content size
5 Dec 2018 | original ↗

Needed to diff two directories, but only interested in file size changes. diff, find, sort, and stat seem to do the job: diff 1,3c1,2 dir2/one.txt 19 > dir2/two.txt 0 Note: Using diff, find, sort, and stat on macOS. Update 1 I've since learned about mtree (thanks Roman!). A nice utility to add to the toolbox. mtree -p emacs-25.1 -c -k size -d...

Swift nil-coalescing operator
2 Dec 2018 | original ↗

Paul Hudson, over at Hacking with Swift, has written The Complete Guide to Optionals in Swift. One of the many highlights is the nil-coalescing operator. If you're a fan of the C-like syntax in ternary operations, you'd enjoy chaining with Swift's nil-coalescing operator: let players = [ "goose": "run!" ] let move = players["duck1"] ??...

Ocado vs Asda (org table)
1 Dec 2018 | original ↗

Someone handed me an Ocado shopping voucher for 30% off. Sounded promising, even for a one-off. With my Money or Your Life hat on, I took a closer look for potential savings. Results were disappointing, when compared to alternatives like Asda. Here's a table comparing Ocado (30% off) and Asda (no...

Execute org blocks as root
24 Nov 2018 | original ↗

Been saving admin code snippets in my own org source blocks, some requiring root access. Handy for keeping tiny self-documented scripts to easily bootstrap other machines. TIL org source block's :dir argument can be used to run block as root by using tramp syntax: /:dir sudo::

Multiline Swift strings
23 Nov 2018 | original ↗

Paul Hudson's tweet introduced me to Swift's multiline string indentation control using closing quotes. Neat! Being an org-mode fan, I thought I'd give Swift multiline strings a try using Org Babel's ob-swift. I get to verify it and document at the same time. Win. Swift org mode source blocks (ie. BEGIN_SRC/END_SRC) can be added as follows: By...

Inline Swift computed properties
23 Nov 2018 | original ↗

Via objc.io and Max Howell's retweet, TIL about Swift's inline computed properties. Another one to try on Org Babel. ‏ func greetWorld() { var message = "hello" var betterMessage: String { return "\(message) world" } print(betterMessage) } greetWorld()

Quickly swapping elfeed filters
17 Nov 2018 | original ↗

I seem to be more efficient in getting through rss feeds by individually browsing through related content. That is, I can get through all Emacs entries a lot faster if I look at Emacs content exclusively, instead of mixing with say BBC news. Elfeed filters are great for filtering related content. I wanted a way to easily switch through my typical...

Converting docx to pdf on macOS
14 Nov 2018 | original ↗

Wanted to convert a docx document to pdf on macOS. Pandoc to the rescue, but first needed pdflatex installed: pandoc -t latex some.docx -o some.pdf pdflatex not found. Please select a different --pdf-engine or install pdflatex Installed pdflatex on macOS with: brew install mactex Can also use HTML5. Install wkhtmltopdf with: brew install...

Faster elfeed browsing with paging
13 Nov 2018 | original ↗

Following up from faster junk mail deletion with mu4e, elfeed is another candidate for enabling actions on pages. In this case, marking rss entries as read, page by Page. If on use-package, the function can defined and bound to the "v" key using: (use-package elfeed :ensure t :bind (:map elfeed-search-mode-map ("v" ....

Faster junk mail deletion with mu4e
10 Nov 2018 | original ↗

It's been roughly 5 months since my mu4e email migration. Happy with my choice. Mu4e is awesome. I now have 4 email accounts managed by mu4e, and unfortunately receiving lots of junk mail. I regularly peek at junk folders for false positives and delete junk email permanently. I've been wanting a quick way to glance at junk mail and easily delete...

Working with vultr's ipv6-only instances
6 Nov 2018 | original ↗

Having recently read Your Money or Your Life, I've been cutting down on personal expenses wherever possible. Specially recurring expenses which include monthly charges from VPS hosting. Let's reduce those charges… My VPS needs are fairly small (mostly hobby and tinkering). Vultr† has a plan for $2.50/month (not seen anything cheaper). The caveat...

Buy it for life bookmarks
4 Nov 2018 | original ↗

Fjällräven jackets. Gillette slim (Etsy).

Shaving bookmarks
4 Nov 2018 | original ↗

8 best safety razors (The Independent).

Rust bookmarks
29 Oct 2018 | original ↗

Configuring Emacs for Rust development | Robert Krahn. Introducing the Rust crash course. Rust Language Cheat Sheet (cheats.rs) .

Fonts bookmarks
28 Oct 2018 | original ↗

Get the Font. GitHub - rsms/inter: The Inter UI font family. Input: Fonts for Code. Programming Fonts - Test Drive. Sudo Coding Font | Jens Kutílek. The package of IBM’s typeface, IBM Plex (font).

imenu on Emacs eshell
17 Oct 2018 | original ↗

imenu navigation is one of those Emacs gems I didn't discover until much later on. It does what you'd expect in all types of modes. In rare instances, I've found specific modes missing imenu support. Fortunately, this is Emacs and you can fix that. Eshell has a handy feature to jump back and forth over previous prompts using M-x...

Encrypted disk image on macOS
14 Oct 2018 | original ↗

@alvaro

Headsphones bookmarks
13 Oct 2018 | original ↗

Bose QuietComfort 35 II Headphones (StevenTammen.com). Noise Isolation/Cancellation of Headphones (RTINGS.com). Sony WH-1000XM3 Review - RTINGS.com.

Sheffield travel bookmarks
13 Oct 2018 | original ↗

Street Food Chef. Sakushi -Sushi, noodle and Japanese food restaurant in Sheffield.

macOS app bookmarks
5 Oct 2018 | original ↗

Applite - An App Store for Homebrew | App Addict. Cirrus & Bailiff (iCloud debugging tools). Cork: The Homebrew GUI for macOS. Customizing the Cocoa Text System. Dark Reader. dmgbuild - A command line tool to build .dmg files. GetStream/Winds: macOS rss reader. GitHub - herrbischoff/awesome-macos-command-line. GitHub - koekeishiya/yabai: A tiling...

Gaming bookmarks
30 Sept 2018 | original ↗

OpenEmu - Multiple Video Game System for owned ROMs. The Top 100 Android Video Games.

Investment platform bookmarks
29 Sept 2018 | original ↗

Backtest Portfolio Asset Allocation. Bravos. CMLviz.com - BETA. DEGIRO - Online Stock Trading - Stockbroking (cheaper?). Free Stock API for Realtime and Historical Data (IEX). Freetrade - Free Stock Investing. Halifax UK | Buying and selling (Sharedealing). Hargreaves Lansdown (ISAs, pensions, funds and shares). How I have automated my...

Sustainability bookmarks
29 Sept 2018 | original ↗

Source Fabric. Find a Manufacturer. Raise Money to Fund Production. (Factory45).

Skin product bookmarks
29 Sept 2018 | original ↗

DIY Deodorant Bars - Rebooted Mom. How to Make Your Own All-Natural Deodorant Bars. Sarah Frasca Makeup: The good, the bad and the ugly: Lush Cosmetics. Skin Deep® Cosmetics Database (EWG).

Lua bookmarks
29 Sept 2018 | original ↗

Build and Run (Standalone) · sumneko/lua-language-server Wiki · GitHub. how to lua and c - a short novel. Lua Digest. Lua tables (Hacker News).

Minimalist bookmarks
28 Sept 2018 | original ↗

mnmll.ist: listing all things minimalist. Raising Simple | Streamline your home. Simplify family life (minimalism).

Recover from Time Machine's "backup already in use"
23 Sept 2018 | original ↗

Started seeing "backup already in use" error from my daily Time Machine backups, against my Synology. Disabling and re-enabling AFP did the job (via Synology -> Control Panel -> Files Services -> Enable AFP service).

London bar backlog
11 Sept 2018 | original ↗

Soho 68 and Boston (cocktails and wine bar).

CMake bookmarks
3 Sept 2018 | original ↗

An Introduction to Modern CMake (Hacker News). An Introduction to Modern CMake. Embracing Modern CMake (Steveire's Blog).

Pandoc bookmarks
28 Aug 2018 | original ↗

How I wrote and published my novel using only open source tools. Pandoc (Hacker News). Pandoc - Demos.

GTD/Get things done bookmarks
28 Aug 2018 | original ↗

Daily Time Management with Todoist and Google Calendar | JamesStuber.com. Don’t drown in email! How to use Gmail more efficiently. - Startup Lessons Learned. Getting Things Done + Personal Knowledge Management - Praxis. Orgmode for GTD/Get things done.

Scala bookmarks
27 Aug 2018 | original ↗

Functional Programming for Mortals (Leanpub).

Scala bookmarks
27 Aug 2018 | original ↗

Functional Programming for Mortals (Leanpub).

Mauritius travel bookmarks
27 Aug 2018 | original ↗

20 Amazing Things to Do in Mauritius (2020 Guide). Corson vanilla tea. Ile aux Cerfs (Mauritius) - Jonathan/Vanessa excursions. Le Morne Brabant (Wikipedia). Mauritius Beaches - the Best Beaches in Mauritius - Mauritius Attractions. Mauritius beaches: pictures, information, resorts, sights. Mauritius sights, large pictures, best things to see and...

Actionable URLs in Emacs buffers
22 Aug 2018 | original ↗

Should have enabled actionable URLs in my Emacs buffers long ago. Can now click or press return to follow links. It's great on eshell, compilation buffers, async shell commands, code, etc. (use-package goto-addr :hook ((compilation-mode . goto-address-mode) (prog-mode . goto-address-prog-mode) (eshell-mode ....

Bazel bookmarks
22 Aug 2018 | original ↗

Bazel_with_GTest: C++ project skeleton with Bazel & GTest. Build mobile apps with Bazel. Part 2: iOS. GitHub - bazelbuild/rules_docker: Rules for building and handling Docker images with Bazel. GitHub - jin/awesome-bazel: A curated list of Bazel rules, tooling and resources. Using Bazel to help fix flaky tests - Jake McCrary.

Palestine travel bookmarks
18 Aug 2018 | original ↗

Rukab's Ice Cream, Ramallah (Trip advisor).

Enabling Control-Meta(⌘)-D on macOS
18 Aug 2018 | original ↗

I use command (⌘) as my Emacs Meta key. Recently discovered C-M-d is not available to Emacs for binding keys on macOS. Stack Exchange had the workaround: defaults write com.apple.symbolichotkeys AppleSymbolicHotKeys -dict-add 70 'enabled'

Palestine travel bookmarks
18 Aug 2018 | original ↗

Rukab's Ice Cream, Ramallah (Trip advisor).

Recycling bookmarks
13 Aug 2018 | original ↗

My Plastic-free Life.

Recycling bookmarks
13 Aug 2018 | original ↗

My Plastic-free Life.

Mozambique travel bookmarks
12 Aug 2018 | original ↗

Mozambique's beaches - Africa is Back - Quora.

M-r history search in git-commit-mode
12 Aug 2018 | original ↗

I've grown accustomed to M-r bindings to search Emacs history. Been wanting similar functionality to search commit message history. Turns out log-edit-comment-ring has some of my local commit message history. Feeding it to completing-read gives me an easily searchable history when using a completing framework like ivy or helm: (defun...

Corsica travel bookmarks
12 Aug 2018 | original ↗

National Geographic : Corsica is The Best Place… - The French Touch - Quora.

France travel bookmarks
12 Aug 2018 | original ↗

France's 10 top food experiences - Lonely Planet. GR 20 : Best Mountain Hiking in France - The French Touch - Quora. Hmmm I want to take some August vacation time in a city I can go by train from paris and is nice to visit calm and not too expensive .

Comoro islands travel bookmarks
12 Aug 2018 | original ↗

Visiting The Comoros Islands (Quota).

Morning smoothie
9 Aug 2018 | original ↗

Big fan of my morning power smoothie. Best deals I've found so far: Almonds (BuyWholeFoodsOnline.co.uk, £1.06/100g @ Amazon). Banana. Blueberries. Chia seeds (£4.99/Kg @ Real Food Source). Cocoa powder (Active foods, £ 1.7/100g @ Bulk Powders). Coconut water (Innocent, £0.37/100ml @ Tesco). Crunchy peanut butter (£ 4.99/Kg @ Real Food Source)....

Ledger bookmarks
8 Aug 2018 | original ↗

"Full-fledged Hledger" Tutorial (interesting approach with great traceability and regeneration). "Full-fledged Hledger" Tutorial. Accounting and financial statements (Khan Academy). Accounting in Plain Text, Part 1 – cvilleFOSS. Command Line Accounting - A look at the various ledger ports (mkauer). Conquering Your Finances with Emacs and Ledger :...

Ledger bookmarks
8 Aug 2018 | original ↗

"Full-fledged Hledger" Tutorial (interesting approach with great traceability and regeneration). "Full-fledged Hledger" Tutorial. Accounting and financial statements (Khan Academy). Accounting in Plain Text, Part 1 – cvilleFOSS. Command Line Accounting - A look at the various ledger ports (mkauer). Conquering Your Finances with Emacs and Ledger :...

Installing ludget (ledger visualization
8 Aug 2018 | original ↗

Needed python3: brew install python3 Use pip3 to install ludget: pip3 install ludget

Installing ludget (ledger visualization
8 Aug 2018 | original ↗

Needed python3: brew install python3 Use pip3 to install ludget: pip3 install ludget

Tip: Convert .texi to .info
7 Aug 2018 | original ↗

Convert with: makeinfo doc.texi View with: Open in Emacs and render as info with: (defun ar/format-info-mode () (interactive) (let ((file-name (buffer-file-name))) (kill-buffer (current-buffer)) (info file-name)))

Marking 20k emails as read
25 Jul 2018 | original ↗

Mbsync and mu4e are great for syncing and handling IMAP email. I've now migrated 4 email addresses, including an old Yahoo account. I wanted to mark all my Yahoo unread emails as read. Yahoo's webmail enables marking 500 emails at a time, making the process a little tedious. Mu-discuss has a handy thread, highlighting that moving/renaming synced...

Show iOS simulator touches
24 Jul 2018 | original ↗

TIL from this tweet, that you can enable showing touches on iOS simulator. This is handy for making nicer screencasts. defaults write http://com.apple .iphonesimulator ShowSingleTouches 1

Amsterdam travel bookmarks
15 Jul 2018 | original ↗

Below the Surface: The archaeological finds of the North / Southline in Amsterdam.

Hardware bookmarks
14 Jul 2018 | original ↗

Roman Zolotarev's OpenBSD on my fanless desktop computer (really sweet setup). stapelberg uses this: my 2020 desk setup.

fitbit API, org babel, and gnuplot
11 Jul 2018 | original ↗

Retook running recently. Took the dust off my aria scale and used the opportunity to check out fitbit's API. First register your app at dev.fitbit.com/apps/new and get a client_id=AABBCC. You'll also need your USER_ID, from your Fitbitx user profile. We'll also need a token. I used the implicit grant flow URL in my browser and extracted...

Human memory bookmarks
8 Jul 2018 | original ↗

Augmenting Long-term Memory (Michael Nielsen). Ludism's memory techniques. Using Anki to remember what you read | Hacker News. Using Anki to remember what you read | Hacker News.

PIPESTATUS for all return codes
8 Jul 2018 | original ↗

From @saruspete's tweet, ${PIPESTATUS[@]} gives ya all piped commands' return codes: echo foo | grep bar | tr z a | cat echo ${PIPESTATUS[@]}

Emacs utilities for your OS
7 Jul 2018 | original ↗

Narrowing utilities are a wonderful way of increasing productivity. I have a few workflows using Emacs's Helm framework. There are great productivity boosters like Alfred and Quicksilver for macOS, with batteries included. If you're a tinkerer, you'd enjoy the powerful Hammerspoon. Like elisp gluing all things Emacs, Hammerspoon uses Lua to glue...

Web serving tools bookmarks
1 Jul 2018 | original ↗

Certbot: Automatically enable HTTPS on your website, deploying Let's Encrypt certificates. How to configure WireGuard to tunnel traffic from a macOS client through a Debian server with IPv4 and IPv6. HTTPS Is Easy (Irreal). I made my own WireGuard VPN server (Hacker News). JSON:API — A specification for building APIs in JSON. MirageOS:...

URL shortener bookmarks
24 Jun 2018 | original ↗

go: Another Google-like Go short link service. zap: Blazing fast web shortcuts.

Trying out mu4e with mbsync
17 Jun 2018 | original ↗

The email fun in Emacs continues. After a few weeks since I started using mu4e and offlineimap, I'm sold. Both are awesome. Mbsync is an offlineimap alternative. Despite resyncing all my mail, the transition was fairly smooth. Here's how… Install isync (for mbsync) brew install isync Configure mbsync Mbsync uses ~/.mbsyncrc for configuration....

Sticky function keys on touch bar
15 Jun 2018 | original ↗

Visible (and sticky) function keys are not the touch bar default for Emacs. Let's change that:

GNU find on macOS
13 Jun 2018 | original ↗

At times, you may need GNU versions of command line utilities on macOS. For example, GNU find. As usual, Homebrew saves the day. Install with: brew install findutils Unless you install with –with-default-names (I don't), GNU utilities will be prefixed with a "g". gfind --version If you need more, there are others: brew install binutils brew...

PlantUML bookmarks
13 Jun 2018 | original ↗

Collection of PlantUML snippets from Scripter.co. Real World PlantUML. Welcome to The Hitchhiker’s Guide to PlantUML!.

Adding mu4e maildirs extension
29 May 2018 | original ↗

Continuing the mu4e fun, added mu4e-maildirs-extension to display a mail dirs summary.

Trying out mu4e and offlineimap
28 May 2018 | original ↗

Managing Email from Emacs. Surely that's crazy-talk, but hey… let's give it a try. Install offlineimap Need to sync via imap. Use offlineimap. I'm on macOS, so homebrew is king for installing: brew install offlineimap Before can configure offlineimap, we'll need to handle a few things first. Get a cert fingerprint Use openssl for getting a...

Lunette: Like Spectacle but for Hammerspoon
24 May 2018 | original ↗

Came across Lunette. Gives ya Spectacle Keybindings for Hammerspoon.

Transparent Emacs titlebars on macOS
24 May 2018 | original ↗

Happy with Emacs Plus builds on Mac. You get some eye-candy bonuses like transparent titlebars. To install: brew tap d12frosted/emacs-plus brew install emacs-plus --without-spacemacs-icon Config: (when (memq window-system '(mac ns)) (add-to-list 'default-frame-alist '(ns-appearance . dark)) ; nil for dark text (add-to-list...

Train Emacs to open files externally
23 May 2018 | original ↗

TIL about the openwith package. It enables Emacs to defer to external programs for certain files. You choose which ones. Neat. (use-package openwith :ensure t :config (csetq openwith-associations '(("\\.\\(mp4\\|mp3\\|webm\\|avi\\|flv\\|mov\\)$" "open" (file)))) (openwith-mode 1))

Show hidden files in Finder
22 May 2018 | original ↗

defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder

Ejecting USB drives on Synology
22 May 2018 | original ↗

For posterity: Control panel > External devices > USB Disk 1 > Eject

Remounting Synology encrypted share
21 May 2018 | original ↗

Had been a while since I did this… for posterity: Control panel > Shared Folder > Encryption > Mount

Synology user had no home
20 May 2018 | original ↗

Upon ssh'ing to a Synology box, the user had no home. Could not chdir to home directory /var/services/homes/someone: No such file or directory Fixed via: Control Panel > User > Advanced > User Home > [x] Enable user home service

Pre-commit hooks to save you from yourself
30 Apr 2018 | original ↗

Wanted to try out some code, but needed to ensure never checked in. Git pre-commit hooks are handy in this space. Add the following script to search for either @COMMITFAIL or @NOCOMMIT in the staged files. If found, attempts to commit will fail. Based on https://gist.github.com/rex/223b4be50285f6b8b3e06dea50d15887: #!/bin/bash set -o nounset set...

Paper less bookmarks
19 Apr 2018 | original ↗

danielquinn/paperless: Scan, index, and archive all of your paper documents. Digitizing All Your Paper Stuff. Fujitsu ScanSnap iX500 Color Duplex Desk Scanner for Mac and PC. Going Paperless: Scanning to Evernote, Revisited | Jamie Todd Rubin. guess-filename.py: Derive a file name according to old file name cues and/or PDF file content. Hazel for...

Paper less bookmarks
19 Apr 2018 | original ↗

danielquinn/paperless: Scan, index, and archive all of your paper documents. Digitizing All Your Paper Stuff. Fujitsu ScanSnap iX500 Color Duplex Desk Scanner for Mac and PC. Going Paperless: Scanning to Evernote, Revisited | Jamie Todd Rubin. guess-filename.py: Derive a file name according to old file name cues and/or PDF file content. Hazel for...

Debugging Emacs binary
19 Apr 2018 | original ↗

From How do I debug an emacs crash? (Emacs Stack Exchange), disable optimizations when configuring and build: CFLAGS="-O0 -g3" ./configure ... make And good 'ol gdb (lldb works too): gdb ../nextstep/Emacs.app/Contents/MacOS/Emacs Reference etc/DEBUG: Debugging GNU Emacs.

Azores travel bookmarks
19 Apr 2018 | original ↗

Azores islands. My configuration with init.lua and the require()ed modules. This other Eden: the Azores, Europe's secret islands of adventure.

Bologna travel bookmarks
18 Apr 2018 | original ↗

Il Cannone restaurant.

Grep through pdfs
17 Apr 2018 | original ↗

Late to the party, but investing in going paperless. Got a scanner with OCR, which generates searchable pdfs. If I could only grep through them… brew install pdfgrep Balance restored.

Options to reduce Go binary size
14 Apr 2018 | original ↗

A Hacker News's thread Go gets preliminary WebAssembly support has a couple of tips to reduce binaries compiled with Go. go build -ldflags=-s UPX (Ultimate Packer for eXecutables) packs the binary further. upx --ultra-brute

Options to reduce Go binary size
14 Apr 2018 | original ↗

A Hacker News's thread Go gets preliminary WebAssembly support has a couple of tips to reduce binaries compiled with Go. go build -ldflags=-s UPX (Ultimate Packer for eXecutables) packs the binary further. upx --ultra-brute

Hammerspoon bookmarks
14 Apr 2018 | original ↗

dotfiles/grid.lua at master for simple functions to resize windows. Emacs keys everywhere Hammerspoon Script. Getting Started With Hammerspoon (by Diego Martín Zamboni). Hammerspoon config inspired by Spacemacs. Just Enough Lua to Be Productive in Hammerspoon, Part 1. Just Enough Lua to Be Productive in Hammerspoon, Part 2....

Trying out tesseract
9 Apr 2018 | original ↗

As part of going paperless, looking into OCR. Trying out tesseract. Install $ brew install gs $ brew install imagemagick $ brew install tesseract $ convert -density 300 -depth 8 receipt.pdf receipt.png $ tesseract receipt.png receipt.png.txt

Trying out ShellCheck
8 Apr 2018 | original ↗

ShellCheck gives you automatic warnings/suggestions in bash/sh shell scripts. $ brew install shellcheck Bonus: If using Emacs's flycheck, you get ShellCheck support out of the box.

Sapporo travel bookmarks
8 Apr 2018 | original ↗

175 ° DENO Dandan Noodles, Sapporo. The Hill of the Buddha.

Gif bookmarks
8 Apr 2018 | original ↗

An idiot’s guide to animation compression | Taking Initiative. gif-progress: Attach progress bar to animated GIF. gifski — highest-quality GIF converter. keycastr: an open-source keystroke visualizer. phw/peek: Simple animated GIF screen recorder for Linux.

Image editing bookmarks
8 Apr 2018 | original ↗

Exif.tools – A multimedia file metadata tool (Hacker News). Fred's ImageMagick Scripts (Hacker News). How to crop in GIMP (Linux Hint). ImageMagick to Sharpen an Image – Linux Hint. Jpeg2png: Silky smooth JPEG decoding – no more artifacts (2016) | Hacker News. Make your own meme image using Imagemagick. The Art of PNG Glitch (Hacker News). The...

Sapporo travel bookmarks
8 Apr 2018 | original ↗

175 ° DENO Dandan Noodles, Sapporo. The Hill of the Buddha.

Buying matcha powder online
5 Apr 2018 | original ↗

From Reddit's thread: https://yunomi.life https://shop.ippodo-tea.co.jp/kyoto/shopf/index.html https://www.o-cha.com http://hojotea.com/categ_e/viewe.htm http://yuuki-cha.com http://www.hibiki-an.com/index.php http://www.thes-du-japon.com/index.php?main_page=index https://www.chadoteahouse.com https://www.denstea.com https://www.sazentea.com/en...

Getting macOS app bundle ID
4 Apr 2018 | original ↗

From stack overflow: Option 1 osascript -e 'id of app "Emacs"' Option 2 mdls -name kMDItemCFBundleIdentifier -r SomeApp.app

Trying out chunkwm
31 Mar 2018 | original ↗

Installing Chunkwm $ brew tap crisidev/homebrew-chunkwm $ brew install --HEAD --with-tmp-logging chunkwm Add a configuration file. Started off from this example. ~.chunkwmrc chmod +x ~.chunkwmrc Note: Ensure core::plugin_dir matches homebrew's plugin directory. Typically something like: //path/to/homebrew/opt/chunkwm/share/chunkwm/plugins/ Start...

Building bazel on macOS
6 Feb 2018 | original ↗

Bootstrap brew tap bazelbuild/tap brew install bazelbuild/tap/bazel Build git clone https://github.com/bazelbuild/bazel.git cd bazel bazel build //src:bazel Get your bazel binary Self-contained binary in bazel-bin/src/bazel Known revisions https://github.com/bazelbuild/bazel.git @ d81a46cebe07f73d3ea38206262cf7a1a9513b42...

Building bazel on macOS
6 Feb 2018 | original ↗

Bootstrap brew tap bazelbuild/tap brew install bazelbuild/tap/bazel Build git clone https://github.com/bazelbuild/bazel.git cd bazel bazel build //src:bazel Get your bazel binary Self-contained binary in bazel-bin/src/bazel Known revisions https://github.com/bazelbuild/bazel.git @ d81a46cebe07f73d3ea38206262cf7a1a9513b42...

Extracting files from pkg
7 Jan 2018 | original ↗

mkdir tmp cd tmp xar -xf ../Some.pkg cat Payload | gunzip -dc |cpio -i

Installing Inkscape with homebrew
7 Jan 2018 | original ↗

brew tap caskroom/cask brew install caskformula/caskformula/inkscape

Installing Inkscape with homebrew
7 Jan 2018 | original ↗

brew tap caskroom/cask brew install caskformula/caskformula/inkscape

Magit amend commit author
16 Dec 2017 | original ↗

Rarely use it, but handy. Use Magit to amend git commit author. Rebase interactively (r, i). Move point to commit to ammend. Execute command (x). git commit --amend --author="name " Commit (c, c).

Magit amend commit author
16 Dec 2017 | original ↗

Rarely use it, but handy. Use Magit to amend git commit author. Rebase interactively (r, i). Move point to commit to ammend. Execute command (x). git commit --amend --author="name " Commit (c, c).

Homebrew install from cache
13 Dec 2017 | original ↗

Came across a 404 while installing graphviz-2.40.1.tar.gz via homebrew. If you can find the package elsewhere, copy over to homebrew's cache directory. brew --cache

org-babel Objective-C support
16 Nov 2017 | original ↗

Wanted to quickly execute an Objective-C snippet. org-babel didn't support it out of the box, but adding it was straightforward (looked at ob-C.el and ob-java.el): (require 'ob) (defcustom org-babel-objc-compile-command "clang -x objective-c -framework Foundation" "For example: \"clang -x objective-c -framework Foundation\"." :group...

org-babel Objective-C support
16 Nov 2017 | original ↗

Wanted to quickly execute an Objective-C snippet. org-babel didn't support it out of the box, but adding it was straightforward (looked at ob-C.el and ob-java.el): (require 'ob) (defcustom org-babel-objc-compile-command "clang -x objective-c -framework Foundation" "For example: \"clang -x objective-c -framework Foundation\"." :group...

iOS dev command-line goodies
12 Nov 2017 | original ↗

Install ipa on device Get utility with: npm install -g ipa-deploy npm install -g ios-deploy Install ipa on connected iPhone: ipa-deploy path/to/your/App.ipa Install app on booted simulator Install ipa on connected iPhone: xcrun simctl install booted path/to/your/App.app Install ipa on booted simulator #!/bin/bash # Unzip ipa, install app, and run...

iOS dev command-line goodies
12 Nov 2017 | original ↗

Install ipa on device Get utility with: npm install -g ipa-deploy npm install -g ios-deploy Install ipa on connected iPhone: ipa-deploy path/to/your/App.ipa Install app on booted simulator Install ipa on connected iPhone: xcrun simctl install booted path/to/your/App.app Install ipa on booted simulator #!/bin/bash # Unzip ipa, install app, and run...

Eshell pcomplete company completion
1 Nov 2017 | original ↗

Howard Abrams's Introduction to eshell video prompted me to poke at eshell some more. This time, I got eshell context aware completion by glueing the excellent company and pcomplete packages. (require 'cl-lib) (require 'company) (require 'dash) (require 'pcomplete) (require 's) (defun company-pcomplete--overlap-tail (a b) "When A is \"SomeDev\"...

Basic imenu in helpful-mode
10 Sept 2017 | original ↗

I'm finding Wilfred Hughes's helpful-mode, well… rather helpful. However, I'm missing imenu support. Here's a hacky way to get basic imenu. (defun helpful--create-imenu-index () "Create an `imenu' index for helpful." (beginning-of-buffer) (let ((imenu-items '())) (while (progn (beginning-of-line) ;; Not great,...

Projectile shell dir company completion
19 Aug 2017 | original ↗

Projectile and company are just amazing Emacs packages. Projectile gives random access to files, while company completes well… anything. For shells, Emacs has a handful of options. Standing on the shoulders of package giants (dash and f included) and some elisp, we can bring random access to project directories from the shell. (require 'cl-lib)...

Projectile shell dir company completion
19 Aug 2017 | original ↗

Projectile and company are just amazing Emacs packages. Projectile gives random access to files, while company completes well… anything. For shells, Emacs has a handful of options. Standing on the shoulders of package giants (dash and f included) and some elisp, we can bring random access to project directories from the shell. (require 'cl-lib)...

Creating icns icons
9 Aug 2017 | original ↗

Stack overflow yields Where can i find Icon Composer on Mac? when I did a quick search to convert a png to icns. For future reference: #!/bin/bash -e set -e set -o pipefail if [ "$#" -ne 1 ]; then echo "\nusage: to_icns.sh path/to/image.png\n" exit 1 fi readonly IMAGE_FPATH=$1 readonly BASENAME=$(basename ${IMAGE_FPATH%.*}) mkdir...

Forcing aptX on MacOS bluetooth audio
6 Aug 2017 | original ↗

Bought a pair of QuietComfort 35. Audio quality on MacOS was lagging compared to iOS. Googling led to different posts suggesting the use of Bluetooth Explorer to force aptX usage. Did the trick for me. Bluetooth Explorer can be downloaded from https://developer.apple.com/download/more. Search for Hardware IO tools: Open...

Hungary travel bookmarks
10 Jul 2017 | original ↗

My city: Budapest - Lonely Planet.

Faster cursor movement on macOS
8 Jul 2017 | original ↗

Faster cursor movement on macOS by increasing your keyboard's initial key repeat subsequent key repeat. defaults write -g KeyRepeat -int 1 defaults write -g InitialKeyRepeat -int 10

Search/insert one-liners with Emacs helm-ag
7 Jul 2017 | original ↗

Emacs helm is awesome. helm-ag is double awesome. Searching for one-liners in your codebase, narrowing down with helm, and easily inserting is triple awesome. (defun ar/helm-ag (arg) "Helm-ag search remembering last location. With ARG, forget the last location." (interactive "P") (defvar ar/helm-ag--default-locaction nil) (setq...

Sleep bookmarks
29 May 2017 | original ↗

Algorithmic Solution to My Insomnia (Hacker News). Melatonin - Gwern.net. Melatonin: Much More Than You Wanted To Know | Slate Star Codex.

Tea bookmarks
28 May 2017 | original ↗

Georgia's notes on tea. Nine Green Teas To Try | Video (Andrew Weil, M.D.).

GnuPG and macOS
23 Apr 2017 | original ↗

Had problems installing and using GnuPG on macOS, primarily for Emacs use: gpg: problem with the agent: Inappropriate ioctl for device gpg: error creating passphrase: Operation cancelled gpg: symmetric encryption of '[stdin]' failed: Operation cancelled Basic installation required: brew install gnupg But worked around the error above by using...

Math bookmarks
23 Apr 2017 | original ↗

3Blue1Brown. Calculus Made Easy (1914) (Hacker News). Visually stunning math concepts which are easy to explain.

Installing gnuplot on macOS
13 Mar 2017 | original ↗

UPDATE(2019-05-19 Sun): Plan A and B use options no longer available since the recent changes to remove all options from Homebrew/homebrew-core formulae. See Plan C. Plan A Install gnuplot Qt If you have the resources, you can try the Qt flavor. You need at least 15GB to download and a long build. Ran out of space on my Macbook Air. Aborted. brew...

Nepal travel bookmarks
22 Jan 2017 | original ↗

Annapurna Circuit Itinerary - Erika's Travelventures. Nepal in Pictures: 19 Beautiful Places to Photograph. Patan Durbar square. The Truth Behind the Mysterious Magnetic Hill of Ladakh - Vargis Khan.

Jerusalem travel bookmarks
22 Jan 2017 | original ↗

Jerusalem: Rooftop Mamilla restarurant.

Tel Aviv travel bookmarks
22 Jan 2017 | original ↗

Breakfast club (dancing). Claro/Sarona Market. Dizengoff Square - Wikipedia. Drink Cafe hafuch at Rothschild 12. Jaffa's Flea market. Nightlife: Kuli Alma's hipster haven. Imperial craft cocktail bar (drink Gold fashioned). Park HaYarkon. Tel Aviv museum of art.

Email provider bookmarks
2 Dec 2016 | original ↗

Dropping G Suite - Robin Whittleton. Heluna - Cloud-based antispam. Mail-in-a-Box. mailbox.org – Ihr sicherer E-Mail-Anbieter. Mailbox.org. Migadu. Posteo. ProtonMail. Soverin - Home - Soverin.

Singapore notes
2 Dec 2016 | original ↗

Hotel Mono, 18 Mosque street #01-04. Buddha tooth relic museum. Best Hawker centers. Kong Meng San Phor Kark See Monastery. Go there (figure out fastest MRT route). What to eat at ABC Market (Hawker Centre) aka ABC Brickworks Food Centre?. Curry puffs (see Taste test: Crisp curry puffs). Singapore’s 17 Michelin-rated Hawker Stalls in 2016....

Javascript snippets
1 Dec 2016 | original ↗

@alvaro

Go snippets
1 Dec 2016 | original ↗

Command-line flags import ( "flag" ) type args struct { flag1 string flag2 string arg string } func parseArgs() args { args := args{} flag.StringVar(&args.flag1, "flag1\n", "\n", "some flag 1 with sample `value`") flag.StringVar(&args.flag2, "flag2\n", "\n", "some flag 2 with sample `value`") ...

Javascript snippets
1 Dec 2016 | original ↗

@alvaro

Sydney travel bookmarks
27 Nov 2016 | original ↗

17 Stunning Sydney Pools That Will Make You Want To Jump Back In The Water. 48 Hours in Sydney. Bourke Street Bakery. Collector Store (Surrey Hills). Coogee Pavilion. Four ate five. Harry's Cafe de Wheels: Famous for Pies and Peas, Meat Pies, Hot Dogs. Hurricane’s grill & bar Bondi beach. Lox Stock & Barrel. Marigold citymark (dim sum). Reuben...

Laos travel bookmark
16 Oct 2016 | original ↗

Best Way to Enjoy Luang Prabang.

Laos travel bookmark
16 Oct 2016 | original ↗

Best Way to Enjoy Luang Prabang.

Singapore travel bookmarks
8 Oct 2016 | original ↗

Any place to go thrift shopping in Singapore? (Reddit). East coast lagoon. Food post on SG. Hillstreet Tai Hwa Pork Noodles: Everybody Queue up!. Little India. More SG spots. Second hand shopping in Singapore. SG spots. Singapore's best hawker centres - Telegraph. The Insider's Guide to Singapore (SG Magazine Online). Treasure Hunt: 5 Places to...

New York travel bookmarks
1 Oct 2016 | original ↗

Best taco joints in New York City - Lonely Planet. Nice and/or fancy restaurant to eat at in brooklyn (Erica Joy's tweet).

New York travel bookmarks
1 Oct 2016 | original ↗

Best taco joints in New York City - Lonely Planet. Nice and/or fancy restaurant to eat at in brooklyn (Erica Joy's tweet).

Cambodia travel bookmarks
1 Oct 2016 | original ↗

Pub Street (Siem Reap, Cambodia).

Handy pdf utilities
18 Sept 2016 | original ↗

Straight out of How (and why) I made a zine, some handy utilities for generating pdfs… Convert pngs to pdfs # start with a bunch of PNG images of your zine pages # convert them all to PDF for i in *.png do # imagemagick is the best thing in the world convert $i $i.pdf done Combine pdfs Combine pdfs using pdftk: pdftk *.pdf cat...

API design bookmarks
18 Sept 2016 | original ↗

A bird's eye view on API development. A Guide to Designing and Building RESTful Web Services with WCF 3.5 (Microsoft). Ask HN: Suggestions for books about API design? | Hacker News. Best Practices for Designing a Pragmatic RESTful API. Build APIs You Won't Hate. Designing and Evaluating Reusable Components. Harry Moreno | API Design Link Roundup....

Fuzzy search Emacs compile history
15 Sept 2016 | original ↗

I wrote about searching bash history with Emacs Helm some time ago. Since then, I've learned about completing-read to generically handle simple Emacs completions (very handy for supporting Helm, Ivy, and Ido completions). Here's a simple way to combine completing-read and the compile command to enable fuzzy searching your compile history: (defun...

Jumping on the Emacs 25 bandwagon
5 Sept 2016 | original ↗

Can't miss out on all the new fun. Emacs 25 RC2 is out and lots of people already using it. Since I'm mostly on MacOS these days, installing via homebrew with –devel, gets you RC2: brew install emacs --devel --with-cocoa --with-gnutls --with-librsvg --with-imagemagick The only hiccup so far's been org mode failing to export, which was fixed by...

San Francisco's Mission District travel bookmarks
31 Jul 2016 | original ↗

Atlas Cafe. Blue Bottle Coffee. Cafe la Boheme. Clarion Alley. Coffee Bar. Dynamo donut & coffee. Four Barrel Coffee. Grand Coffee. Haus Coffee. Kafe 99. Linea cafe. Mission skateboards. pNakamoto's Bitcoin shop. Philz Coffee. Ritual Coffee roasters. Rodger's coffee & tea. Sightglass Coffee. Stable Cafe. Sugar lump coffee lounge.

Moscow travel bookmarks
25 Jul 2016 | original ↗

Drюzhivago (restaurant). Gorky park. Hotel Peking. Izmailovo. Kolomenskoe (park). Kremlin. Kuskovo (park). Mariinsky (see ballet or opera). Moskow times (check for events). Strelka (lectures, cocktails and dances). Tarasbulba (food). Tsaritsyno park.

Vietnam travel bookmarks
24 Jul 2016 | original ↗

Can Ba Quan Nikki Tren. Vietnamese Cajun. Exploring Vietnam's remote Con Dao Islands. Hoi An, Vietnam- Travel guide. List of Locations: Somebody Feed Phil - Ho Chi Minh City, Vietnam. Pho Bo Phu Gia DC: 146K LY Chinh Thang. 0908 208 866. Simon Standly and Vin Dao (food journalists) Somebody Feed Phil, List of Locations: Ho Chi Minh City. Thuc...

Pokémon Go bookmarks
19 Jul 2016 | original ↗

Pokémon GO Lengthy Introduction Guide (Reddit). Pokémon locations. Some tips from my last days playing (Reddit). Yet another "Tips and Tricks" from a level 20+ (Reddit).

Machine learning bookmarks
3 Jul 2016 | original ↗

A Course in Machine Learning (Hacker News). How to start learning deep learning (Hacker News). How to start learning deep learning. Machine Learning is Fun! The world’s easiest introduction to Machine Learning. Practical Deep Learning for Coders 2019 (Hacker News). What are the best ways to pick up Deep Learning skills as an engineer? (Quora).

Coffee bookmarks
3 Jul 2016 | original ↗

Changes properties of coffee brew during roasting. Aeropress Iced Coffee.

Emacs and emotional vocab
17 Jun 2016 | original ↗

Having read Are You in Despair? That’s Good, I was encouraged to expand my emotional vocabulary. As a zone.el fan (checkout nyan, sl, and rainbow), I looked into writing a zone program. When zone-when-idle is set, zone acts as a screensaver of sorts. We can use this to display random emotional vocab whenever Emacs is idle for a period of time....

Emacs: Find number of days between dates
10 May 2016 | original ↗

Needed to find the number of days between two dates. Emacs calendar must know this… Fire up the manual (M-x info-emacs-manual or C-h r). Info-goto-node (or g). Type "counting days" and voilá: To determine the number of days in a range, set the mark on one date using `C-', move point to another date, and type `M-=' (`calendar-count-days-region')....

RoutingHTTPServer snippet
8 May 2016 | original ↗

RoutingHTTPServer snippet: RoutingHTTPServer *routingHTTPServer = [[RoutingHTTPServer alloc] init]; [routingHTTPServer setPort:8000]; [routingHTTPServer setDefaultHeader:@"Server" value:@"YourAwesomeApp/1.0"]; [routingHTTPServer handleMethod:@"GET" withPath:@"/hello" block:^(RouteRequest *request,...

UIViewController bookmarks
6 May 2016 | original ↗

What's your number one tip for avoiding massive view controllers?. 8 Patterns to Help You Destroy Massive View Controller. Blending Cultures: The Best of Functional, Protocol-Oriented, and Object-Oriented Programming. Dan Abramov - Live React: Hot Reloading with Time Travel. Comparing Reactive and Traditional. ReSwift: Getting Started. StateView...

Alaska travel bookmarks
6 May 2016 | original ↗

Anchorage. Denali NP. Exit Glacier / Kenai Fjord NP. Ice Falls Hike. Iditarod race husky camp. Seward: Kenai Fjord Wildlife cruise (Major Marine cruises). Talkeetna fishing.

When OOO impulse kicks in…
3 May 2016 | original ↗

You start moving trivial bits of code into classes, with the anticipation that you might use it one day. Stop. On naming, semantic clarity trumps brevity. Yup, the verbosity may be worth it.

Haskell bookmarks
2 May 2016 | original ↗

A gentle introduction to profunctors talk. A Haskell Reading List (Hacker News). A Haskell Reading List. Advice for Haskell beginners (2017) (Hacker News). An opinionated guide to Haskell in 2018. Haskell Programming: From First Principles. Haskell's kind system - a primer. Higher order functions. Intero: Complete interactive development program...

8 week half-marathon training
2 May 2016 | original ↗

An 8-week training schedule: WEEK MON TUE WED THU FRI SAT SUN 1 Rest 5 Km 5 Km Cycle Rest 5 Km 8 Km 9 Km 29:56 29:54 29:45 1:00:55 2 Rest 7 Km 5 Km Cycle Rest 5 Km 10 Km 41:36 ...

St. Petersburg travel bookmarks
2 May 2016 | original ↗

Faberge Muse. Find a place to eat Koryushka (fried fish). Get "Pyshka" at Pyshechnaya in Saint Petersburg: local donut shop with 60 years of history. Hermitage Museum. Savior on the Spilled Blood Church. Stolle (pie shop).

Scotland travel bookmarks
2 May 2016 | original ↗

The Open Book (AirBnB + a bookshop). Where to eat in Edinburgh? (Twitter)

Money bookmarks
2 May 2016 | original ↗

10 Countries Where That Social Security Check Will Let You Retire in Style (TheStreet). 20 items to consider for taxes: Income Tax, Council Tax, and Inheritance Tax (lovemoney.com). 25 Bloggers Share The Worst Financial Advice They've Ever Received - Be Net Worthy. 25 y/o. Potentially £2m. Bit overwhelmed. : UKPersonalFinance. 9 Best New Personal...

Pakistan travel bookmarks
2 May 2016 | original ↗

How Philly Cheesesteaks Became a Big Deal in Lahore, Pakistan. Karachi. Lahore. Rabelpindi. Shinwari BBQ.

Haskell notes
17 Apr 2016 | original ↗

Referential transparency An expression consistently evaluating to the same result, regardless of context. References learnyouahaskell.com. wiki.haskell.org.

Emacs Objective-C tagging with RTags
28 Mar 2016 | original ↗

Install libclang on Mac brew install llvm --with-clang Install RTags git clone --recursive https://github.com/Andersbakken/rtags.git cd rtags cmake -DCMAKE_PREFIX_PATH=/Users/your-user-name/homebrew/opt/llvm -DCMAKE_EXPORT_COMPILE_COMMANDS=1 . make Start RTags daemon path/to/rtags/bin/rdm 2> /tmp/rdm.log Compilation database Install xctool brew...

Database bookmarks
10 Mar 2016 | original ↗

Considering MySQL? Use something else. Frank's compulsive guide to postal addresses.

Python tips backlog
6 Mar 2016 | original ↗

[TODO]{.todo .TODO} A Better Pip Workflow (Hacker News).

Bruges travel bookmarks
5 Mar 2016 | original ↗

assietteblanche.be. Beer flavored meals at Den Dyver. bistrozwarthuis.be. Eat fries in front of the belfry and climb it. kok-au-vin.be. kurtspan.be. Minnewater and the old Beguinage. Old Saint john's Hospital. Relic of the Holy Blood and City hall. restomojo.tk. The Chocolate Line. The Garre, near the Burg and drink their house Tripel....

Emacs lisp snippets
2 Mar 2016 | original ↗

cl-loop for in (cl-loop for day in '("mon" "tue" "wed" "thu" "fri" "sat" "sun") do (print day)) cl-loop for from to (cl-loop for x from 1 to 5 do (print x)) pcase literal matching (pcase "word" ('word (message "Matched 'word symbol")) ("word" (message "Matched \"word\" string"))) Avoid nesting with the help of thread-first...

Some modern Objective-C idioms
18 Feb 2016 | original ↗

NSNumber literals NSNumber *number1 = @1024; NSNumber *number2 = @1024.123f; NSNumber *number3 = @'A'; NSNumber *number4 = @YES; NSNumber *number5 = @24ul; // Unsigned long. NSNumber *number6 = @123456ll; // Long Long. NSNumber *number7 = @5050.50; // Float. NSNumber *number8 = @1543; // Integer NSNumber *number9 = @111.456; // Double Array...

Cross-platform development bookmarks
16 Feb 2016 | original ↗

How to Distribute Binaries for OS X Using Homebrew (Hacker News).

Generating a random MAC address
15 Feb 2016 | original ↗

As some point I had to generate a random MAC address. This is the snippet I used: import random def randomMAC(): mac = [0x00, 0x16, 0x3e, random.randint(0x00, 0x7f), random.randint(0x00, 0xff), random.randint(0x00, 0xff), ] return ':'.join(map(lambda x: "%02x" % x, mac)) print 'MAC => %s' % randomMAC() MAC =>...

Defined elisp variables matching regexp
14 Feb 2016 | original ↗

You can use "M-x apropos-variable" to get documentation for variables matching a pattern. For more flexibility, some elisp can help with getting a list of all variables matching a regexp: (defun ar/variables-matching-pattern (pattern) "Get a list of all variables matching PATTERN." (let ((matched-variables '())) (mapatoms (lambda...

Proselint via Emacs flycheck
13 Feb 2016 | original ↗

Based on Linting Prose in Emacs… Needs proselint installed: pip install proselint Also needs a flycheck checker defined: (flycheck-define-checker proselint "A linter for prose." :command ("proselint" source-inplace) :error-patterns ((warning line-start (file-name) ":" line ":" column ": " (id (one-or-more (not (any "...

Doh! undo last commit (Magit edition)
11 Feb 2016 | original ↗

I previously noted how to undo your last git commit (ie. soft reset). Using Magit: M-x magit-log-current. Move point to prior revision. M-x magit-reset-soft (defaults to revision at point). Or if you want a single function: (require 'magit) (defun ar/magit-soft-reset-head~1 () "Soft reset current git repo to HEAD~1." (interactive) ...

Generate go struct definition from json file
11 Feb 2016 | original ↗

From Generate go struct definition from json file, and before I forget: curl http://url.tld/file.json | gojson -name=Repository

Emacs lisp tips backlog
6 Feb 2016 | original ↗

[TODO]{.todo .TODO} Signal: a library offering enriched hook-like features. [TODO]{.todo .TODO} Debugging tips. [TODO]{.todo .TODO} Examples of Emacs modules. [TODO]{.todo .TODO} htop-like CPU and memory graphs for Emacs. [TODO]{.todo .TODO} Timp: multithreading library. [TODO]{.todo .TODO} Effortless Major Mode Development. [TODO]{.todo .TODO}...

Javascript tips backlog
6 Feb 2016 | original ↗

[TODO]{.todo .TODO} Tern.js with Atom. [TODO]{.todo .TODO} Object spread syntax proposed for ES7. [TODO]{.todo .TODO} if (typeof myvar = 'undefined') … [TODO]{.todo .TODO} copy object and set with Object.assign({}, state, {property: newValue}). [TODO]{.todo .TODO} Use ES6 computed property syntax. [TODO]{.todo .TODO} ES6 syntax: import * as...

Redux bookmarks
6 Feb 2016 | original ↗

A different way of supplying React-components with state. A SoundCloud client in React and Redux (Hacker News). Awesome redux (collection of libraries in ecosystem). Building React Applications with idiomatic redux (Hacker News). Connecting Redux to your API. Curated awesome Redux tutorial and resource links. Flux Standard Action utilities for...

Really delete iPhone photos
4 Feb 2016 | original ↗

After deleting photos, go to: Albums -> Recently Deleted -> Select -> Delete All

Entering accents in Emacs
4 Feb 2016 | original ↗

Via Irreal's Entering Accented Characters in Emacs, a reminder on how to enter accents using C-x 8. For example: C-x 8 ' A -> Á

Objective-C bookmarks
3 Feb 2016 | original ↗

Adopting Nullability Annotation. Adopting Objective-C generics. Cocoa at Tumblr. Curated list of awesome Objective-C frameworks, libraries and software. Documenting in Xcode with HeaderDoc Tutorial. How Do I Declare A Block in Objective-C?. Introduction to MVVM. Nullability and Objective-C. Ole Begemann's page. ReactiveCocoa. The Xcode Build...

Converting Unix epoc time to human readable date
3 Feb 2016 | original ↗

Via climagic's Turn a Unix epoch time back into a human readable date: GNU date -d @192179700 Tue Feb 3 07:15:00 GMT 1976 BSD/OS X date -r 192179700 Tue Feb 3 07:15:00 GMT 1976

Hot reloading with react and redux
3 Feb 2016 | original ↗

By Robert Knight (@robknight_). Checkout Browserify. Webpack (more stable?). React-transform-hmr. Reselect: A redux selector for redux. Slides https://github.com/robertknight/hot-reloading-talk

Schnitzel recipe
3 Feb 2016 | original ↗

Since eating at Fischers's, I've been inclined to make Schnitzel. This is my attempt. Ingredients Salt and ground black pepper. All-purpose flour. Eggs (beaten). Bread crumbs (natural). Oil. Preparation Flatten the pork/chicken/veal. Season (salt and pepper). Heat pan with a generous amount of oil. Dip into flour -> egg -> bread crumbs. Garnish...

Vancouver travel bookmarks
3 Feb 2016 | original ↗

17 Reasons To Visit Vancouver This Summer. The 15 most incredible places to visit in Canada.

Hiding HTML elements
2 Feb 2016 | original ↗

Hide with display:none (exclude from layout) and visibility:hidden (include in layout).

Typescript bookmarks
2 Feb 2016 | original ↗

Building TypeScript Projects with Bazel (Minko Gechev's blog). DefinitelyTyped: The repository for high quality TypeScript type definitions. gulp-typescript. React/JSX Typescript support. tslint. Typed-react. TypeScript Tricks: Type Guards (Hacker News). TypeStrong: TypeScript workflows. Typings: The type definition manager for TypeScript. Up and...

Regular expressions bookmarks
2 Feb 2016 | original ↗

Regex Cheat Sheet - DEV Community. Regex For Noobs (like me!) - An Illustrated Guide - Janmeppe.com. regex101.com. Regex101: Online regex tool. Regular Expressions for Regular Folk. Rubular: a Ruby regular expression editor.

Append jpegs in a video sequence
2 Feb 2016 | original ↗

Via climagic's make slideshow from *.jpg: for p in *.jpg; do ffmpeg -loop_input -f image2 -i $p -t 3 -r 4 -s 1080x720 -f avi - >> slides.avi; done

Meditation tips backlog
2 Feb 2016 | original ↗

[TODO]{.todo .TODO} Real Happiness Audio Files. [DONE]{.done .DONE} The science of craving.

Suspend and reattach processes
2 Feb 2016 | original ↗

Via climagic's Suspend and reattach a process to screen: longcmd ; [Ctrl-Z] ; bg ; disown ; screen ; reptyr $( pidof longcmd )

Czech Republic travel bookmarks
2 Feb 2016 | original ↗

Strahov Monastery.

Timesinking bookmarks
2 Feb 2016 | original ↗

In a Nutshell channel (YouTube). Oddly Satisfying (Subreddit). Related subreddits based on your comments. To knoll me is to love me (Subreddit).

Emacs dired for batch byte compilation
1 Feb 2016 | original ↗

Recently updated org-mode and started seeing an invalid function error: Error (use-package): ob :config: Invalid function: org-babel-header-args-safe-fn Just learned dired enables you to mark files and byte compile via M-x dired-do-byte-compile.

Echo Emacs keybiding from function name
1 Feb 2016 | original ↗

Picked up via Emacs Redux's Display the Keybinding for a Command With Substitute-command-keys, with my own example: (message (substitute-command-keys "Press \\[ar/ox-html-export] to export org file")) Press to export org file

Serializing to JSON on iOS
29 Jan 2016 | original ↗

NSDictionary *dictionary = @{ @"key1" : @"val1\n", @"key2" : @"val2\n", @"key3" : @"val3\n", @"key4" : @"val4\n", @"key5" : @"val5\n", @"key6" : @"val6\n", }; NSError *error; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dictionary options:0 error:&error]; if (error) { // noooooooooo! } NSString *json = ...

Polar travel bookmarks
25 Jan 2016 | original ↗

Quark expeditions.

Fischer's London: yes, but…
25 Jan 2016 | original ↗

Yes Step into a Viennese blast from the past. Beautiful setting and pleasant vibe. Ordered a dirty martini on the rocks, a bottle of Merlot, Käsespätzle (with bacon), and Wiener Schnitzel (with anchovy/capers/egg). All very tasty. But… Surprisingly, desserts (Topfenstrudel, Berggasse and coffee) were nothing spectacular. Also not a cheap eat (£50...

Sweden travel bookmarks
24 Jan 2016 | original ↗

Fäviken restaurant (world's most isolated restaurant). Hangouts in Stockholm. Vasa Museum.

Parenting bookmarks
20 Jan 2016 | original ↗

A Toddler's Do-It-Myself Attitude Ends In Tantrums - Janet Lansbury. Ask HN: Any good collaboratively built documentation on good parenting? (Hacker News). Ask HN: I need ideas to impress fifth graders with technology. Ask HN: Recommend a maths book for a teenager? | Hacker News. CodeCombat - Learn how to code by playing a game. Everyone's a...

Chocolate fondant recipe
20 Jan 2016 | original ↗

My girlfriend recently made a delicious chocolate fondant. Saving the The Guardian's recipe: Ingredients (2 servings) 60g unsalted butter, cut into dice, plus extra to grease 1 tbsp cocoa powder 60g dark chocolate, broken into pieces 1 egg and 1 egg yolk 60g caster sugar 1 tbsp plain flour Preparation Pre-heat the oven to 200C if cooking...

Handwriting bookmarks
20 Jan 2016 | original ↗

briem.net. Handwriting that works.

Safari's Web Inspector keyboard shortcuts
19 Jan 2016 | original ↗

Via WebKit's blog, Web Inspector Keyboard Shortcuts: ⌃⌘Y or ⌘\ continue. F8 or ⇧⌘; step out. F7 or ⌘; step in. F6 or ⌘’ step over.

Added Emacs zone-rainbow
19 Jan 2016 | original ↗

kawabata's zone-rainbow popped up on melpa today. Added to zone-programs. Just because :) (use-package zone-rainbow :ensure t :after zone :config (setq zone-programs (vconcat [zone-rainbow] zone-programs)))

Ippudo London: yes, but…
19 Jan 2016 | original ↗

Yes Central St. Giles location. Ordered a Kirin Ichiban beer and a Spicy Tonkotsu with a seasoned boiled egg. Awesome medium-spice broth, tasty egg and firm noodles. Got additional noodles for £1.50. But… The space feels soulless. Think generic, chain, Pizza Express… Photos

Copenhagen travel bookmarks
14 Jan 2016 | original ↗

Christiania. Hija de Sanchez restaurant. Marv og Ben restaurant. Mikkeller Bar – Mikkeller. Mikkeller Bar. Schonnemann restaurant. Tivoli. Torvehallerne (food).

iOS development tips backlog
12 Jan 2016 | original ↗

[DONE]{.done .DONE} Static Analysis on iOS - Part II. [DONE]{.done .DONE} Clang-based C/C++/Objective-C refactoring toolset (unmaintained). [DONE]{.done .DONE} SimSim: access to application data folders. [DONE]{.done .DONE} xcpretty (fast and flexible formatter/prettifier for xcodebuild output). [DONE]{.done .DONE} xctool.

Import UIKit for simpler debugging
12 Jan 2016 | original ↗

I bookmarked An @import-ant Change in Xcode and immediately forgot about it. The gist is to import UIKit to simplify inspecting objects during an lldb session: (lldb) expr @import UIKit Shorten typing by creating aliases in ~/.lldbinit: command alias uikit expr @import UIKit command alias foundation expr @import Foundation

Basic Emacs keybindings on Linux desktop
11 Jan 2016 | original ↗

Miss C-a, C-e in your browser and other Linux apps? You can enable the GTK Emacs key theme: $ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" or if on Cinnamon: $ gsettings set org.cinnamon.desktop.interface gtk-key-theme Emacs If your desktop environment is not running gnome-settings-daemon, start it with: $ gnome-settings-daemon...

Emacs Objective-C completion with Irony
8 Jan 2016 | original ↗

Install libclang on Mac brew install llvm --with-clang Configure Emacs (use-package irony :ensure t :config (add-hook 'objc-mode-hook 'irony-mode) (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)) (use-package company-irony :ensure t :config (add-hook 'objc-mode-hook (lambda () (setq-local...

Northern lights travel bookmarks
7 Jan 2016 | original ↗

Aim for a new moon (eg. 2016-01-10 or 2016-02-08). Aim for auroral zone. Guide Gunnar will go distance to ensure you see the lights. Kiruna Sleddog Tours. Tromsø's reindeer racing. Tromsø. Hundekjøring: drive your own sled. Tromsø whale watching.

Finland travel bookmarks
7 Jan 2016 | original ↗

36 Hours in Helsinki. Boat to the Baltics; Tallinn (Estonia). Helsinki - Suomenlinna (former maritime fortress). Lapland (husky sledding, reindeer, Santa Claus village). Päivä no:23 Reitti no:23 no:12 | Leipomo K.E.Avikainen (try munkkipossu: pig shaped donut). Ragu Ravintola (try panfried fiesh, pulled pork, steak tartare, chocolate mouse)....

Mexico travel bookmarks
6 Jan 2016 | original ↗

15 best places to visit in Mexico. San Francisco Acatepec.

Gandhi's ever-contemporary wisdom
3 Jan 2016 | original ↗

From Gandhi: Radical Wisdom for a Changing World: Anger "I do get angry, but I feel angry with myself for it. Full conquest of anger is possible only through self-realization. We should love even those who have the worst opinion of us. This is ahimsa, the rest is only ignorance." Bad handwriting "I am now of opinion that children should first be...

Emacs highlight-symbol-mode
3 Jan 2016 | original ↗

Been a fan of highlight-thing-mode. It automatically highlights all instances of symbol at point. Today, I gave highlight-symbol a try. Similar concept, but also adds the ability to jump to next/previous instances of symbol at point. (use-package highlight-symbol :ensure t :config (set-face-attribute 'highlight-symbol-face...

9 Productivity tips
2 Jan 2016 | original ↗

From HBR's 9 Productivity Tips from People Who Write About Productivity: Block time away from reactive tasks (email). Business = wasted energy. Exercise, sleep, and 90 minute work bursts. Incomplete tasks prompt healthy thinking out of context. Time off or stepping back is invaluable. Genuinely help were most successful/enjoyable. Plan for saying...

Functional programming bookmarks
2 Jan 2016 | original ↗

Functors, Applicatives, And Monads In Pictures. Functors, Applicatives, and Monads in Plain English. Tom Ducalf's Programming Fundamentals Talk. What is functional programming? Which programming languages are functional? Why Functional Programming Matters.

Last meal of 2015
1 Jan 2016 | original ↗

For our last meal of 2015, I contributed dal and rotis. This is my first attempt at making either one of these. Both recipes based on Anupy Singla's Indian for Everyone. Dal Makhani (Buttered black lentils) Roti-Chapati-Phulka

First meal of 2016
1 Jan 2016 | original ↗

Pancakes 1 teaspoon of salt. 1.5 cups of milk. 2 cups of flour. 2 eggs. 2 tablespoons sugar. 4 tablespoons of melted butter. 6 teaspoons of baking powder. Makes 10/11 pancakes.

npm basics
30 Dec 2015 | original ↗

Global vs local package installation location {prefix}/lib/node_modules vs path/to/project/node_modules View npm config npm config list ; cli configs user-agent = "npm/2.14.2 node/v4.0.0 darwin x64" ; node bin location = /Users/user/.nvm/versions/node/v4.0.0/bin/node ; cwd = /Users/user/stuff/active/blog ; HOME = /Users/user ; 'npm config ls -l'...

Find in \$PATH with type and which
30 Dec 2015 | original ↗

I typically use which to figure out the first binary found in $PATH: which -a emacsclient /Users/user/homebrew/bin/emacsclient /usr/bin/emacsclient I always forget about type though: type -a emacsclient emacsclient is /Users/user/homebrew/bin/emacsclient emacsclient is /usr/bin/emacsclient

Clojure bookmarks
25 Dec 2015 | original ↗

Clojure in Emacs from absolute zero . 2015 in review. A call for Clojure stacks · Clojure Stacks. GitHub - nrepl/nrepl: A Clojure network REPL that provides a server and client, along with some common APIs of use to IDEs and other tools that may need to evaluate Clojure code in remote environments..

Mac OS X tips backlog
21 Dec 2015 | original ↗

[TODO]{.todo .TODO} Uebersicht: Keep an eye on what is happening on your machine and in the World. [DONE]{.done .DONE} Kwm: Tiling window manager with focus follows mouse for OSX. cp ~/homebrew/Cellar/kwm/1.1.3/homebrew.mxcl.kwm.plist ~/Library/LaunchAgents/ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.kwm.plist [DONE]{.done .DONE} Turn...

Search bash history with Emacs helm
20 Dec 2015 | original ↗

Following up from changing CWD with helm projectile, here's a way to search your bash history with helm: (defun ar/helm-helm (title candidates on-select-function) "Helm with TITLE CANDIDATES and ON-SELECT-FUNCTION." (helm :sources `((name . ,title) (candidates . ,candidates) (action ....

View DICOM files from your X-ray
19 Dec 2015 | original ↗

Got a CD with my chest X-ray from the hospital. Was expecting a pdf or an image of sorts, but the CD content was rather different. For starters, it was targeted at Windows users (AUTORUN.INF, MediaViewerLauncher.EXE and a bunch of DLLs): $ find . -exec file --mime-type '{}' \; ./AUTORUN.INF: text/plain ./DICOMDIR: application/dicom...

Medicine bookmarks
19 Dec 2015 | original ↗

Science-Based Medicine – Exploring issues and controversies in science and technology.

Organize your data with camlistore
18 Dec 2015 | original ↗

Checking out camlistore to organize all sorts of data. Scaleway enables you to deploy camlistore servers.

Tip: GOOGLETRANSLATE your Spreadsheet
18 Dec 2015 | original ↗

Examples from reference: =GOOGLETRANSLATE("Hello World\n","en\n","es") =GOOGLETRANSLATE(A2,B2,C2) =GOOGLETRANSLATE(A2)

Use ImageMagick to convert image to grayscale
17 Dec 2015 | original ↗

Another ImageMagick one-liner I'll likely forget. mogrify -type Grayscale image.png

Maps dev bookmarks
17 Dec 2015 | original ↗

A new way to make maps with OpenStreetMap | Hacker News. borders: Country, region and city boundary data from OpenStreetMap, served monthly (mapzen.com). Farewell, Google Maps (In der Apotheke). Fast, Offline, Reverse Geocoding; or, in Which Polygon am I?. Free OpenStreetMap tile library: watercolor, black and white, terrain. Import OpenStreetMap...

CSS bookmarks
14 Dec 2015 | original ↗

58 bytes of css to look great nearly everywhere. CSS Layout. CSS Protips: A collection of tips to help take your CSS skills pro (Hacker News). CSS Protips: A collection of tips to help take your CSS skills pro. CSS style guide. CSS-Tricks. CSStickyHeaderFlowLayout. Dynamics.js: JavaScript library to create physics-based CSS animations. Flexbox...

GPG (GnuPG) examples
14 Dec 2015 | original ↗

Generate key gpg --full-generate-key Export private key gpg --export-secret-key -a > Import key gpg --import Delete public key gpg --delete-keys Delete private key gpg --delete-secret-keys Edit key gpg --edit-key gpg> uid (lists IDs) gpg> uid 2 (marks ID) gpg> deluid (deletes marked ID) Really remove this user ID? (y/N) y Change passphrase...

Drill down Emacs dired with dired-subtree
14 Dec 2015 | original ↗

JCS, from Irreal, recently highlighted fuco's dired-hacks. dired-subtree is super handy for drilling subdirectories down. Bound and to toggle and cycle subtrees. (use-package dired-subtree :ensure t :after dired :config (bind-key "" #'dired-subtree-toggle dired-mode-map) (bind-key "" #'dired-subtree-cycle dired-mode-map))

Simple ssh tunnel
12 Dec 2015 | original ↗

Via @climagic, connections to tcp localhost:9909 will be made to 192.168.1.1:80 via SSH tunnel to home. ssh -L 9909:192.168.1.1:80 home

Emacs text faces
12 Dec 2015 | original ↗

Text faces = Text styles. Face attributes: font, height, weight, slant, foreground/background color, and underlining or overlining. Font lock mode automatically assigns faces to text. M-x list-faces-display: Shows faces defined. M-x helm-colors: Also handy. Unspecified attributes are taken from 'default' face.

Resume partial downloads with ssh and rsync
12 Dec 2015 | original ↗

rsync --rsync-path=/usr/local/bin/rsync \ --partial \ --progress \ --rsh=ssh \ john@host:/path/to/file \ path/to/partial/file

Preview HTML pages on github
8 Dec 2015 | original ↗

Prepend with http://htmlpreview.github.io/?. For example: http://htmlpreview.github.io/?https://github.com/xenodium/xenodium.github.io/blob/master/index.html

Dart bookmarks
7 Dec 2015 | original ↗

Access Dart Analysis server from Java. Analysis server API. Dart tools.

Playing with Dart's analysis server
7 Dec 2015 | original ↗

Dart SDK ships with an analysis server. Very handy if you'd like to write a completion plugin for your favorite editor. The API is well documented. Of interest, there's LocalDartServer.java, part of dartedit. $ dart path/to/bin/snapshots/analysis_server.dart.snapshot --sdk=path/to/dart-sdk NOTE: The server reads requests from standard input....

Flutter setup
7 Dec 2015 | original ↗

Based on Getting Started with Flutter. $ curl -O https://storage.googleapis.com/dart-archive/channels/stable/release/1.13.0/sdk/dartsdk-macos-x64-release.zip $ unzip dartsdk-macos-x64-release.zip $ export PATH=`pwd`/dart-sdk/bin:$PATH Verify with: $ pub --version

Flutter bookmarks
6 Dec 2015 | original ↗

Eric Seidel introduces Sky, Dart Developer Summit 2015 (YouTube). Flutter - Futures - Isolates - Event Loop. Flutter: Futures, Isolates, Event Loop (Hacker News). Flutter: the good, the bad and the ugly – The ASOS Tech Blog – Medium.

Swift bookmarks
6 Dec 2015 | original ↗

10 Swift One Liners To Impress Your Friends. 5 secrets of Swift API design. 5 small but significant improvements in Swift 5.1 | Swift by Sundell. @State messing with initializer flow - Using Swift - Swift Forums. A beautiful graphics framework for Material Design in Swift. A collection view layout capable of laying out views in vertically...

Installing Emacs spaceline
30 Nov 2015 | original ↗

Gave Spaceline a try. Spacemacs's powerline theme. Setup was super simple (Thanks Eivind Fonn and Sylvain Benner): (use-package spaceline :ensure t :config (use-package spaceline-config :config (spaceline-toggle-minor-modes-off) (spaceline-toggle-buffer-encoding-off) (spaceline-toggle-buffer-encoding-abbrev-off) (setq...

Online reading backlog
29 Nov 2015 | original ↗

[TODO]{.todo .TODO} Phrack 69. [TODO]{.todo .TODO} A Simple Formula for Changing Our Behavior. [TODO]{.todo .TODO} Be Grateful More Often. [TODO]{.todo .TODO} GTD sucks for creative work. [TODO]{.todo .TODO} Land, Capital, Attention: This Time it Is the Same. [TODO]{.todo .TODO} Mindset: What You Believe Affects What You Achieve (Gates Notes)....

Leading bookmarks
29 Nov 2015 | original ↗

Agile's early evangelists wouldn't mind watching Agile die. An incomplete list of skills senior engineers need, beyond coding | Hacker News. Ask HN: How to Be a Good Technical Lead? (Hacker News). Books on leveling up as a manager. Bryan Cantrill on Twitter: "So, my thoughts on engineering performance management…". Dan Abramov: What is your...

package.el incomprehensible buffer
29 Nov 2015 | original ↗

Came across "incomprehensible buffer" error in package.el. Workaround patch: --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1161,6 +1161,7 @@ package--with-work-buffer (let* ((url (concat ,url-1 ,file)) (callback (lambda (status) (let ((b (current-buffer))) + (goto-char...

Travel lifestyle bookmarks
28 Nov 2015 | original ↗

1991 VW Vanagon Westfalia campervan. 5 Travel Lessons You Can Use at Home. 50 Best Travel Tips from 10 Years of Travel - Your RV Lifestyle. A new chapter – full-time working from a van in a forest | Hacker News. Bali Digital Nomad Guide - How To Live In Bali As A Digital Nomad. Bootstrapping in Bangkok is the best option. goruck bag. Grooming on...

Couchbase React Native bookmarks
26 Nov 2015 | original ↗

Couchbase Mobile discussion group. Couchbase Mobile Native API. Couchbase Mobile. Couchbase sync gateway. Getting Started with React Native Android and Couchbase Lite.

Installing Emacs 25 devel on Mac OS X
26 Nov 2015 | original ↗

Stable brew update brew install emacs --HEAD --use-git-head --with-cocoa --with-srgb --with-gnutls brew linkapps emacs Development brew update brew install emacs --devel --with-cocoa --with-srgb --with-gnutls brew linkapps emacs then Had problems loading seq. Removed byte-compiled packages: $ find ~/.emacs.d/elpa -iname *.elc -exec rm '{}' \;

Unix/Linux tools bookmarks
26 Nov 2015 | original ↗

(small) Guide on using mtree (The FreeBSD Forums). 15 Practical Linux cURL Command Examples. 20 awk examples – Linux Hint. 7 Awesome Open Source Analytics Software For Linux and Unix - nixCraft. A practical proposal for migrating to safe long sessions on the web (Hacker News). A practical security guide for web developers (Hacker News). A Unix...

SQL bookmarks
26 Nov 2015 | original ↗

Launching LiteCLI. Literate SQL. Show HN: SQL Trainer – Learn SQL by doing live data exercises (Hacker News). SQL Series: From A to Z - DEV Community. SQL tips and tricks. The interesting ideas in Datasette. You Can Do it in SQL, Stop Writing Extra Code for it - DEV Community.

Diagram tools bookmarks
25 Nov 2015 | original ↗

A Quick Introduction to Graphviz. Create diagrams with code using Graphviz – ncona.com – Learning about computers. Diagram.Codes. Flowchart Maker & Online Diagram Software. Graphviz it! - fiddle with diagrams. Graphviz node shapes. PlantText UML Editor. Svgbob: Convert your ASCII diagram scribbles into happy little SVG. TeXample.net (TeX...

Licensing bookmarks
24 Nov 2015 | original ↗

choosealicense.com (Choosing an open source license doesn’t need to be scary). choosealicense.com (github). tldrlegal.com (Software Licenses in Plain English).

Synology bookmarks
23 Nov 2015 | original ↗

Backup your files to an external drive or a shared file DSM 6.0 – Synoguide. Ext4 vs. Btrfs: Why We're Making The Switch {Linux}. How to make your Synology Disk station (NAS) more secure? – BPMSG. How to use the Files app to connect to a network server from your iPhone. Josh Dick » Configuring SSH and SCP/SFTP on DSM 5.0 for Synology...

Nara travel bookmarks
22 Nov 2015 | original ↗

Kōfuku-ji. Nara Buddha temple.

Making hummus
22 Nov 2015 | original ↗

Made hummus, based on Delicious Istanbul's 5 Secrets to Perfect Hummus (wayback machine) post. 160 g dry chickpeas. 4 cloves garlic minced. 1 tsp fine sea salt. 1 1/2 tbsp lemon juice. 1/4 tsp ground cumin. 6 tbsp tahini paste. 2/3 cup cooking water. Extra virgin olive oil, for serving. Red pepper flakes, for serving. Zahter mixture, for serving....

Backup bookmarks
22 Nov 2015 | original ↗

HGST Deskstar NAS 3.5-Inch 6TB 7200RPM SATA III 128MB Cache Internal Hard Drive (0S03839). I found the Holy Grail of backups. Kingston Technology 4GB 1600MHz DDR3L PC3-12800 1.35V Non-ECC CL11 SODIMM Intel Laptop Memory KVR16LS11/4. Show HN: Baxx – Unix-friendly backup service (Hacker News). Synology Disk Station 8-Bay (Diskless) Network Attached...

easy_install-\>pip-\>conda
21 Nov 2015 | original ↗

Spotted Conda package manager. It handles python installations, in addition to package management. There's also a package index provided by Binstar. Installed Miniconda, the bare bones Conda environment. Can't find a python package in Binstar? Here's a post on Using PyPi Packages with Conda. If that fails, you can try pip from your Conda python...

Mac OS bookmarks
21 Nov 2015 | original ↗

Customizing the Cocoa Text System (github). Customizing the Cocoa Text System (~/Library/KeyBindings/DefaultKeyBinding.dict). GitHub - ttscoff/KeyBindings: DefaultKeybindings.dict for Mac OS X. NSResponder (useful for DefaultKeyBinding.dict). DaisyDisk (what's taking up your disk space). DTrace: {even better than} strace for OS X | 8th Light....

Angular bookmarks
21 Nov 2015 | original ↗

Egghead.io's Angular 2 lessons.

Docker bookmarks
21 Nov 2015 | original ↗

[[https://news.ycombinator.com/item?id=25619319 ][Dockerfile Best Practices | Hacker News]]. A Beginner’s Guide To Docker Compose – Linux Hint. Basic Docker Commands for Beginners | Hacker News. Docker for Beginners (Hacker News). Docker for Beginners. How To Remove Docker Images, Containers, and Volumes | DigitalOcean. Simplifying Docker on OS X...

Kubernetes bookmarks
21 Nov 2015 | original ↗

A Tutorial Introduction to Kubernetes (Hacker News). Borg, Omega, Kubernetes: Lessons learned from container management over a decade (Hacker News). Fabric8 is an integrated open source DevOps and Integration Platform (Kubernetes or OpenShift). hokusai: Artsy's Docker / Kubernetes CLI and Workflow. Kubernetes by Example | Hacker News. Swarm vs....

Traditional music bookmarks
16 Nov 2015 | original ↗

Cliff Sloane's asian classical music in mp3 format. Oriental traditional music. Shruti Box comparison.

Recover from an unresponsive Emacs
4 Nov 2015 | original ↗

Wilfred Hughes has a handy tip to bail you out of a hung Emacs instance: pkill -SIGUSR2 emacs ps. Not had a chance to try it, but next time it happens…

Reading a running training plan
25 Oct 2015 | original ↗

A sample from Kona Part 2's comments: 2.5 w/u to 4x(1.25@11.5 w/0.25R@7) to 3x(3.75@10.5 w/0.5R@7) to 2.5 c/d. Is read from left to right as: 2.5 mile warm up to four times through 1.25 miles at 11.5 miles per hour with 0.25 miles recovery at 7 miles per hour to three times through 3.75 miles at 10.5 miles per hour with 0.5 miles recovery at 7...

Training for under 50 min 10k run
25 Oct 2015 | original ↗

Not much training time for an under 50 minute 10k run, but here's an attempt (based on time-to-run's sub-50): Mon Tue Wed Thu Fri Sat Sun Oct 26 Oct 27 Oct 28 Oct 29 Oct 30 Oct 31 Nov 1 60 min 30 min 2k @ 4.55/k rest 105 min 2 min rest...

Find binary in PATH using python
23 Oct 2015 | original ↗

import distutils.spawn print distutils.spawn.find_executable('git') /usr/bin/git

Media player bookmarks
22 Oct 2015 | original ↗

cmus, a small, fast and powerful console music player for Unix-like OS. mps-youtube. mpv (a fork of mplayer2 and MPlayer). Multimedia on Linux Command Line: wget, PdfTK, ffmpeg, flac, SoX. PLEX (stream your media everywhere). Soul – A language and IDE for audio coding .

Running bookmarks
22 Oct 2015 | original ↗

10k in under 50 mins — Runner's World UK Forum. Garmin Forerunner 230 & 235 In-Depth Review (DC Rainmaker). Harvard's Running barefoot or in minimal footwear FAQ. How to run a sub-50 10K - The Running Bug. Is Running Good Or Bad For Your Health?. Mornington Chasers running club. Open track: Race Management System. Review : Newton Gravity IV &...

Mongolia travel bookmarks
22 Oct 2015 | original ↗

Beyond the dunes: road-tripping Mongolia's Gobi Desert. Terra cotta warriors at Mount Khan, Inner Mongolia.

Malaysia travel bookmarks
22 Oct 2015 | original ↗

Coliseum Cafe, Kuala Lupur. How to Visit Penang's Kek Lok Si Temple (and What to Eat).

Indonesia travel bookmarks
22 Oct 2015 | original ↗

Borobudur. Hiking Padar Island in Komodo National Park (Indonesia) | The Backpack Almanac. Rumah Gadang.

Kyoto travel bookmarks
21 Oct 2015 | original ↗

Eating My Way Through Nishiki Market, Kyoto | Ever In Transit. Fushimi Inari Temple: 4KM mountain trail lined with bright orange shinto gates. Golden Pavillion (macha and biscuits at tea house). Hakone (day trip for hot baths), see Yuryo spa. Also the pirate boat. Kibune. Kinkakuji Temple. Kiyomizu Temple. Kuramadera Temple & Kibune Shrine: More...

Get Emacs to gather links in posts
17 Oct 2015 | original ↗

Comments in posts can be a great source of recommendations. Here's a way to extract post links using Emacs and enlive. (require 'enlive) ;; https://github.com/zweifisch/enlive (require 'org) (defun ar/input-clipboard-url-or-prompt () "Return a URL from clipboard or prompt user for one." (let* ((clipboard (current-kill 0)) (url (if...

UX toolbox bookmarks
16 Oct 2015 | original ↗

Affinity Designer: the perfect tool for UI and UX design. Affinity Publisher – Professional Desktop Publishing Software. Build a static site with Material Design Lite. Eye dropper Chrome extension (pick colors in browser). Generate - Coolors.co. Google, but for colors (Hacker News). Nodesign.dev | Design less develop more.. PaintCode - Turn your...

Travel blog bookmarks
9 Oct 2015 | original ↗

Hidden Travel Treasures. One Step 4Ward. Tigrest Travel Blog.

Change Emacs shell's CWD with helm projectile
8 Oct 2015 | original ↗

If using Emacs shell and helm projectile, you can wire these up to quickly change your current working directory. (require 'helm-projectile) (defun ar/shell-cd (dir-path) "Like shell-pop--cd-to-cwd-shell, but without recentering." (unless (string-equal mode-name "Shell") (error "Not in Shell mode")) (message mode-name) (goto-char...

Thermostat reset on Bosch WKD28350GB
7 Oct 2015 | original ↗

My Bosch washer/dryer (WKD28350GB) stopped drying recently. Resetting the dryer's thermostat red breaker did the trick. Edit: Similar post here.

Javascript fetch node sample
5 Oct 2015 | original ↗

Playing with node and fetch: // Requisite: npm install node-fetch --save // Save to fetch-demo.js // Run: node fetch-demo.js var fetch = require('node-fetch'); fetch("http://xenodium.com/data/javascript-fetch-node-sample/message.json\n", { method: 'GET', timeout: 5000 }).then(function(response) { return response.json();...

Extract dominant colors in images
1 Oct 2015 | original ↗

There's a handy HN post pointing to Javier López's Using imagemagick, awk and kmeans to find dominant colors in images. A comment also highlights color-extract, written in Go.

Find a word with regex and WordNet
28 Sept 2015 | original ↗

Recently wanted to come up with a random keyword. Querying WordNet and a regular expression did the job. Installed WordNet on Mac: $ brew install wordnet Want a word ending in "esome"? $ wn esome -grepn -grepv -grepa -grepr | egrep -o -e "\w*esome\b" | sort | uniq adventuresome awesome blithesome bunglesome cuddlesome esome fivesome gruesome...

Soundcloud's Go best practices (GopherCon 2014)
26 Sept 2015 | original ↗

Having watched the video, some takeaways: Single GOPATH $GOPATH/src/github.com/soundcloud/foo Repo structure github.com/soundcloud/whatever README.md Makefile main.go support.go foo foo.go bar.go whatever-server main.go wharever-worker main.go Formatting and style Use gofmt. Google's codereview guidelines. Avoid named return parameters. Avoid...

Sync pip with Mac OS updates
23 Sept 2015 | original ↗

My pip installation recently broke after a Mac OS update. $ pip Traceback (most recent call last): File "/usr/local/bin/pip\n", line 5, in from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\n", line 2793, in working_set.require(__requires__) ...

Chinatown treats review
20 Sept 2015 | original ↗

Recommended? yep There's a corner in Chinatown hosting some truly superb treats. If you get caught in the rush between Newport court and Newport place, you'd likely fail to notice some the awesome street food stands. Chilly squid I've walked past this place many times and never noticed it. They serve a handful of items, but the grilled chilly...

React bookmarks
18 Sept 2015 | original ↗

11 mistakes I’ve made during React Native / Redux app development. 9 things every React.js beginner should know (Hacker News). 9 things every React.js beginner should know. A Complete Guide to Flexbox. A complete native navigation solution for React Native with optional redux support - nav bars, tabs, drawer, modals. A Material Design style React...

Chinese rice vinegar
16 Sept 2015 | original ↗

Note to self to buy Gold Plum Chinkiang Vinegar. Awesome with dim sum.

Use ImageMagick to batch-resize images
13 Sept 2015 | original ↗

Using percentage: $ mogrify -resize 10% *.png Using dimensions: $ mogrify -resize 120x120 *.png Lots of other alternatives from ImageMagick's documentation: -resize scale% -resize scale-x%xscale-y% -resize width -resize xheight -resize widthxheight -resize widthxheight^ -resize widthxheight! -resize widthxheight> -resize ...

Lucky 7 review
8 Sept 2015 | original ↗

Recommended? yep Lucky 7 is a small nostalgic American diner on Westbourne Park road. I like the vibe, the space, and the unpretentious waiting staff. I go to Lucky 7 often enough, originally for the buttermilk pancakes, but the list of favorites on the menu keeps growing. Smileys by w.dyer. Buttermilk Banana pancakes These are my favorite...

London travel bookmarks
2 Sept 2015 | original ↗

Chiswick House & Gardens. Heath Robinson Museum. London Library (book your free tour). Quaker gardens, Islington. Soho Theatre (not tried yet). The best brunch London 2020 | CN Traveller. The most beautiful restaurants in London for 2020 | CN Traveller.

Sierra Leone travel bookmarks
2 Sept 2015 | original ↗

Sierra Leone marathon. Street Child charity.

Bengali Macher Jhol
23 Aug 2015 | original ↗

My friend Sakhya brought me the wonderful Cookbook of Regional Cuisines of India. After improvisations and substitutions, here's my attempt at making Bengali Machcher Jhol:

Use ImageMagick to auto-orient images
23 Aug 2015 | original ↗

Recently needed to rotate images based on EXIF metadata. ImageMagick to the rescue: $ for i in *.png; do convert -auto-orient "$i" "$i"; done

Bundi travel bookmarks
22 Aug 2015 | original ↗

Bundi Haveli (accomodation). Hadoti Palace (accomodation). Haveli Braj Bhushan Ji ki (accomodation). Haveli Katkoun Guest House (accomodation). Kasera Paradise (accomodation).

Learning bookmarks
22 Aug 2015 | original ↗

Best YouTube channels for learning (Quora). Effective learning: Twenty rules of formulating knowledge. HN's comments on learning languages. HN's comments on memory. How to Finally Play the Guitar: 80/20 Guitar and Minimalist Music. Learn Difficult Concepts with the ADEPT Method. Learning to learn. Learning to Learn: Intuition Isn’t Optional |...

Mindfulness/meditation bookmarks
22 Aug 2015 | original ↗

10% Happier: Mindfulness Meditation Courses with Dan Harris and Joseph Goldstein. Aimless Wandering. Are You in Despair? That’s Good (NY Times). Beating procrastination. Best 10 life changes. Breathing Exercise: Three To Try | 4-7-8 Breath (Andrew Weil, M.D.). Contemplative Practice That Isn’t Meditating. Day One - The award-winning journal app...

Meditation retreats bookmarks
22 Aug 2015 | original ↗

Best places to seek silence. Opening to life @ Dhanakosa Buddhist Retreat Centre. Samye Ling (Tibetan- buddhist monastery). Vipassana Meditation (centers across world).

New habits for 2015
22 Aug 2015 | original ↗

20 min morning meditations. A better way to tie your shoes. Cold showers (all of them!). Keys, wallet, phone, badge, and headphones live together. Listen to audio books. Morning runs. Nightly flossing.

Upgrading PL30 headphones
14 Aug 2015 | original ↗

I've loved my Soundmagic PL30 in-ear headphones. They're relatively inexpensive, comfortable, and great for exercising (they stay in). Audio quality and bass have been good enough (I don't need much). Unfortunately, I've had two pairs of PL30's and both stopped working after a year or two. I'm replacing the last pair with RHA's MA750 (an upgrade,...

Bhutan travel bookmarks
13 Aug 2015 | original ↗

Taktsang (Tiger’s Nest) Monastery.

Quotes
13 Aug 2015 | original ↗

"Being good at something is about being curious enough to explore things to a level where most people give up." "The world is a book and those who do not travel read only one page." - Augustine of Hippo. "National identity is not your only identity." - Xiaolu Guo? "Choose your words carefully. Words are cheap, but their effect can be expensive."

Cooking bookmarks
12 Aug 2015 | original ↗

14 Best Indian Breakfast Recipes | Easy Indian Breakfast Recipes - NDTV Food. 25 Cocktails Everyone Should Know. Amazon.com: Taylor Precision Products Stainless Steel Kitchen Scale. Basic New York-Style Pizza Dough Recipe | Serious Eats. Cast Iron Fry Pans. ChienLing Koo's answer to How is authentic fried rice prepared? (Quora). Eggs Kejriwal...

Shanghai travel bookmarks
11 Aug 2015 | original ↗

36 Hours in Shanghai. Shanghai Xiaolongbao at Dumpling House Edison (on Rt 27). Tianzi Fang street art (Google maps). Tianzi Fang street art. Town God's Temple, street Food! Yu Garden/Huxinting Teahouse. 佳家 for 小龙包. 小样 (Little Yang's) for 生煎包 (sheng jian bao). Fried soup filled dumplings. Think skin crunchy bottom texture.

9 week half-marathon training
11 Aug 2015 | original ↗

While reading Zen Habits: Mastering the Art of Change, I comitted to running half marathon in mid-October. That's roughly two months from now. Here's a 9 week training schedule: WEEK MON TUE WED THU FRI SAT SUN 1 Rest 5 Km 5 Km Cycle Rest 5 Km 7 Km 2 Rest 5 Km 5 Km Cycle Rest 5 Km 8 Km 3 ...

Singapore job board bookmarks
10 Aug 2015 | original ↗

Angel.co (Singapore Startup Jobs). e27. Startupjobs.asia. Those who relocated to Europe for a tech position: where did you find your job?.

Philippines travel bookmarks
8 Aug 2015 | original ↗

5 Unique Tourist Spots in the Philippines - RachFeed. 7 first-timer fails. Palawan (island). The best beaches of the Philippines.

Travel tools bookmarks
8 Aug 2015 | original ↗

Cool cities, a visual city guide. Detour 2.0. Dojo: Best stuff to do in London. escapethecity.org. Find the best places to sleep, eat and play. hostelworld.com. How to travel the world without money. Indie: a simple, powerful way to buy multi-stop flights. International SOS Assistance App. IziTravel: audio guides and city/museum tours. Jet...

Menorca travel bookmarks
8 Aug 2015 | original ↗

Cala Macarella, Menorca. Punta Nati. Scooter rental in Menorca.

Germany travel bookmarks
8 Aug 2015 | original ↗

Azalea and Rhododendron Park Kromlau. Having a post-lockdown bucket list - zerokspot.com. Home - 7STERN Bräu. Kerrie's Cup of Tea: lai fufu in Munich Germany. Laifufu Teesalon - Teezeremonie - Tee - Oolong - München - Laifufu Teesalon. SUDHAUS — Brauerei & Restaurant (try beef tartar. also pizza?).

Add site-specific browsers to your workflow
23 Jul 2015 | original ↗

There are three browser tabs continously used in my workflow: GMail, Google Calendar, and Google Play Music. I normally have many more tabs open, but these three I access periodically. As the number of open tabs increases, and I fail to cleanup, getting back to my usual three gets a little trickier. So far, I've kept each of these services open...

Sardinia travel bookmarks
20 Jul 2015 | original ↗

Alghero. Baja Sardinia. Budoni. Cala Goloritze, Sardinia. Castelsardo (gifts maybe?). Food: Maialetto sardo (Pig), Sebadas, Pardula, Papassinas, Pani e sapa. L'Asinara boat trip (abandoned penitentiary). La Pelosa beach. Nuraghe. Porto Cervo. Porto Torres. San Teodoro. Stintino (fishing port). Zedda e Piras vinyards (Alghero).

Open closest build file in Emacs
17 Jul 2015 | original ↗

Whether it's Makefile, SConstruct, BUILD, or your favorite build file, chances are you have to tweak it from time to time. ar/open-build-file searches your current and parent directories to find a build file. (defvar ar/project-file-names '("Makefile" "SConstruct" "BUILD")) (defun ar/parent-directory (path) "Get parent directory for PATH." ...

Settling scores with an org table
15 Jul 2015 | original ↗

Recently kept track of expenses between a group of us. To settle the scores, I emailed an exported HTML table from an org file. This was simple enough and required no external viewer from recepients. The org table, in all its textful glory, looked as follows… | Date | Item | Charge |...

Create iOS static fat libraries
15 Jul 2015 | original ↗

Have separate static libraries for different iOS architectures? Stitch 'em up into a single fat library using with lipo: $ lipo -create libOne_i386.a libOne_x86_64.a libOne_armv7.a libOne_arm64.a -output libOne.a

Recognize new password prompts in Emacs shell
13 Jul 2015 | original ↗

At some point, you may come across a trusted command-line utility prompting you for a password, and Emacs shell happily displaying each typed character to the nearby-world to see. Luckily, you can train Emacs to recognize new password prompts and hide the typed characters in modes deriving from comint. Append the password prompt REGEXP: (setq...

Ireland travel bookmarks
11 Jul 2015 | original ↗

Skellig Michael. Fishy Fishy in Kinsale: beautiful town on the water. Belfast. Giant's Causeway. Greyhound dog races at Shelbourne Park. Old library chamber, Trinity College, Dublin.

Bosnia and Hercegovina travel bookmarks
11 Jul 2015 | original ↗

Ten reasons to visit Bosnia & Hercegovina.

mp4 to gif
9 Jul 2015 | original ↗

Converting mp4 to gif is handy for posting short screencasts. You can convert to gif using ffmpeg and optimize with imagemagick. To install: apt-get install ffmpeg imagemagick (linux) brew install ffmpeg imagemagick (Mac) Convert to gif: ffmpeg -i my.mp4 -pix_fmt rgb24 -r 5 my.gif Optimize with: convert -dither none -layers Optimize my.gif...

Pizza in London
9 Jul 2015 | original ↗

Not tried these yet. Taking note: Bravi Ragazzi (Streatham). Homeslice (Covent Garden). Lord Morpeth (Hackney). Santa Maria (Ealing). Voodoo Ray's (Dalston). Well Kneaded Wagon (Date-dependent location).

Keyboards bookmarks
6 Jul 2015 | original ↗

An introduction to Cherry MX mechanical switches. Code keyboard. I ♥ Keyboards | Ethan Anderson. Keyboardio Blog. Keychron | Wireless Mechanical Keyboards for Mac, Windows and phones. Learn - Colemak keyboard layout. Mechanical Keyboards Database - custom keyboards photos. Plaid // Keyboard base board. Products – Ultimate Hacking Keyboard....

Belgium travel bookmarks
5 Jul 2015 | original ↗

The Flower Carpet event at the Grand-Place in Brussels. Travel arrangements around Brussels - zerokspot.com.

Slovenia travel bookmarks
5 Jul 2015 | original ↗

Lake Bohinj.

Lebanon travel bookmarks
5 Jul 2015 | original ↗

Baatara gorge waterfall. STEAK CRUSH (@steakcrush).

United States travel bookmarks
5 Jul 2015 | original ↗

Abandoned America. America's best food cities for travelers on a budget - Lonely Planet. Antelope Canyon (Arizona). Law Library in Iowa. Peter Wade's answer has restaurants throughout the US. Supai, Arizona. The Texas Triffid Ranch | Dallas's Pretty Much Only Carnivorous Plant Gallery. Turnip Rock in Port Austin, Michigan. Vance Creek Bridge in...

California travel bookmarks
3 Jul 2015 | original ↗

General Sherman Tree at Sequoia National Park.

Fishing with Emacs
3 Jul 2015 | original ↗

OK not quite, but having recently learned about C-M-w (append-next-kill), I used it in a keyboard macro to fish out matching lines. This is similar to flush-lines, except the kill ring is also populated. This is handy, if you need the flushed lines. Here's an example. Here's the equivalent in Emacs lisp: (defun flush-kill-lines (regex) "Flush...

Rebind caps lock to control key on Mac OS X
1 Jul 2015 | original ↗

Let's see if this one sticks. I'll give caps lock as control a try. Rebinding the keys on Mac OS X is easy enough: System Preferences -> Keyboard -> Keyboard Tab -> Modifier Keys…

Searchable ebooks in Emacs
30 Jun 2015 | original ↗

If you haven't bought Mastering Emacs by Mickey Petersen, you should. It's a wonderful source of Emacs tips. Having just finished the ebook on my Kindle, I was keen to go back and fish out some of that newly found wisdom. My immediate reaction was to figure out a way to make the ebook searchable from Emacs. The ebook is available in epub and pdf...

Presenting bookmarks
21 Jun 2015 | original ↗

How to give a presentation people will remember. How to give a stellar presentation. Speaker style bingo: 10 presentation anti-patterns.

Bali travel bookmarks
21 Jun 2015 | original ↗

Gili Islands travel (Nusa Tenggara, Indonesia - Lonely Planet). Manta snorkeling Nusa Penida – When? Where? How much?. Pura Lempuyang, Bali.

Bulgaria travel bookmarks
21 Jun 2015 | original ↗

Devetashka Cave.

Portugal travel bookmarks
21 Jun 2015 | original ↗

As a Dermatologist, what life changing skin care advice would you give me?. Avenida dos Platanos. Beautiful Lisbon. Best restaurants in Alghero?. Boca do inferno. Cabo da Roca. Casa dos passarinhos (Steak on hot stone, tuna steak with “mirandesa” sauce, monkfish masada). Cascais - Guincho. Cervejaria Ramiro (seafood restaurant in town). Eduard...

WWDC app for OS X
17 Jun 2015 | original ↗

Guilherme Rambo created a great OS X OS X app for viewing WWDC content. Just installed it. Super handy. Thanks. Installing as simple as: $ brew cask install wwdc

Debugging Objective-C reference cycles
15 Jun 2015 | original ↗

Overriding retain/release/autorelease may be handy while debugging: - (instancetype)retain { NSLog(@"%p, retain\n", self); return [super retain]; } - (oneway void)release { NSLog(@"%p, release\n", self); [super release]; } - (instancetype)autorelease { NSLog(@"%p, autorelease\n", self); return [super autorelease]; }

London grub
13 Jun 2015 | original ↗

Beyond the hype, buzz, and pricey gimmicks… Places to eat in London: Antipode. Arang. Bone Daddies. Gelupo. Grind. Holy Cow. Kerbisher and Malt. Kulu Kulu (South Ken). Le Relais de Venise. Lucky 7's. Royal China. Shree Krishna Vada Pav. Sri Suwoon. Tayyabs. The Cow. Tonkotsu.

My working playlist
8 Jun 2015 | original ↗

It's been a while since I spotted The Ultimate Music Collection for Getting Work Done. Since then, I've been on the lookout for music to work to. Some favorites: B. Fleischmann - I'm Not Ready For The Grave Yet. B. Fleischmann - Pop Loops For Breakfast. B. Fleischmann - Sidonie. B. Fleischmann - The Humbucking Coil. B. Fleischmann - The Tired...

Los Angeles travel bookmarks
2 Jun 2015 | original ↗

Beer Belly (Craft Beer + Crafty Food). Blue Star Donuts (SF + LA).

Norway travel bookmarks
2 Jun 2015 | original ↗

Atlantic Road. Bergen (check out colorful wooden houses). Bergen railway (Bergen-Oslo): 300 miles of beautiful Norwegian scenery. Lofoten Islands. Norwegian Air (cheap flights between all the Olden. Reine. Sakrisøy, Lofoten Islands. Spitsbergen. The Atlantic Road - Atlanterhavsveien / Atlanterhavsvegen.

Samoa travel bookmarks
2 Jun 2015 | original ↗

To Sua ocean trench.

Australia travel bookmarks
2 Jun 2015 | original ↗

Australia's best food experiences: state by state. Best Queensland island escapes for small budgets. Des and Debi O’Tooles Honey. Fish and chips at Bondi beach. Tasmania: the isle that's wild at heart. The Butler Potts Point (bar & restaurant). Tree Top Walk (Walpole, Australia): Top Tips Before You Go - TripAdvisor.

Costa Rica travel bookmarks
2 Jun 2015 | original ↗

Catarata del Toro. What are the best travel hacks when traveling to Costa Rica? (Quora).

Xcode bookmarks
2 Jun 2015 | original ↗

A Better Way to Automatically Merge Changes in Your XCode Project Files. Clean Code: A Handbook of Agile Software Craftsmanship (Book). From Xcode to TestFlight using command line. Fuzzy autocomplete for Xcode. Multiplex (like Emacs multiple cursor but for Xcode). Reverse-engineering Xcode with dtrace.

Mastering Emacs is out
28 May 2015 | original ↗

Emacs is amazingly alive. New packages are regularly listed on melpa and a new book just came out: Mastering Emacs by Mickey Petersen.

define-word
25 May 2015 | original ↗

Installed Abo Abo's define-word Emacs package. A handy package to define words at point.

Skeuomorph
25 May 2015 | original ↗

From Wikipedia, skeuomorph ˈskjuːəmɔrf is a derivative object that retains ornamental design cues from structures that were necessary in the original. Examples include pottery embellished with imitation rivets reminiscent of similar pots made of metal and a software calendar that imitates the appearance of binding on a paper desk calendar.

Berlin travel bookmarks
25 May 2015 | original ↗

10 things to do in Berlin. Berlin On A Budget: Our Slow Travel Guide. Perfect day in Berlin. The best of hidden Berlin.

Seatle travel bookmarks
25 May 2015 | original ↗

14 free things to do in Seattle. Indi chocolate. Le Panier.

restclient.el
25 May 2015 | original ↗

Installed Pashky's restclient.el Emacs package. Super helpful when trying out REST APIs.

Bash bookmarks
25 May 2015 | original ↗

Bash conditional statement (Linux Hint). Bash Echo Examples (Linux Hint). Bash Error Handling (Linux Hint). Bash for loop examples (Linux Hint). Bash Reference Manual. Common shell script mistakes (Hacker News). Defensive bash programming. HowTo: Use bash For Loop In One Line - nixCraft. Rich’s sh (POSIX shell) tricks. Safe ways to do things in...

Cuzco travel bookmarks
25 May 2015 | original ↗

Gelatina de patita (mercado) Yolanda. Adobo/chicarron. Chicarroneria Yoli. Pan de chocolate Oropeza. La esquina de los lechones y tamales dulces de Sra Elsa. Cafe el Ayllu (lengua de suegra) La Chomba (picanteria). Costillar frito. Frutillada. Chicharron. Ubre. Tripa. La quinta Eulaia. Asado y chicarron. Rocoto. Humita. Chicheria la loba.

Colorado travel bookmarks
25 May 2015 | original ↗

Horseshoe Bend.

South Carolina travel bookmarks
25 May 2015 | original ↗

Angel Oak tree.

Regex bookmarks
22 May 2015 | original ↗

Emacs: Text Pattern Matching (regex) tutorial. Regex Cheat Sheet (DEV Community). Regex quick reference: From regexrenamer. RegExr, see hacker news comments for other suggestions. RegExr: A website for interactive regex prototyping with syntax highlighting.

Flushing empty lines in Emacs
22 May 2015 | original ↗

Via masteringemacs.org, removing blank lines in a buffer: M-x flush-lines RET ^$ RET

Write to temp iOS snippet
6 May 2015 | original ↗

NSString *tempDir = NSTemporaryDirectory(); NSLog(@"%@\n", tempDir); NSString *dataFilePath = [tempDir stringByAppendingPathComponent:@"my.file"]; [data writeToFile:dataFilePath atomically:YES];

Iceland travel bookmarks
4 May 2015 | original ↗

An Iceland travel log. Apartmenthouse.is for local flats. Blue lagoon spa. citywalk.is: Free walking tour. Design March. Drive it yourself: The Snæfellsnes peninsula. Efstidalur: farm to table restaurant. Eight must-see spots in Iceland's wild west. Fridrikv restaurant. Gangleri outfitters. Golden circle's waterfalls and geysers....

Iceland travel bookmarks
4 May 2015 | original ↗

An Iceland travel log. Apartmenthouse.is for local flats. Blue lagoon spa. citywalk.is: Free walking tour. Design March. Drive it yourself: The Snæfellsnes peninsula. Efstidalur: farm to table restaurant. Eight must-see spots in Iceland's wild west. Fridrikv restaurant. Gangleri outfitters. Golden circle's waterfalls and geysers....

Barcelona travel bookmarks
4 May 2015 | original ↗

18 free things to do in Barcelona. Dessert place you can recommend in Barcelona? (Twitter). La Pedrera.

Hong Kong travel bookmarks
4 May 2015 | original ↗

Causeway Bay pedestrian crossing. Hong Kong's most breathtaking views: where to glimpse the city from above. Hotel Icon (allegedly amazing service/extras). Lin Heung Tea House (bakery/tea/dim sum). Mak's Noodle (Jordan). Siu yuk (Roasted Pig). Tsang Tsou Choi (King of Hong Kong). Tsim Chai Kee (recommended over Mak's wonton/soup).

Thailand travel bookmarks
4 May 2015 | original ↗

Best Thai street food: Bangkok stall Raan Jay Fai awarded with Michelin star. Buddha Statue in Forest Pak Chong. Phanom Rung Historical Park. Rama IX park, Bangkok. Sanctuary of Truth. What makes Bangkok so popular? (Quora).

Madagascar travel bookmarks
4 May 2015 | original ↗

Avenue of the Baobabs.

Switzerland travel bookmarks
4 May 2015 | original ↗

Bernina railway. Lauterbrunnen village. Lion Monument (Lucerne). Lucerne lake/city. Oeschinen Lake.

Sri Lanka travel bookmarks
4 May 2015 | original ↗

Ambuluwawa Temple. Sri Lanka Travel Guide | Best Tips For Your Trip (Nomadic Matt). The best train journeys in Sri Lanka. The Safari Hotel (great area to go on safari, see leopards).

Greece travel bookmarks
4 May 2015 | original ↗

Armenistis - Ikaria. Hydra (island). No cars or motorcycles allowed. Kathisma Beach - Lefkada. Kefalonia Island. Melissani Cave. Momnevasia. Navagio bay. Papafragas beach. Preveza at DuckDuckGo.

Programmatic iOS Auto Layout
30 Apr 2015 | original ↗

Basic iOS auto layout usage. See Adopting Auto Layout and Visual Format language for reference. - (instancetype)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { // Disable autoresizing mask translation for parent. self.translatesAutoresizingMaskIntoConstraints = NO; _subview1 = [[UIView alloc]...

Programmatic iOS Auto Layout
30 Apr 2015 | original ↗

Basic iOS auto layout usage. See Adopting Auto Layout and Visual Format language for reference. - (instancetype)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { // Disable autoresizing mask translation for parent. self.translatesAutoresizingMaskIntoConstraints = NO; _subview1 = [[UIView alloc]...

Building clang-format
30 Apr 2015 | original ↗

Based on instructions from Building clang-format and friends on OSX Mountain Lion. #!/bin/bash set -o nounset set -o errexit # Based on instructions from: # http://blog.hardcodes.de/articles/63/building-clang-format-and-friends-on-osx-mountain-lion readonly LLVM_DIR_PATH='/tmp/llvm' update_repo() { if [[ ! -d $1 ]]; then git...

Emacs key bindings and maps
23 Apr 2015 | original ↗

based on masteringemacs.org. bonus tip prefix key, followed by c-h, lists keys in prefix. keymap maps key to action. keymap found in buffer and most major modes. keys undefined: self explanatory. prefix key: ie. c-x (part of complete key). complete key: complete input executes associated command. mapping (define-key keymap key def): add to...

Japan travel bookmarks
23 Apr 2015 | original ↗

21 Awesome Things to Do in Yokohama, Japan (2020 Guide). 21 free things to do in Tokyo. 6 Tokyo Travel Tips to Help You Get Around the City | Tokyo Weekender. 7 day Japan Rail pass (first class?), possibly only sold outside Japan. 80/20 Japanese by Richard Webb - Publishizer. A Guide to the regional ramen of Japan. A guide to understanding "Small...

Japan travel bookmarks
23 Apr 2015 | original ↗

21 Awesome Things to Do in Yokohama, Japan (2020 Guide). 21 free things to do in Tokyo. 6 Tokyo Travel Tips to Help You Get Around the City | Tokyo Weekender. 7 day Japan Rail pass (first class?), possibly only sold outside Japan. 80/20 Japanese by Richard Webb - Publishizer. A Guide to the regional ramen of Japan. A guide to understanding "Small...

Learning Japanese bookmarks
23 Apr 2015 | original ↗

Beginners Japanese - International House London. Japanese Beginners Course | SOAS. Japanese Guide - TheMoeWay. Japanese Resources - Google Docs. Learn Hiragana: Tofugu's Ultimate Guide. The Japan Foundation, London - Language Centre - Japanese Language Courses. Tofugu’s Learn Kana Quiz.

Meet up bookmarks
19 Apr 2015 | original ↗

Couchsurfing.org. Meetup. Tea with strangers.

Spain travel bookmarks
19 Apr 2015 | original ↗

7 CAFETERIAS BONITAS, ORIGINALES y CON ENCANTO en MADRID. BOMBONERIA SANTA, Madrid - Barrio de Salamanca. Cine Doré Filmoteca Española | Cinemas in Lavapiés, Madrid. Espacio Fundación Telefónica | Art in Malasaña, Madrid. Fundación Masaveu | Art in Madrid, Madrid. JUANCHI'S BURGERS. La Duquesita. Pastelería - Bombonería - Confitería repostería...

Development philosophy
19 Apr 2015 | original ↗

Boyscout rule: Leave campground cleaner than found. What can clang-format teach us about the human condition?.

Development quotes
19 Apr 2015 | original ↗

If your backlog is exploding the problem is not that your developers are slow, but that your business model is not based on reality. If you lose out on object allocation, you still win by avoiding expensive re-renders and re-calculations. Duplication is far cheaper than the wrong abstraction (prefer duplication up to a point). Choosing an...

UK travel bookmarks
19 Apr 2015 | original ↗

25 stunning british places you can reach from London. A graveyard of red telephone boxes located in the small village of Carlton Miniott. Dunmore Pinapple. Hitchin Lavender. In search of Scotland’s best beach. Isle of Man. Sandwood Bay. Sark island. Scotland’s new North Coast 500 route. The 8 most dramatic hikes in England. The New Forest. Where...

Tokyo travel bookmarks
19 Apr 2015 | original ↗

14 Things to Know Before You Go to Tokyo. 5 alternative things to do in Tokyo (by globalhelpswap). A History of Tokyo in 8 Dishes. Akasaka area (N/E of Roppongi). Akasaka Sagamiya (also Mamekan, established in 1895). Akihabara: Electronics district, arcades and comic stores. Asakusa (tourist spot). Kaminarimon, Nakamise (oldest shopping street in...

Plantuml example
17 Apr 2015 | original ↗

Played with Plantuml. Convenient for generating UML diagrams from text. Here's the Language Reference Guide. Here's an example: @startuml abstract class Singer { abstract void sing() void Dance() } skinparam monochrome true Singer Install plantuml on Mac OS X: brew install plantum Generating diagram:...

Helm-describe-helm-attribute
14 Apr 2015 | original ↗

Writing A Spotify Client in 16 Minutes is fantastic for picking up helm and Emacs lisp tips. Of interest helm-describe-helm-attribute, second to the awesomeness of helm-spotify integration.

.net bookmarks
12 Apr 2015 | original ↗

Open Source .Net libraries that make your life easier.

Youtube videos in your org html export
12 Apr 2015 | original ↗

Sacha Chua and John Wiegley posted a wonderful video on Emacs lisp development tips. Embedding the following raw HTML using #+BEGIN_HTML/#+END_HTML: results in an embedded video when exporting your org file:

UK property bookmarks
10 Apr 2015 | original ↗

Commute from (find property based on potential commute). Mapumental Property (find property by travel time).

Git commit message style
9 Apr 2015 | original ↗

Adopted Tim Pope's Git commit message style. Also enabled Emacs's git-commit-training-wheels-mode: (use-package git-commit-training-wheels-mode :ensure t :commands (git-commit-training-wheels-mode)) (use-package git-commit-mode :ensure t :config (add-hook 'git-commit-mode-hook 'git-commit-training-wheels-mode) :commands (git-commit-mode))...

fci-mode and org-html-export-to-html bug
6 Apr 2015 | original ↗

Having enabled fci-mode in most programing modes, org-html-export-to-html now exports an additional unicode character in source blocks. This thread has a workaround: (defun org-html-fontify-code (code lang) ;; ... (funcall lang-mode) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (when (require 'fill-column-indicator...

Austria travel bookmarks
3 Apr 2015 | original ↗

Coffee houses in Vienna. Melk Abbey library.

Cornwall travel bookmarks
3 Apr 2015 | original ↗

Food along the way.

Try cocoapods out
3 Apr 2015 | original ↗

Cocapods try: $ pod try POD_NAME

Cinnamon desktop run dialog
2 Apr 2015 | original ↗

Note to self. Open with Alt-f2.

Ayahuasca bookmarks
29 Mar 2015 | original ↗

Ayaadvisor. Ayahuasca fatalities. Ayahuasca on erowid. Jennifer Logan's death in Peru. The hacker who drank Ayahuasca.

Books for 2015
29 Mar 2015 | original ↗

Catch 22. The Circle. Born to Run. Thinking, Fast and Slow.

CSS vertical align using flex
28 Mar 2015 | original ↗

Codepen snippet: div{ height: 200px; background: #ccc; display: flex; justify-content: center; align-items: center; } p{ margin: auto }

Emacs init.el bookmarks
28 Mar 2015 | original ↗

Adam Schwartz's init. Andrew Gwozdziewycz's init.el. Andrew Kensler's init.el. Andrew's .emacs. Anler Hernandez's literate config. Chen Bin's init.el. Clinton Ryan's init (JS config). daviderestivo/emacs-config (clean/macOS). dotfiles/config.org at master · iocanel/dotfiles · GitHub (mu4e config). EmacsWiki: Starter Kits. Eric James Michael Ritz....

Helm buffer URLs
26 Mar 2015 | original ↗

Venturing into Emacs lisp and Helm. Here's a go at listing all URLs in current buffer. (require 'goto-addr) (defun ar/helm-buffer-url-candidates () "Generate helm candidates for all URLs in buffer." (save-excursion (goto-char (point-min)) (let ((helm-candidates '()) (url)) (while (re-search-forward...

London diving schools
26 Mar 2015 | original ↗

London Diving School. Not heard good comments. Dive Wimbledon. Heard ok comments. Clidive is a BSAC club (amateur organisation). Not commercial but may take longer. Sublime Diving. Heard good comments. Oyster Diving. Pool in cetral London. Good comments. SS Thistlegorm mentioned as a memorable site. Many suggest to get certified elsewhere....

Doh! undo last git commit
23 Mar 2015 | original ↗

$ git reset --soft HEAD~1

Born to Run references
22 Mar 2015 | original ↗

References from reading Christopher McDougall's Born to Run: Chi running. Chia and pinole. Random recipes here. Heritage Seeds. Ken Mierke’s Evolution running. Pose method. Quotes, references, videos, etc. at ultimate paleo guide. Recipe by Megan Mignot, based on book references: Mama Tita’s Pancakes 1 ½ cups cooked brown rice 1 cup coconut milk...

Broken Xcode plugins?
22 Mar 2015 | original ↗

Some Xcode plugins stopped loading after updating Xcode. Ensure the latest DVTPlugInCompatibilityUUIDs is added to the plugin's Info.plist. Get from: $ defaults read \ /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID Additional suggestions as Stack Overflow.

Resetting variables using defvar
22 Mar 2015 | original ↗

Want to re-evaluate defvars and modify variables? eval-defun (bound to C-M-x) can help. From the manual: If the current defun is actually a call to `defvar', then reset the variable using its initial value expression even if the variable already has some other value. (Normally `defvar' does not change the variable's value if it already has a...

China travel bookmarks
19 Mar 2015 | original ↗

"If you have not been to Kashgar, then you haven’t really been to Xinjiang”. 7 first-timer fails to avoid on your trip to Beijing. Archpng on Twitter: "Mount Maiji Grottoes,China… ". Beijing on a budget. Chinese cities you've never heard of. Ctrip for hotels. Stick to high-rated only. Essential regional cuisine of China. Fenghuang ancient town....

Ethiopia travel bookmarks
19 Mar 2015 | original ↗

Bet Giyorgis Church.

Food bookmarks
19 Mar 2015 | original ↗

Cher's hot sauce collection. Scott Martin's hot sauce collection. Summer tomato. Tarladalal recipes.

Org tips from 2015-03-18 Emacs hangout
19 Mar 2015 | original ↗

Lots of great tips in Emacs Hangout 2015-03-18. Favorites: Private org drawer to prevent export: :PRIVATE: My super duper secret text I don't want to export. :END: C-c C-p/C-c C-n Jump over sections. (setq org-hide-leading-stars t). (org-bullets-mode). (org-refile). C-u (org-refile) jumps, no refile. (helm-org-in-buffer-headings).

Rome travel bookmarks
18 Mar 2015 | original ↗

Bike rental in Rome. Darkrome tours. First time Rome: a beginner’s guide to the Eternal City.

Istanbul travel bookmarks
18 Mar 2015 | original ↗

Altan Şekerleme (turkish delight shop). Cheap eats in Istanbul's Bazaar District. Findikli rainbow stairs. Historic neighborhood of Arnavutkoy in Istanbul. Istanbul Food: after the perfect bite. The rise of Karakoy: Istanbul's hippest neighbourhood. Uskudar Fish Market.

San Francisco travel bookmarks
18 Mar 2015 | original ↗

Blue Star Donuts (Portland + LA). Mr. and Mrs. Miscellaneous. Smitten Ice Cream. Tiled steps at 16th Moraga Street in San Francisco.

Sharing on iOS
18 Mar 2015 | original ↗

UIActivityViewController. Use completionWithItemsHandler on iOS 8. Sample: NSString *title = @"Sharing on iOS bookmarks."; NSURL *url = [NSURL URLWithString:@"http://xenodium.com/#sharing-on-ios"]; UIImage *image = [UIImage imageNamed:@"beautiful-image"]; UIActivityViewController *controller = [[UIActivityViewController alloc] ...

South Korea travel bookmarks
18 Mar 2015 | original ↗

8 Amazing Things to Do in Jeonju, South Korea (2020 Guide). Hongdae, Seoul. Koi fish mural at Naksan Park, Seoul.

Burma travel bookmarks
17 Mar 2015 | original ↗

Bagan and Inle lake are the "touristy" areas. Balloons over Bagan. For Bagan, get bicycles. Inle lake guided boat tour. Ngapali beach. Ngwe Saung beach. Shwesandaw at sunset. zyklusdiewelt's Myanmar's photos.

Emacs lisp debug on entry
17 Mar 2015 | original ↗

Wanted to track down which package was enabling ido-mode on my behalf. debug-on-entry to the rescue. Pass the method name in question and you're good to go. (debug-on-entry 'ido-mode) When done, use cancel. (cancel-debug-on-entry 'ido-mode)

Italy travel bookmarks
17 Mar 2015 | original ↗

22 Towns in Italy That Are Almost Too Perfect Looking. Abbazia di Monte Oliveto Maggiore. Abbruzzo's Sulmona: one of the oldest towns in the area and home to the Latin poet Ovid, confetti (sugared almonds) and arrosticini (barbecued lamb skewers). Alberobello - Wikipedia. Amalfi coast's Furore beach. Boboli Gardens, Florence. Braie lake. Caffe...

OS X Screencasts to animated GIF
16 Mar 2015 | original ↗

Alex Dergachev has a great howto for generating animated GIF out of OS X Screencasts. Of interest GIF Brewery.

Uninstalling Alcatraz from Xcode
15 Mar 2015 | original ↗

$ rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin $ rm -rf ~/Library/Application\ Support/Alcatraz ps. Removing all plugins: $ rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*

Writing Xcode plugins
15 Mar 2015 | original ↗

Xcode-Plugin-Template from Delisa Mason/kattrali. Ensure DVTPlugInCompatibilityUUIDs is in Info.plist. Get from: defaults read \ /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID Luis Solanos's Xcode-RuntimeHeaders. Boris Bügling's Xcode-RuntimeHeaders fork. Building the Xcode plugin snapshots. Xcode Explorer enables you to...

Change macOS app icon
14 Mar 2015 | original ↗

Open the new icon (.icns) in Preview. Click on large image Select all (⌘-a). Copy (⌘-c). Ctrl-click on app icon. Select Get Info. Click on app icon (top-left). Paste (⌘-v). Done!

Prefill Emacs swiper with current region
14 Mar 2015 | original ↗

The new swiper Emacs package is proving to be a great alternative to helm-swoop. Here's how to prefill with current region: (defun ar/prefilled-swiper () "Pre-fill swiper input with region." (interactive) (if (region-active-p) (let ((region-text (buffer-substring (region-beginning) ...

Hack on Emacs London meetup bookmarks
11 Mar 2015 | original ↗

European Lisp Symposium. guide-key displays available key bindings. iplayer-el Emacs interface to the BBC's iPlayer. swankr REPL (swank protocol for R).

Building ycmd
9 Mar 2015 | original ↗

Build id: build-3 $ git clone https://github.com/Valloric/ycmd.git $ cd ycmd $ git submodule update --init --recursive $ ./build.sh --clang-completer Test $ python ycmd serving on http://127.0.0.1:54265 More info YouCompleteMe README. ycmd README.

Working with OS X and Emacs tips
9 Mar 2015 | original ↗

From M-x all-things-emacs, Ryan McGeary's OS X/Emacs workflow. Frequently used apps: 1 password. Choosy. Divvy. Fastscript. Fluid (SSB). Launchbar. Skitch (screenshots). te (Text expander). Dotfiles Github.

London food backlog
8 Mar 2015 | original ↗

B_acklog Saporitalia (Italian/pizza), Notting Hill. Menus | Lunch, Dinner, Sunday Roast - Blacklock. Food & Drink - The Barbary | Covent Garden Restaurant | Neal's Yard | London. Pophams Bakery. Yipin China | Restaurants in Islington, London. Sunday (breakfast). The Quince Tree Cafe London (Cafe), Paddington. Bombay Bustle (Indian), Mayfair....

Org mode bookmarks
8 Mar 2015 | original ↗

[[https://karl-voit.at/2017/08/12/org-rabbit-hole/][[org-agenda] UOMF: Org Mode As a Rabbit Hole: Agenda Tasks Piling Up]]. A Baby Steps Guide to Managing Your Tasks with Org. An Agenda for Life With Org Mode. An Org Table Spreadsheet cheatsheet. Assigning ids to entries. Automating boilerplate in org-mode journalling. Beautiful Emacs tags (maybe...

Paris travel bookmarks
8 Mar 2015 | original ↗

Atelier Maitre Albert (known for its rotisserie chicken). Au Passage. Small plates in fun atmosphere. Berthillon Ice Cream. Breizh Café (traditional gallete, savory buckwheat crepes). Buvette Gastrotheque. Wine bar with small dishes. Cheri Bibi, possibly hipster, underneath Sacre Coeur, good cocktails. Creperie Josseline. Worth the queue. Drink...

Photography bookmarks
8 Mar 2015 | original ↗

77 photography techniques, tips and tricks for taking pictures of anything. Course schedule - Digital Photography. ExifRenamer: Batch rename photos using exif information. Exposé, A simple static site generator for photoessays. Japanese Storefront Reference set - Elora 's Ko-fi Shop - Ko-fi. Michael Gakuran's Gakuranman. OpenMV (Small -...

Regular bookmarks
8 Mar 2015 | original ↗

Roads & Kingdoms (food). Roads & Kingdoms (music). Roads & Kingdoms (travel).

Recipes
7 Mar 2015 | original ↗

Jeera rice (cumin rice) Sizzle spices (40 seconds) 1 tablespoon oil 1 teaspoon cumin seeds 4 cloves 2 black cardamon pods 1 cinnamon stick Sautee onion (2 mins or browned/opaque) 1 small yellow onion (chopped) Sautee rice + salt (1 minute) 2 cups of basmati rice 1.2 teaspoon of salt Boil, then partially cover and simmer (8 minutes or water gone)...

UX bookmarks
7 Mar 2015 | original ↗

10 kerning tips for improving your typography. 10 Usability Heuristics for User Interface Design. 30 Flat Design Color Palettes That Just Work. 4 Rules for Intuitive UX. Animated SVG icons. Apple's UI design Dos and Don'ts. Applying white space in UI design: 8 practical tips, with examples.. Ask HN: Good books or articles on UI design? (Hacker...

Apple Watch bookmarks
6 Mar 2015 | original ↗

Swift, Apple Watch, and Dynamic Graphs.

Courses bookmarks
6 Mar 2015 | original ↗

Chessacademy. Compilers (Stanford Lagunita). Egghead.io. Gravity Circus Centre. Idler courses. Learning How to Learn: Powerful mental tools to help you master tough subjects (Coursera). lingua.ly. The Science of Well-Being (Coursera). Tuts+ courses.

GitHub bookmarks
6 Mar 2015 | original ↗

Adding a CNAME file to your repository. Tips for configuring a CNAME record with your DNS provider. Github pages basics. SO DNS response.

Golang bookmarks
6 Mar 2015 | original ↗

7 Common mistakes in Go. A collection of common regular expressions for Go. A curated list of awesome Go packages. A curated list of awesome golang Security related resources. A Drawer implement on SwiftUI. A statistics package with common functions that are missing from the Golang standard library. A whirlwind tour of Go’s runtime environment...

Nexus Q bookmarks
6 Mar 2015 | original ↗

How to Install CyanogenMod on the Google Nexus Q ("steelhead"). Nexus Q troubleshooting. Unlocking->insecure boot->root->flash cm10 with amplifier support your Q without apk.

Graphics bookmarks
6 Mar 2015 | original ↗

gif.js. Icicles: Data viz. inkpanther2 graphics or logo commissions. List of best websites for downloading free SVGs. Protoviz: Data viz. Svg animation info: Potentially useful for some ideas in mind. Svg within svg: Potentially useful for some ideas in mind. where to find svgs.

Lifestyle/wellbeing/health bookmarks
6 Mar 2015 | original ↗

"Do not spoil what you have by desiring what you have not; what you now have was once among the things you only hoped for." - Epicurus 23 Weird Plants For Your Bedroom That Will Help You Sleep Like A Baby. A simple guide to meditation. Advice I needed when I was young. Anxiety Culture. Anxiety No More (Support and Help for a natural anxiety...

Privacy bookmarks
6 Mar 2015 | original ↗

#1 Password Manager, Vault, & Digital Wallet App (LastPass). A Modest Privacy Protection Proposal. Against an Increasingly User-Hostile Web - Neustadt.fr. Alternatives to Google Products (Restore Privacy). Am I unique?. An Intensive Introduction to Cryptography (Hacker News). asc-key-to-qr-code-gif: Convert ASCII-armored PGP keys to animated QR...

Productivity bookmarks
6 Mar 2015 | original ↗

10 fast fingers (improve typing skills). Day One Journal Dotfiles for insane productivity in bash, git, and vim. EricaJoy on Twitter: "so folks, what are your #1 tools for remote work?. How to Get Things Done When You Don't Feel Like It (Hacker News). How to return to the flow faster (Hacker News). How to return to the flow faster | Code Jamming....

Productivity tips backlog
6 Mar 2015 | original ↗

[TODO]{.todo .TODO} AnyBar: OS X menubar status indicator (color dot). [TODO]{.todo .TODO} mercury (fuzzy tab search).

Romania travel bookmarks
6 Mar 2015 | original ↗

Abandoned Romania. Bran Castle.

Startup bookmarks
6 Mar 2015 | original ↗

16 Startup Metrics (Hacker News). 16 Startup Metrics. 19 Amazing Sites To Get Free Stock Photos. 301 Redirects Rules Change: What You Need to Know for SEO. 6 ways to increase user engagement for product-led growth. A Dashboard for your Code. A guide to PR for startups (Hacker News). A guide to PR for startups. A Guide to Pricing Plans | Hacker...

Travel bookmarks
6 Mar 2015 | original ↗

21 Totally Breathtaking Trails. 5 increíbles escapadas a islas que quizás nunca has considerado. 52 Places to Go in 2016 (Hacker News). 52 Places to Go in 2016. A beginner's guide to the art of hiking. abitofculture.net. Alex in wanderland. Amazing places around the world. Backpacks and Bunkbeds. Beyond blighty. BLOUINARTINFO+TRAVEL. Continental...

UX scrapbook bookmarks
6 Mar 2015 | original ↗

27 fonts* (give or take) that explain your world. 5 Years of Design (good for inspiration). 60 FPS on mobile web (plus layouts). Another minilimalistic one-pager. Another minimalistic gallery. Behance. Compact & Powerful: Great Examples of Floating Action Buttons in Interfaces. Flag of Planet Earth. Generative Placeholders. Graphic design from...

Git bookmarks
5 Mar 2015 | original ↗

10 Common Git Problems and How to Fix Them – citizen428.blog. a hackers guide to git Better Git configuration | Scott Nonnenberg. delete last commit Get up to speed with partial clone and shallow clone - The GitHub Blog. Getting Started with Git & Github. Git - Quickest Way to Resolve Most Merge Conflicts. Git Common-Flow. git course: another git...

India travel bookmarks
5 Mar 2015 | original ↗

A Guide to the Breads of India (Hacker News). A route: blore - pune - mumbai - ahmedabad - mt abu - udaipur - jaipur - amritsar - chandigarh - jammu - srinagar - kargil - leh. Abandoned Bhangarh Fort, India | Grounds View. Abandoned Bhangarh Fort, India | Temple Detail. Abandoned Bundi Palace, India | Grand Wedge. Abandoned Cannon Factory, India...

Kerala travel bookmarks
5 Mar 2015 | original ↗

Bagel Shop, 30 Pali Mala Road, off Carter Road, Bandra (W) (+91 22 2605-0178). Daily 9.00AM-10.00PM. Meal for two R500-R800. Hotel Natraj, 22-24 City Station Road, Udaipur (near Bapu Bazaar), +91-294-2487488, +91-94147-57893, Kala Ghoda Café,10 Ropewalk Lane, Kala Ghoda (+91 22 2263-3866). Daily 8.30AM-11.30PM. Meal for two R600. Kochin (Fort...

iOS bookmarks
5 Mar 2015 | original ↗

11 Insanely Great iOS Developers Sites. 30 great UI Kits for iOS engineers – Flawless App Stories – Medium. A floating UIToolBar replacement as seen in the iOS 10 Maps app. Access mobile Safari via web inspector. Accessing Documents/Files (iOS). Adding in-app purchase. An @import-ant Change in Xcode. An object that decodes GeoJSON objects into...

Learning Emacs lisp
5 Mar 2015 | original ↗

Use nreverse and nconc to operate on lists in-place. Set buffer local variables: (setq-local my-clever-var) Execute before saving buffer: (add-hook 'write-file-hooks (lambda () (message "about to save!"))) Possibly use to start processes and send file content: (make-comint NAME PROGRAM &optional STARTFILE &rest SWITCHES)...

Reload inputrc
5 Mar 2015 | original ↗

Reload .iputrc from bash prompt: C-x C-r. More at bashref manual.

Language learning bookmarks
4 Mar 2015 | original ↗

Hacking Chinese: A Practical Guide to Learning Mandarin (Hacking Chinese). HN's comments on learning laguages. How it Works - Language Learning with The Michel Thomas Method. How to learn (But Not Master) Any Language in 1 Hour (Plus: A Favor). Manabi Reader – Learn Japanese by Reading on iOS. Welcome - Woody Piano Shack.

Git conflict resolution déjà vu?
18 Feb 2015 | original ↗

use git rerere. here's a post.

Graphics design tools bookmarks
17 Jan 2015 | original ↗

Alternatives to Adobe products on Linux, macOS and Windows. Aseprite. Awesome-Design-Tools: The best design tools for everything. Contrast ratio. Design+code. HTML5 animations. Ios prototyping with flinto. Krita. Leonardo. MakeAppIcon - Generate app icons of all sizes with a click!. Mischief. Mypaint. Natron. Ormr. Screen Guru - Take clean...

Gardening bookmarks
29 Dec 2014 | original ↗

Recommended times to plant vegetables in Santa Clara County. We're the self-taught development team behind the #1 gardening app..

Microservices bookmarks
29 Dec 2014 | original ↗

Creating a Microservice? Answer these 10 Questions First. How we ended up with microservices. HTTPie – command line HTTP client.

Emacs tips backlog
3 Dec 2014 | original ↗

[TODO]{.todo .TODO} Typit: typing game for Emacs. [TODO]{.todo .TODO} pyimports. [TODO]{.todo .TODO} Sriram Krishnaswamy's init. [TODO]{.todo .TODO} Using a Node repl in Emacs with nvm and npm. [TODO]{.todo .TODO} arview. [TODO]{.todo .TODO} company-flx: fuzzy matching to company. [TODO]{.todo .TODO} Integration of the Go 'guru' analysis tool...

Xcode6 tips
2 Nov 2014 | original ↗

From Ray Wenderlich's tech talk And supercharging Your Xcode Efficiency (by Jack Wu). Shortcuts ⌘⇧o Fuzzy file search. ⌘⌥j Fuzzy file search (showing in Xcode project hierarchy). ⌘⇧j Show file in Xcode project hierarchy. ⌘⌥0 Show/hide utility area (right panel). ⌘0 Show/hide navigation area (left panel). ⇧⌘Y Show/hide debug area (bottom panel)....

C++ bookmarks
9 Oct 2014 | original ↗

Additional C/C++ Tooling. C++ Best Practices. C++ Core Guidelines. cppreference.com. Fast directory listing. FunctionalPlus: helps you write concise and readable C++ code. GitHub - mozilla/rr: Record and Replay Framework (debugging). Modern C | Hacker News. Modern C++: Variadic template parameters and tuples. My favorite C compiler flags during...

Emacs lisp bookmarks
20 Sept 2014 | original ↗

(setq search-whitespace-regexp ".*?") isearch "abc ghi" matches "abcdefghi". A quick guide to Emacs Lisp programming. A snippet to try out fonts. Abo abo's Emacs Lisp Guide. Adding A New Language to Emacs (ie. writing a new major mode). alphapapa's The Emacs Package Developer’s Handbook. An Async / Await Library for Emacs Lisp « null program. An...

gpg/pgp bookmarks
20 Sept 2014 | original ↗

Backup or transfer your keys / GPG Keychain FAQ / Knowledge Base - GPGTools Support. Creating the perfect GPG keypair - Alex Cabal. Gmail, Gnus and GPG guide. GnuPG2 snippets - emacsist. NIST Special Publication: Recommendation for Key Management. OpenPGP Best Practices - riseup.net. Securing My Digital Life: GPG, Yubikey, & SSH on macOS. The GNU...

Emacs bookmarks
19 Sept 2014 | original ↗

[[https://christiantietze.de/posts/2021/06/emacs-center-window-on-current-monitor/ Bridging Islands in Emacs: re-builder and query-replace-regexp | Karthinks. Configuring Emacs and Eglot to work with Astro language server | by Jayaram |…. Emacs Tramp tricks. Export an environment variable to Emacs | Snippets and other bits. Lesser known...

Origami bookmarks
18 Sept 2014 | original ↗

Origami - How to make a WASTEBASKET. Origami That's Fun And Easy.

Charities bookmarks
18 Sept 2014 | original ↗

Toilet paper that builds toilets (Who Gives A Crap UK).

Frugal bookmarks
18 Sept 2014 | original ↗

9 Great Frugal Blogs in The UK - A Cornish Mum. Any tips for buying Cheap Red Wine? : UKFrugal. Asda Mobile | Pay as you go SIM (Order your free SIM). Beating the latte factor: My quest for the best cheap coffee. Big green smile (eco bulk buys). Broadband.co.uk Dedicated to finding the best broadband for you. Buy it for life: Durable, Quality,...

Flight-booking bookmarks
12 Sept 2014 | original ↗

Azair: Budget air tickets from low-cost airlines. Google Flights. Matrix - ITA Software by Google. Travelzoo: Travel & entertainment deals: hotels, holidays, cruises, restaurants, shows.

Resetting gnome-terminal preferences
11 Sept 2014 | original ↗

Resetting preferences gconftool --recursive-unset /apps/gnome-terminal Want 256 colors? Edit .bash_profile export TERM="screen-256color" Ensure .bash_profile is loaded From gnome-terminal window: gnome-terminal Edit Profiles… Edit Title and Command X Run command as login shell Solarized Bonus: See post to get solarized on gnome-terminal.

Networking bookmarks
14 Jul 2014 | original ↗

Ask HN: Good books/courses to learn networking essentials for web development. Command-line tools to look up DNS information. Stanford CS 144: Introduction to Computer Networking | Hacker News.

HTML bookmarks
14 Jul 2014 | original ↗

A few HTML tips (Mozilla). awesome-motherfucking-website: An awesome list of websites about minimal web design and copious swearing. Better Motherfucking Website. Chrome Devtools Tips & Tricks. Chrome Devtools Tips and Tricks (Hacker News). Chromium's web fundamentals and Web Starter Kit. CSS Grid Areas. CSS Layout cookbook - CSS: Cascading Style...

JavaScript bookmarks
14 Jul 2014 | original ↗

#javascript ES6 cheatsheet — Map & WeakMap – Mihai Serban – Medium. A better way to lazy load responsive images. Airbnb JavaScript Style Guide. An overview of JavaScript reactive frameworks. Babel Javascript compiler. Bootstrap 3 grid. Chrome DevTools. Concise JavaScript intro. DOMPurify: a DOM-only, super-fast, uber-tolerant XSS sanitizer for...

Node bookmarks
14 Jul 2014 | original ↗

How to use npm as a Build Tool.

Browser bookmarks
14 Jul 2014 | original ↗

Dillo. Firefox: no window borders or other decoration. NetSurf. SingleFile | Save a page as a single HTML file.

Java bookmarks
14 Jul 2014 | original ↗

Better Java. ExecutorService - 10 tips and tricks. Java anti-patterns. Java Generics FAQs. Lanterna, a text GUI (a la ncurses) written in Java. Modern Java - A Guide to Java 8.

Paswordless ssh with authorized keys
13 Jul 2014 | original ↗

On local host ssh-keygen cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys' On remote host chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys UPDATE: Add "AddKeysToAgent yes" to .ssh/config and enter password only once.

Development bookmarks
13 Jul 2014 | original ↗

Hexagonal Grids. Big O Notation – Explained as easily as possible | Hacker News. Comprehensive Big O Notation Guide in Plain English, using Javascript. Just Simply | Stop saying how simple things are in our docs. Show HN: DevBooks – Help Developers find indy books | Hacker News. Writing Well-Documented Code - Learn from Examples - Code Catalog....

Python bookmarks
13 Jul 2014 | original ↗

12. Virtual Environments and Packages — Python 3.7.4 documentation (pipenv). A python command-line tool which draws basic graphs/charts in the terminal. Argparse cookbook: For simple python scripts. Best 50 Python Books for Programmers with All Skill Sets. Code Like a Pythonista: Idiomatic Python. Dataset: databases for lazy people. Dive Into...

Installing Emacs 24.4 on Mac OS X
9 Jul 2014 | original ↗

See Yamamoto's Mac OS X port. To install: $ brew tap railwaycat/emacsmacport $ brew install emacs-mac

Installing Emacs 24.4 on Linux
9 Jul 2014 | original ↗

sudo apt-get install texinfo build-essential xorg-dev libgtk-3-dev libjpeg-dev libncurses5-dev libgif-dev libtiff-dev libm17n-dev libpng12-dev librsvg2-dev libotf-dev

Some python idioms
4 Nov 2013 | original ↗

Prefer double quotes if escaping single quotes. Prefer string interpolation over join. Eg. "'%s'" % member_default. Prefer double underscore for privates. Prefer with statement to implicitly close file. with open(path, 'r') as text_file: text = text_file.read() Prefer list comprehensions to filter. Prefer using separate modules over classes...

↑ These items are from RSS. Visit the blog itself at https://lmno.lol/alvaro to find everything else and to appreciate author's digital home.