|
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).
|
|
Cher's hot sauce collection . Scott Martin's hot sauce collection . Summer tomato . Tarladalal recipes .
|
|
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 . Hallelujah Mountains . Houhai Lake (Beijing). Miscellaneous bars. Jiuzhaigou natu..
|
|
Just a quick post to list some updates to searchcode.com The first is a slight modification to the home page. A while ago I received an email from the excellent Christian Moore who provided some mock-ups of how he felt it should look. I loved the designs, but was busy working on other issues. Thankfully however in the last week or so I found the time to implement his ideas and the result is far more professional to me.
|
|
Update on Rigel and response from DjurAkuten Update: When I first wrote this post I kept all clinic names anonymous. I am now un-anonymising one of the clinics (DjurAkuten), where this whole chain of events was triggered in the first place and which is now trying to claim that Rigel was already sick/had a flaccid bladder when we brought him in for a routine surgery as a healthy kitten despite their own records stating otherwise.
|
|
8 Amazing Things to Do in Jeonju, South Korea (2020 Guide) . Hongdae, Seoul . Koi fish mural at Naksan Park, Seoul .
|
|
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] initWithActivityItems:@[title, url, image] applicationActivities:nil]; // self being a UIViewController. [s....
|
|
Blue Star Donuts (Portland + LA) . Mr. and Mrs. Miscellaneous . Smitten Ice Cream . Tiled steps at 16th Moraga Street in San Francisco .
|
|
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 .
|
|
In one of my previous posts, I explained my email setup in detail . Since then I've added one more piece of software on the "stack". It's called NotMuch and it's an email indexer.
|
|
Yesterday Cerberus 0.8.1 was released with a few little fixes , one of them being more a new feature than a fix really: sub-document fields can now be set as field dependencies by using a ‘dotted’ notation. So, suppose we set the following validation schema: schema = { 'test_field': { 'dependencies': [ 'a_dict.foo', 'a_dict.bar' ] }, 'a_dict': { 'type': 'dict', 'schema': { 'foo': {'type': 'string'}, 'bar': {'type': 'string'..
|
|
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 Meletti . Cinque Terre . Emilia Romagna . (foood!). Fixe small towns in Italy . ....
|
|
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)
|
|
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 .
|
|
Another blog post written for SitePoint about 5 great uses for Sass maps and other thoughts on code at the moment.
|
|
In Understanding Media, McLuhan describes the shift in western society from an agrarian economy to an industrial economy as a template for the next shift from an industrial economy to an information economy. Another characteristic reversal after passing a road break boundary is that the country ceases to be the center of all work, and the city ceases to be the center of leisure. In fact, improved roads and transport have reversed the an....
|
|
Rust is a reasonably large project: the compiler and standard libraries are over 350kloc, built across nearly 40000 commits by the hands of around 900 contributors. Not only that: there are more than 30 other repositories in the rust-lang GitHub organisation that shouldn’t fall by the wayside, and, for rust-lang/rust alone, there are often more than 100 pull requests landing and a dozen new contributors in a single week. Update 20....
|
|
The Shadow of the Wind (The Cemetery of Forgotten Books, #1)
-
apurva-shukla.me
-
11 years ago
-
eng
As soon as I flipped to the first page, I was enchanted. I have no words, because it is just so superbly written with an excellent…
|
|
Here are two quick git tricks that I’ve added to my toolbox lately… I wanted to create a git alias that takes in argv from the command, but in the middle of the command. Here’s the hack that I came up with for the [alias] section of my ~/.gitconfig: [alias] # cherryfetch fetches a repo ($1) / branch ($2) and applies it rebased! # the && true at the end eats up the appended args cherryfetch = !git fetch "$1" "$..
|
|
Here are two quick git tricks that I’ve added to my toolbox lately… I wanted to create a git alias that takes in argv from the command, but in the middle of the command. Here’s the hack that I came up with for the [alias] section of my ~/.gitconfig: [alias] # cherryfetch fetches a repo ($1) / branch ($2) and applies it rebased! # the && true at the end eats up the appended args cherryfetch = !git fetch "$1" "$..
|
|
Alex Dergachev has a great howto for generating animated GIF out of OS X Screencasts. Of interest GIF Brewery .
|
|
Today, the New York Times’ SundayReview features a great column by Matthew B. Crawford: The Cost of Paying Attention . Attention is a resource; a person has only so much of it […] What if we saw attention in the same way that we saw air or water, as a valuable resource that we hold in common? Perhaps, if we could envision an “attentional commons,” then we could figure out how to protect it.
|
|
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 explore Xcode events/notifications. Creating an Xcode4 plugin . Common Xcode plug..
|
|
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/*
|
|
Go is an object oriented programming language. It may not have inheritance, but in this 20 minute video from the Bangalore meetup, I will show you how object oriented programming practices and techniques can be applied to your Go programs. From an object oriented standpoint, Go does provides the ability to add behavior to your types via methods, allows you to implement polymorphic behavior via interfaces and gives you a way to extend the st..
|
|
Continuous integration for the Linux Kernel - Built within Docker
-
smcleod.net
-
11 years ago
-
eng
Linux Kernel CI for Debian Github: sammcj/kernel-ci Those of us using technologies such as Docker and BTRFS or simply trying to gain a performance edge on the competition have a lot to gain from the features and performance of recent Kernel updates (especially from 3.18 onwards). ‘Enterprise’ Linux distributions such as RHEL & variants are concerningly out of date when comes to the Kernel. Many people seem to have forgotten what ..
|
|
Continuous integration for the Linux Kernel - Built within Docker
-
smcleod.net
-
11 years ago
-
eng
Linux Kernel CI for Debian Github: sammcj/kernel-ci Those of us using technologies such as Docker and BTRFS or simply trying to gain a performance edge on the competition have a lot to gain from the features and performance of recent Kernel updates (especially from 3.18 onwards). ‘Enterprise’ Linux distributions such as RHEL & variants are concerningly out of date when comes to the Kernel. Many people seem to have forgotten what ..
|
|
It has been a while since I have updated this page! I just wanted to let people know that there was a change to sqlite in iOS 8.2 that has caused issues with Amounts. I’ve just submitted a small bugfix update to Apple that should hopefully go out next week. In the meantime I will... Read more » The post Amounts 1.0.3 Bugfix Update first appeared on Swift Fox Software LLC .
|
|
Finding the fastest Turing Machine that computes a given function is uncomputable. (And the consequences for superoptimisation)
-
www.forwardscattering.org
-
11 years ago
-
eng
Assume, for a contradiction, that we have some function optimise(f), that returns the fastest Turing Machine that computes the (partial) function f. The exact definition of 'fastest' doesn't matter. Now consider the function \( \operatorname{returnOneOnHalt_f}(x) \), that simulates the execution of function f on input x. If f halts, then \( \operatorname{returnOneOnHalt_f} \) returns 1 and halts. If the function f doesn't halt then ....
|
|
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) (region-end)))) (swiper region-text)) (swiper))) (global-set-key (kbd "C-s") #'ar/prefilled-swiper)
|
|
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!
|
|
Wanting to have more control over my email, I decided to setup my own mail server. I thought I had a pretty good understanding of how mail works, considering my mutt/offlineimap/imapfilter setup , but I must say I was pleasantly surprised while setting everything up.
|
|
European Lisp Symposium . guide-key displays available key bindings. iplayer-el Emacs interface to the BBC's iPlayer. swankr REPL (swank protocol for R).
|
|
Problem: Given a massive data stream of $ n$ values in $ \{ 1, 2, \dots, m \}$ and the guarantee that one value occurs more than $ n/2$ times in the stream, determine exactly which value does so. Solution: (in Python) def majority(stream): held = next(stream) counter = 1 for item in stream: if item == held: counter += 1 elif counter == 0: held = item counter = 1 else: counter -= 1 return held Discussion: Let’s prove correctness.
|
|
Problem: Given a massive data stream of $ n$ values in $ \{ 1, 2, \dots, m \}$ and the guarantee that one value occurs more than $ n/2$ times in the stream, determine exactly which value does so. Solution: (in Python) def majority(stream): held = next(stream) counter = 1 for item in stream: if item == held: counter += 1 elif counter == 0: held = item counter = 1 else: counter -= 1 return held Discussion: Let’s prove correctness.
|
|
Problem: Given a massive data stream of $ n$ values in $ \{ 1, 2, \dots, m \}$ and the guarantee that one value occurs more than $ n/2$ times in the stream, determine exactly which value does so. Solution: (in Python) def majority(stream): held = next(stream) counter = 1 for item in stream: if item == held: counter += 1 elif counter == 0: held = item counter = 1 else: counter -= 1 return held Discussion: Let’s prove correctness.
|
|
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 .
|