Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
| ⌨️ Official Cursor-Resting Area: | |
| ╭―――――――╮ | |
| │ >_< │ | |
| ╰―――――――╯ |
#Halihax is a place to collaborate, ask questions, discuss new products, find work, get feedback and keep up on local events.
We’ve developed a loose set of guidelines to help you navigate the community:
We encourage members to create meaningful and respectful discussion around their experiences and projects/products.
MODx Revolution lacks a preview of unsaved changes. For editors this is a rather important feature to check if their changes are correctly displayed and it's easy to do. No need to unpublish, save and view the resource. Just click 'Preview' and a MODx Window will show you all the changes.
The way it works is pretty easy: When clicking the 'Preview' button and OnBeforeDocFormSave is triggered all current (saved) data will be stored in a cache file, the resource will be saved with the new data. If OnWebPageComplete is fired, the saved data will be replaced with the previously cached data.
So for a short period the actual preview will be live!
| /* | |
| Minimal Facebook Messenger | |
| ========================== | |
| 1. Make a Fluid (http://fluidapp.com/) instance of https://facebook.com/messages/ | |
| 1. a. (You need to buy the paid version of Fluid to modify UserStyles) | |
| 2. Apply the below CSS as a Userstyles stylesheet | |
| 3. Like magic, you can now message without all the cruft of Full Facebook | |
| javascript:var h=location.href;if((h.indexOf('medium.com') !== -1) && (h.split('/').length-1 >= 4)){location.href='https://twitter.com/search?q='+encodeURIComponent(h.substr(h.lastIndexOf('/') + 1))}else{alert('Not at a Medium article.');} |
| @implementation UITextView (RSExtras) | |
| static BOOL stringCharacterIsAllowedAsPartOfLink(NSString *s) { | |
| /*[s length] is assumed to be 0 or 1. s may be nil. | |
| Totally not a strict check.*/ | |
| if (s == nil || [s length] < 1) | |
| return NO; |
French Press Coffee
| <html> | |
| <head> | |
| <title>Who Likes Mitt?</title> | |
| <style> | |
| pre#output { | |
| height: 12em; | |
| width: 500px; | |
| overflow: auto; | |
| } | |
| </style> |
| require "rubygems" | |
| require "twitter" | |
| require "json" | |
| # things you must configure | |
| TWITTER_USER = "your_username" | |
| MAX_AGE_IN_DAYS = 1 # anything older than this is deleted | |
| # get these from dev.twitter.com | |
| CONSUMER_KEY = "your_consumer_key" |