jq is useful to slice, filter, map and transform structured json data.
brew install jq
| license: apache-2.0 |
composer require guzzlehttp/guzzleDomains tab and click on domains.env setup
| echo "Creating an SSH key for you..." | |
| ssh-keygen -t rsa | |
| echo "Please add this public key to Github \n" | |
| echo "https://github.com/account/ssh \n" | |
| read -p "Press [Enter] key after this..." | |
| echo "Installing xcode-stuff" | |
| xcode-select --install |
| /node_modules | |
| /public/storage | |
| /storage/*.key | |
| /vendor | |
| Homestead.yaml | |
| Homestead.json | |
| .env | |
| # ====== OS X =========================================== | |
| .DS_Store |
| @function strip-units($number) {// From : http://stackoverflow.com/a/12335841/1339426 | |
| @return $number / ($number * 0 + 1); | |
| } | |
| /** | |
| * Use em or rem font-size in Bootstrap 3 | |
| * Ported from Less version here: https://gist.github.com/jasny/9731895 | |
| */ | |
| $font-size-root: 18px; | |
| $font-unit: 1rem; // Pick em or rem here |
| {{-- Define all our servers --}} | |
| @servers(['staging' => '', 'production' => '']) | |
| @setup | |
| {{-- The timezone your servers run in --}} | |
| $timezone = 'Europe/Amsterdam'; | |
| {{-- The base path where your deployments are sitting --}} | |
| $path = '/var/www/site.com/htdocs'; |
| 'use strict'; | |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| jshint: { | |
| options: { | |
| jshintrc: '.jshintrc' | |
| }, | |
| all: [ | |
| 'Gruntfile.js', |
| <figure> | |
| <?php | |
| $image = get_field('your_image_field_name'); | |
| $atts = array( | |
| 'imageid' => $image, | |
| 'size1' => '0', | |
| 'size2' =>'600', | |
| 'size3' =>'1000' | |
| ); | |
| echo tevkori_responsive_shortcode($atts) ; ?> |
| <?php | |
| function bbg_csv_export() { | |
| if ( ! is_super_admin() ) { | |
| return; | |
| } | |
| if ( ! isset( $_GET['bbg_export'] ) ) { | |
| return; | |
| } |