- Initial Server Setup with Ubuntu 12.04
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.04
- A Basic MySQL Tutorial
- How To Install phpMyAdmin on a LEMP server
- How To Install Git on Ubuntu 12.04
- Generating SSH Keys and connect with DigitalOcean
- Install Composer on DigitalOcean
- [Install php5-cli if you get stuck with installing Compos
This file contains 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
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |
This file contains 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
## FZF settings & functions for fish; collected with attribution and modified. | |
# These rely on `git lg`; from git's config: | |
# lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
# They also rely on the following being installed: | |
# - bat | |
# - choose | |
# - delta | |
# - exa | |
# - fd |
This file contains 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
/* | |
Create package.json and install all packages: | |
1. npm init | |
2. npm install -g gulp | |
3. npm install gulp gulp-babel babel-preset-es2015 gulp-concat gulp-csso gulp-rename gulp-sass gulp-uglify gulp-watch browser-sync --save-dev | |
Expected file structure: | |
./css/src/*.scss |
This file contains 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 | |
/** | |
* Filter the terms query SQL clauses. | |
* | |
* @see 'terms_clauses' filter in get_terms() wp-includes/taxonomy.php | |
* | |
* @since 0.1.0 | |
* | |
* @todo add filter for $allowed_orderby_keys |
This file contains 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
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |
This file contains 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
( function( $, plugin ) { | |
"use strict"; | |
// Working with promises to bubble event later than core. | |
$.when( someObjectWithEvents ).done( function() { | |
console.log( 'AJAX request done.' ); | |
} ) | |
.then( function() { | |
setTimeout( function() { | |
console.log( 'AJAX requests resolved.' ); |
This file contains 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
-- Replace %s with table prefix | |
DELETE tr | |
FROM %s_term_relationships tr | |
INNER JOIN %s_term_taxonomy tt | |
ON (tr.term_taxonomy_id = tt.term_taxonomy_id) | |
WHERE tt.taxonomy != 'link_category' | |
AND tr.object_id NOT IN (SELECT ID FROM %s_posts); |
This file contains 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
div.bevel | |
a.center l | |
div.bezel | |
ul.dial | |
li#a a | |
li#b c | |
li#c e | |
li#d j | |
li#e m |
- Hello Laravel: https://tutsplus.com/lesson/hello-laravel/
- Config Options and the Database: https://tutsplus.com/lesson/configuration-options-and-the-database/
- Your First Route and View: https://tutsplus.com/lesson/your-first-route-and-view/
- Allow Overrides: https://tutsplus.com/lesson/allow-overrides/
- External Learning Resources: https://tutsplus.com/lesson/external-learning-resources/
- Classes and Houses: https://tutsplus.com/lesson/classes-and-houses/
- Grouping Related Properties and Methods: https://tutsplus.com/lesson/grouping-related-properties-and-methods/
NewerOlder