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 c { | |
git add --all | |
git commit -m $1 | |
} | |
function p { | |
git add --all | |
git commit -m $1 |
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
// Adding current user to www-data | |
sudo adduser $USER www-data | |
//change ownership to user:www-data and | |
sudo chown $USER:www-data -R /var/www/html | |
sudo chmod u=rwX,g=srX,o=rX -R /var/www/html | |
// change file permissions of existing files and folders to 755/644 | |
sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \; |
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
To LEARN CSS there are: | |
MarkSheet - http://marksheet.io/ - HTML/CSS/Sass | |
CSS Fundementals - https://www.jqueryuk.com/2015/videos/mdo-ular-css - Conference Talk from Bootstrap creator | |
CSS Layout Basics - http://www.dontfeartheinternet.com/ - CSS Tutorial | |
CSS Sushi - https://flukeout.github.io/ - CSS Selector game | |
Flexbox Game - http://flexboxgame.com/ - Interactive CSS Flexbox Tutorial | |
Flexbox Froggies - https://flexboxfroggy.com/ - CSS Flexbox Game | |
Flexbox Tower Defence - http://www.flexboxdefense.com/ - CSS Flexbox Game | |
CSS Grid Garden - https://cssgridgarden.com/ - CSS Grids Game | |
Grid By Example - https://gridbyexample.com/video - CSS Grids Video Tutorials |
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 | |
// paste rss url here and run the script | |
$rssUrl = ''; | |
$xml = file_get_contents($rssUrl); | |
$data = simplexml_load_string($xml); | |
$html = <<<HTML |
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 | |
class BlogController extends Controller | |
{ | |
/** | |
* Posts | |
* | |
* @return void | |
*/ | |
public function showPosts() |
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 | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.1.1 (LTS) on 2015-06-11. | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<LanguageInjectionConfiguration> | |
<injection language="JavaScript" injector-id="smarty"> | |
<display-name>Intelliants Add JS</display-name> | |
<place><![CDATA[smartyTag("ia_add_js")]]></place> | |
</injection> | |
</LanguageInjectionConfiguration> | |