Skip to content

Instantly share code, notes, and snippets.

View sayfulloev's full-sized avatar

Sharif sayfulloev

View GitHub Profile
This file has been truncated, but you can view the full file.
*M-UNKNOWN MEXICAN TRUCKING COMPANY
8CON CONTSHIP CONTAINER LINE
99M UNKNOWN MEXICAN OVERLAND CARRIER
AAAB AAA MOTORS
AAAC AAACTION TRANSPORTATION INC
AAAD A A A DELIVERY INC
AAAG ATC LOGISTICS INC
AAAO AAMODT INC
AAAU ASIA CONTAINER LEASING CO LTD
AAAW AAA WALKER TRANSPORTATION SERVICES
if [ -f $(brew --prefix)/etc/bash_completion ]; then
source $(brew --prefix)/etc/bash_completion.d/git-completion.bash
source $(brew --prefix)/etc/bash_completion.d/git-prompt.sh
fi
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ '
@sayfulloev
sayfulloev / unCamelCase.js
Last active December 26, 2017 15:25 — forked from mattwiebe/unCamelCase.js
unCamelCase.js
/**
* Turns someCrazyName into Some Crazy Name
* Decent job of acroynyms:
* ABCAcryonym => ABC Acryoynm
* xmlHTTPRequest => Xml HTTP Request
* It also handles numeric values:
* seller1ID => Seller 1 ID
*/
String.prototype.unCamelCase = function(){
return this
@sayfulloev
sayfulloev / emoji.json
Created December 8, 2017 23:46
emojione emoji.json
This file has been truncated, but you can view the full file.
{"1f600":{"name":"grinning face","unicode_version":6.1,"category":"people","order":1,"display":1,"shortname":":grinning:","shortname_alternates":[],"ascii":[],"diversity":null,"diversities":[],"gender":null,"genders":[],"code_points":{"base":"1f600","fully_qualified":"1f600","non_fully_qualified":"1f600","output":"1f600","default_matches":["1f600"],"greedy_matches":["1f600"],"decimal":""},"keywords":["face","grin"]},"1f603":{"name":"smiling face with open mouth","unicode_version":6,"category":"people","order":2,"display":1,"shortname":":smiley:","shortname_alternates":[],"ascii":[":D",":-D","=D"],"diversity":null,"diversities":[],"gender":null,"genders":[],"code_points":{"base":"1f603","fully_qualified":"1f603","non_fully_qualified":"1f603","output":"1f603","default_matches":["1f603"],"greedy_matches":["1f603"],"decimal":""},"keywords":["face","mouth","open","smile"]},"1f604":{"name":"smiling face with open mouth & smiling eyes","unicode_version":6,"category":"people","order":3,"display":1,"shortname":":smile
URL="http://stackoverflow.com/"
# store the whole response with the status at the and
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X POST $URL)
# extract the body
HTTP_BODY=$(echo $HTTP_RESPONSE | sed -e 's/HTTPSTATUS\:.*//g')
# extract the status
HTTP_STATUS=$(echo $HTTP_RESPONSE | tr -d '\n' | sed -e 's/.*HTTPSTATUS://')
cpa|cpc|cpm|cpp|cpv|ppc|cse
@sayfulloev
sayfulloev / SassMeister-input.sass
Created October 1, 2015 14:33
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
.img-ornament
-webkit-transition: all 0.5s ease
-moz-transition: all 0.5s ease
-ms-transition: all 0.5s ease
-o-transition: all 0.5s ease
@sayfulloev
sayfulloev / gist:b235482f958f0bb39016
Created September 29, 2015 21:43 — forked from davidalexander/gist:1086455
Magento Snippets

Magento Snippets

Download extension manually using pear/mage

Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/

./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent

Clear cache/reindex

@sayfulloev
sayfulloev / config.json
Last active September 20, 2015 19:31 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",