Skip to content

Instantly share code, notes, and snippets.

View samuelecarpene's full-sized avatar

Samuele Carpene samuelecarpene

  • Samuele Carpene
  • Italia
View GitHub Profile
@samuelecarpene
samuelecarpene / Zsh & theme
Created February 9, 2017 12:05 — forked from leemour/Zsh & theme
Zsh installation and Agnoster theme settings
# Railscast
http://railscasts.com/episodes/308-oh-my-zsh
# Install Zsh
sudo apt-get update && sudo apt-get install zsh
# Install Oh-my-zsh
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
# Make ZSH default shell
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
position: relative;
min-height: 1px;
padding-right: 10px;
padding-left: 10px;
}
SELECT DISTINCT
main_table.entity_id AS id,
at_path.`value` AS path,
at_name.`value` AS `name`,
meta_title.`value` AS `meta_title`,
meta_description.`value` AS `meta_description`,
main_table.`level`,
main_table.parent_id
FROM
catalog_category_entity main_table
@samuelecarpene
samuelecarpene / magentoroutes.md
Last active June 9, 2016 09:47
Magento routes

#Product

/catalog/product/view/id/1

#Category

/catalog/category/view/id/1

@samuelecarpene
samuelecarpene / xdebug.ini
Last active October 20, 2016 15:12
Xdebug Configuration
zend_extension="/usr/lib/php5/20100525/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.idekey=[insert here key]
xdebug.max_nesting_level = 500
//The du command is used in Linux to estimate and display the disk space used by files.
du -hs;
du -hs *;
//The df command reports the amount of available disk space being used by file systems.
df -h;
#--------------------------------
#add it to ~/.zshrc file
#--------------------------------
alias ll="ls -lah"
#http://superuser.com/questions/742171/zsh-z-shell-numpad-numlock-doesnt-work
# Fix numeric keypad
# 0 . Enter