CuTt6: cd symlink “/” autocomplete

Copper’s Tips & Tricks #6: cd symlink autocomplete I found myself questioning everything why do I have to double tap tab whenever I want to autocomplete a symlinked directory vs a normal directory. And then, that question urged me to google, and google I did, and found the answer I did, and here it is, […]

CuTt5: WooCommerce Mobile Breakpoint

Copper’s Tips & Tricks #5: WooCommerce Mobile Breakpoint At the office, we use this breakpoints for CSS layouts, basically bootstrap’s: From To Description Nothingness 767px Mobile 768px 991px Tablet 992px Infinity Desktop That’s the standard anyway, and we usually merge tablet and desktop together, at least for the most important features. However, there’s one very […]

CuTt4: Gulp cache busting

Copper’s Tips & Tricks #4: Gulp cache busting So, have you ever developed using Gulp? If you haven’t go do that now. Done? Good. One thing you may notice during normal development is that the browser refresh sometimes is not enough. You’ll definitely notice it when you deploy. That’s browser cache for you. The easiest […]

CuTt3: Useful terminal shortcuts II

Copper’s Tips & Tricks #3: Useful terminal shortcuts Note: I use iTerm. If you’re here you’re probably computer savvy enough to adapt the instructions to your terminal tool of choice. Miraculously (or through the hard work of people who thought a lot about things in the past) bash has the integrated ability to move word […]

CuTt2: Useful terminal shortcuts I

Copper’s Tips & Tricks #2: Useful terminal shortcuts If you didn’t know about this (and some people at the office don’t/didn’t), first of all, I feel bad for you, your brain, and your fingers. Specially your fingers. By pressing Cmd+R and starting typing, the terminal will start to look for sent commands that match the […]

CuTt: Find file’s fullpath

Copper’s Tips & Tricks #1: Find file’s fullpath Two ways to do this, the normal way, using `find`, and the hipster way, using `tree` and `grep`: The normal way find . -name ‘[filename].[extension]’ # E.g.: $ find . -name ‘wp-config.php’ ./Documents/Sites/some-project/workspace/some-beep/wordpress/wp-config-sample.php ./Documents/Sites/some-project/workspace/some-beep/wordpress/wp-config.php ./Documents/Sites/some-project/workspace/some-boop/wordpress/wp-config-sample.php ./Documents/Sites/some-project/workspace/some-boop/wordpress/wp-config.php ./Documents/Sites/some-project/workspace/some-noise/wordpress/wp-config-sample.php ./Documents/Sites/some-project/workspace/some-noise/wordpress/wp-config.php ./Documents/Sites/some-project/workspace/some-censured/wordpress/wp-config-sample.php ./Documents/Sites/some-project/workspace/some-censured/wordpress/wp-config.php The hipster way $ tree -fi | […]

WooCommerce Custom Password Strength

Haven’t you been wanting to do this? To choose your own password strength for WC? Haven’t you? Well, here’s a quick way to copy paste this into your `functions.php` file or a more “correct” configuration file/model inside infinitely recursing folders for proper organization of your code. // Customize required password strength START // Main function […]