Delete folder and all contents with no prompts
rm -rf mydir
The problem with putting | |
./node_modules/.bin | |
into your PATH is that it only works when your current working directory is the root of your project directory structure (i.e. the location of node_modules) | |
Independent of what your working directory is, you can get the path of locally installed binaries with | |
npm bin | |
To execute a locally installed coffee binary independent of where you are in the project directory hierarchy you can use this bash construct |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso
<Ditto_Theme_File Version="2" Author="Wertyoo" Notes="DarkBlue Theme"> | |
<CaptionLeft>RGB(18,36,41)</CaptionLeft> | |
<CaptionRight>RGB(36,55,60)</CaptionRight> | |
<CaptionLeftTopMost>RGB(18,36,41)</CaptionLeftTopMost> | |
<CaptionRightTopMost>RGB(36,55,60)</CaptionRightTopMost> | |
<CaptionLeftNotConnected>RGB(18,36,41)</CaptionLeftNotConnected> | |
<CaptionRightNotConnected>RGB(36,55,60)</CaptionRightNotConnected> |
This cheat sheet explores a fundamental concept in WordPress development: filters.
In WordPress, filters enable developers to intercept and modify data as a WordPress page is loading, before sending it to the browser or saving it to the database.
Understanding how filters work isn’t all that easy, partly because the concept is difficult to visualize, and also because filters are often confused with WordPress actions. Yet, it’s an important concept to master because filters are one of the most common ways developers interact with WordPress.
For these reasons, this filter cheat sheet is ideal for those new to working with filters. This cheat sheet provides an in-depth understanding of what filters do and how they work, and provides a quick reference guide for using filters in WordPress development.
{ | |
"_id": "string", // set to mongo ObjectID | |
"_type": "string", // infer | |
"_display_name": "string", // infer | |
"_create_time": "datetime", // unsure | |
"_update_time": "datetime", // unsure | |
"id": "string", // good | |
"type": "string", // infer | |
"partner_display_ids": [ // need datastore | |
"string" |