Follow the steps -
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"?> | |
<resources> | |
<color name="red_50">#fde0dc</color> | |
<color name="red_100">#f9bdbb</color> | |
<color name="red_200">#f69988</color> | |
<color name="red_300">#f36c60</color> | |
<color name="red_400">#e84e40</color> | |
<color name="red_500">#e51c23</color> | |
<color name="red_600">#dd191d</color> | |
<color name="red_700">#d01716</color> |
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
# | |
# Starting | |
# | |
# Start a new feature branch | |
git checkout -b my_feature | |
# Make changes | |
# Add/Commit |
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
:: add this to the cmder/config/user-profile.cmd | |
::meme intro | |
:: this is to change starting directory to another drive | |
::@set USERPROFILE="F:\KettleOfHacks"; | |
::@F: | |
:: @cd F:\KettleOfHacks\Work | |
@cls | |
@echo off |
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
# [General/Initial Section] | |
# Update system | |
yum update | |
# Set your timezone | |
timedatectl set-timezone UTC | |
# Check date is set correct | |
date |
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 | |
// put in controller | |
$vendor_categories = $this->vendor_category_model->get_many_by('vendorid',$id); | |
// get the category the vendor belongs to | |
$vendorcat = array(); | |
foreach($vendor_categories as $vendor_category => $value){ | |
$vendorcat[$value->categoryid] = $value->categoryid; | |
} | |
//data array for view |
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
# --------------------------------------------------- | |
# Vimeo | |
# --------------------------------------------------- | |
104.156.85.217 vimeo.com | |
23.214.58.223 secure-c.vimeocdn.com | |
74.113.233.128 developer.vimeo.com | |
23.235.43.143 i.vimeocdn.com | |
23.235.43.143 f.vimeocdn.com | |
80.239.137.98 a.vimeocdn.com |
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 | |
/** | |
* SEMANTIC AND ACCESSIBLE FORMS HELPER FUNCTIONS | |
* | |
* Some more accesible and semantic form helpers. I utilize the default form helpers as | |
* much as possible to preserve the original syntax. | |
* | |
*/ | |
/* FORM OPEN */ |
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
#!/bin/bash -e | |
# IMPORTANT. My phpstom installation exists on /opt/phpstorm. | |
# IMPORTANT. Run with sudo! | |
# Early Access program: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program | |
echo -n "Please enter the PhpStorm download url (eg http://download.jetbrains.com/webide/PhpStorm-EAP-141.690.tar.gz): " | |
read url | |
# Download file from url | |
echo "Downloading PhpStorm to ~/Desktop" |
OlderNewer