Give developers more knowledge about how the classes behave in a non-relative sense: BEM + ITCSS = BEMIT
BEM:
| "how to reload settings in vim/phpstorm | |
| ":so % | |
| set history=50 " number of command-lines that are remembered | |
| set hlsearch " highlight matches with last search pattern | |
| set ignorecase " ignore case in search patterns | |
| set showmode " message on status line to show current mode | |
| set smartcase " no ignore case when pattern has uppercase | |
| set visualbell " use visual bell instead of beeping |
| /************************************************************************************** | |
| * AdWords Optimization -- Quality Score Performance Checker | |
| * This script audits an account's quality score performance and creates a table that shows the | |
| * distribution of CTR, Cost, & Conversins against Quality Score. | |
| * Version 1.0 | |
| * Created By: Derek Martin | |
| * DerekMartinLA.com | |
| **************************************************************************************/ | |
| function main() { |
| #!/usr/bin/php | |
| <?php | |
| $files = shell_exec('git diff-index --name-only --cached --diff-filter=ACMR HEAD | grep "\.php$"'); | |
| $files = explode("\n", trim($files)); | |
| $exitCode = 0; | |
| foreach ($files as $file) { | |
| if (empty($file)) { |
| /** | |
| * Convert Excel file to Sheets | |
| * @param {Blob} excelFile The Excel file blob data; Required | |
| * @param {String} filename File name on uploading drive; Required | |
| * @param {Array} arrParents Array of folder ids to put converted file in; Optional, will default to Drive root folder | |
| * @return {Spreadsheet} Converted Google Spreadsheet instance | |
| **/ | |
| function convertExcel2Sheets(excelFile, filename, arrParents) { | |
| var parents = arrParents || []; // check if optional arrParents argument was provided, default to empty array if not |
Give developers more knowledge about how the classes behave in a non-relative sense: BEM + ITCSS = BEMIT
BEM:
| ; Directives, keywords | |
| #SingleInstance Force | |
| ;change path to source directory, i.e. C:\test\source\*.* | |
| SourceDir = C:\test\source\*.* | |
| Extensions := "jpg,png,tif,bmp,gif" | |
| ;change path to source directory, i.e. C:\test\destination | |
| DestDir = C:\test\destination |
| # | |
| # REQUIRES: | |
| # - server (the forge server instance) | |
| # - site_name (the name of the site folder) | |
| # - sudo_password (random password for sudo) | |
| # - db_password (random password for database user) | |
| # - event_id (the provisioning event name) | |
| # - callback (the callback URL) | |
| # |
| .board { | |
| width: 100%; | |
| height: 100%; | |
| /* background-color: #0079bf; */ | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .board, | |
| .board textarea { |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |