This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List all node_modules found in a Directory: | |
First, let's take a look at ALL the node_modules we have in a directory, before we actually start deleting them! | |
NOTE: Make sure you cd into a specific directory where most of your projects are. ie: documents or documents/github. | |
Mac / Linux: | |
This command will print out each folder, and even show us how much space the folder is occupying ! | |
$ cd documents | |
$ find . -name "node_modules" -type d -prune -print | xargs du -chs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Created by: Shawn Brink | |
; Created on: January 28th 2015 | |
; Modified on: August 29th 2016 | |
; Tutorial: http://www.sevenforums.com/tutorials/1911-take-ownership-shortcut.html | |
[-HKEY_CLASSES_ROOT\*\shell\runas] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find . -type f -exec chmod 664 {} + | |
sudo find . -type d -exec chmod 775 {} + | |
sudo chmod 660 wp-config.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--view/post/lists--> | |
@include('pagination.uikit',['paginator'=>$posts]) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class LanguageDetector | |
{ | |
private $languages = []; | |
public function __construct($enabledLanguages) | |
{ | |
$this->languages = (array)$enabledLanguages; | |
} |