#tips

91 bookmarks tagged with #tips · RSS Feed · ← All Tags

Use Task Runners for Common Coding Tasks - Ham Vocke

https://hamvocke.com/blog/task-runners/
Multiple ways to run common coding tasks in a convenient and consistent way across multiple repositories. This is not exactly rocket science. It’s a small quality of life improvement for you and your team. It’s super simple to set up and yet it’s something I rarely see in the wild. This could be one small thing you can implement while you’re having your first coffee tomorrow morning to do your good deed for the day.

*Pro-level* travel tips

https://a.wholelottanothing.org/pro-level-travel-tips/?ref=a-whole-lotta-nothing-newsletter
A friend once said that if you’ve ever tried to meditate and failed to quiet your jumbled mind, you should take a trip instead.

15 Go Subtleties You May Not Already Know

https://harrisoncramer.me/15-go-sublteties-you-may-not-already-know/
One of the best ways to learn something new is to write down something you’ve learned about it regularly. Over the past year, I’ve been doing this with the Go programming language. Here are some of my favorite lesser-known tidbits about the language.

Six nifty ES6 tricks

http://www.2ality.com/2016/05/six-nifty-es6-tricks.html
const Storage = Sup => class extends Sup { save(database) { ··· } }; const Validation = Sup => class extends Sup { validate(schema) { ··· } }; You can use them to compose a class Employee as follows. class Person { ··· } class Employee extends Storage(Validation(Person)) { ··· }

Taming Macbook Pro’s Trackpad in Ubuntu 12.10 Linux « Chris Reilly

http://www.chris-reilly.org/blog/technotes/macbook-trackpad-in-ubuntu/
I’ve been working much more in Ubuntu Linux lately on my 2011 Macbook Pro, and the lack of integration for the trackpad has really been driving me crazy. The default synaptics driver does an ok job, but when it comes to things like gestures, the details make all the difference.

Stop Doing Internet Wrong. - Scott Hanselman

http://www.hanselman.com/blog/StopDoingInternetWrong.aspx
Some days...some days it's frustrating to be on the web. We're compiling C++ into JavaScript and running Unreal in the browser but at the same time, here in 2013, we're still making the same mistakes. And by we, I mean, the set of web developers who aren't us, right Dear Reader? Because surely you're not doing any of these things. ;)

Matt Parkinson » Blog Archive ReadyNAS TimeMachine Verification Issues » Matt Parkinson - It always seems impossible until it's done

https://www.mattparkinson.eu/readynas-timemachine-issues/
Every so often, when my laptop runs out of battery during a backup, I receive the following: “Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you.”

How to Automatically Download Virtually Anything as Soon as It's Available

http://lifehacker.com/5943163/how-to-automatically-download-virtually-anything-as-soon-as-its-available#viewcomments
The internet really does have everything, and it's all available for download without lifting a finger. A series of helpful scripts, all installable in a few minutes, can transform your computer into an automatic media downloading machine.

How electronic payment services are earning cabbies an extra $144 million in tips every year | Technology News Blog - Yahoo! News

http://news.yahoo.com/blogs/technology-blog/electronic-payment-services-earning-cabbies-extra-144-million-214935642.html
Tipping: It's a pain. Not so much because we don't like rewarding good service — we absolutely do — it's just that we never have any idea what's customary to tip for service outside a restaurant. I mean, what do you tip a New York City cab driver, 10%? It turns out that's exactly what most people used to tip cabbies — 10%. Used to, that is, until cabs were forced to install touch screen payment systems that accept credit cards.

View Firefox page source in an external editor - Mac OS X Hints

http://hints.macworld.com/article.php?story=20110106101920874
To do this, you need to enter about:config in Firefox's URL bar, then accept the warning when prompted. In the Filter box, type source.editor, which will show you three variables. Double-click on view_source.editor.external first, to change its Value to true. Next, double-click on view_source.editor.path, which will drop down a small sheet in which you enter the path to your preferred editor. The path must be a full complete Unix-style path, and point to the actual executable (not the app bundle). So for Coda, I used:

The Text Triumvirate

http://www.drbunsen.org/text-triumvirate.html
This post aims to provide an overview of how to create a highly functional and easy to configure Text Triumvirate for those new to this tool chain. I try to focus on aspects of how to integrate zsh, vim, and tmux with particular focus on my experiences with two common problems—copy/paste functionality and color aesthetics.

Introduction to text manipulation on UNIX-based systems

http://www.ibm.com/developerworks/aix/library/au-unixtext/index.html
This introduction to text manipulation on UNIX platforms provides an overview of some common commands widely available and installed standard on most UNIX-based releases. Many times these standard utilities are ignored in favor of more modern text-processors such as Perl, Python, or Ruby, which are not always installed on a system. An introductory review of these tools helps practitioners who are learning UNIX or Linux or those who may be looking to renew forgotten knowledge.

Saxon diaries :: The ten most common XSLT programming mistakes

http://saxonica.blogharbor.com/blog/_archives/2010/6/11/4550606.html
"In response to a user recently, I told him he had fallen into the most common elephant trap for XSLT users. Rather than being annoyed, which I half expected, he thanked me and asked me if I could tell him what the next most common elephant traps were. Although some of us have been helping users avoid these traps for many years, I don't recall seeing a list of them, so I thought I would spend half an hour compiling my own list. "

EditingHistory - Mercurial

http://mercurial.selenic.com/wiki/EditingHistory
"hg qimport -r BAD:tip will import the changesets into MQ. You can find newly created patches in .hg/patches. Those patches are nevertheless still applied, to strip them from the history, you need the qpop command. Issue hg qpop -a Now all changes since revision BAD are no longer available in your repository history. They are saved as patches in .hg/patches - and only there."

geewax.org | Agile git Workflow

http://geewax.org/2009/11/21/agile-git-workflow.html
"Agile" is kind of a dirty word in some circles, but this describe some actually agile ways to deal with revision control using git. "When we started using git to manage our source code at work, we actually jumped in a little bit too fast. It seems like there is a lot of writing about how you can do lots of really neat things with git, but no real guide about one particular way of using git for your project. This post is going to describe how we use git day to day on a reasonably large “agile-style” project."

What are the dark corners of Vim your mom never told you about? - Stack Overflow

http://stackoverflow.com/questions/726894/vim-tricks-your-mom-never-told-you-about-dark-corners
"However, I don't refer to commonly used shortcuts that a noob would find cool. I am talking about a seasoned unix user (be she/he a developer, admin, both, etc), who thinks (s)he knows something 99% of us never heard or dreamed about. Something that not only makes his/her work easier, but also is COOL and hackish. After all, vim resides in the most dark-corner-rich OS in the world, thus it should have intricacies that only a few privileged know about and want to share with us."

Enabling Vertical (\G) Output in the MySQL Client | Slaptijack

http://slaptijack.com/software/enabling-vertical-g-output-in-the-mysql-client
"One problem with the MySQL command line client is that queries with lots of columns tend to wrap crazily based on your terminal size. To overcome this, you can get a vertical output by terminating your queries with \G instead of ;. I find this format extremely helpful in cases where I know only one row will be returned. "

Take 18 Minutes to Keep Your Days on Track - Time management - Lifehacker

http://lifehacker.com/5321204/take-18-minutes-to-keep-your-days-on-track
"Basically, you'll start the day off right by grabbing a sheet of paper and writing down the goals which you can realistically accomplish that day. The important part is to immediately assign time slots to those tasks by order of importance and difficulty because these designated times make you more likely to accomplish your goals and give you a way of tracking your progress once every hour. At the end of the work day, you'll take a few minutes to review not just the last hour, but the entire day."

A web-focused Git workflow

http://joemaller.com/2008/11/25/a-web-focused-git-workflow
"The key idea in this system is that the web site exists on the server as a pair of repositories; a bare repository alongside a conventional repository containing the live site. Two simple Git hooks link the pair, automatically pushing and pulling changes between them. "

Improve your jQuery - 25 excellent tips

http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx
"I'd call myself an "intermediate" jQuery user and I thought some others out there could benefit from all the little tips, tricks and techniques I've learned over the past year. The article also ended up being a lot longer than I thought it was going to be so I'll start with a table of contents so you can skip to the bits you're interested in."

10 Useful Techniques To Improve Your User Interface Designs | How-To | Smashing Magazine

http://www.smashingmagazine.com/2008/12/15/10-useful-techniques-to-improve-your-user-interface-designs
"1. Padded block links 2. Typesetting buttons 3. Using contrast to manage focus 4. Using color to manage attention 5. White space indicates relationships 6. Letter spacing 7. Auto-focus on input 8. Custom input focus 9. Hover controls 10. Verbs in labels"

Netcat Tar Pipe

http://compsoc.dur.ac.uk/~djw/tarpipe.html
"So you have gigs of data to transfer between two machines over ethernet. A nice quick and dirty method is to use netcat and tar. This is by no means secure, but if you haven't got the time or desire to setup NFS, FTPd, Samba. Or wait hours for scp to do its job then this can save you a lot of time. "

A Bunch of Great Strategies for Using Memcached and MySQL Better Together | High Scalability

http://highscalability.com/bunch-great-strategies-using-memcached-and-mysql-better-together
"The primero recommendation for speeding up a website is almost always to add cache and more cache. And after that add a little more cache just in case. Memcached is almost always given as the recommended cache to use. What we don't often hear is how to effectively use a cache in our own products. MySQL hosted two excellent webinars (referenced below) on the subject of how to deploy and use memcached."

Mark Bernstein: Get yourself a server

http://markbernstein.org/May0701/Getyourselfaserver.html
"Continuing with the spring cleaning theme: you need a server. Yep: you. A place to put files. Some for sharing, some just for safekeeping. A place far, far from home. A place with professionals who take care of the machines."