Skip to content

Instantly share code, notes, and snippets.

View pisandelli's full-sized avatar

Pedro Pisandelli pisandelli

  • Fortaleza, Ceará, Brasil
  • 04:26 (UTC -03:00)
View GitHub Profile
@pisandelli
pisandelli / README.md
Created March 4, 2022 21:37 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

//Unregister Default Wordpress Widgets
function unregister_default_widgets() {
unregister_widget('WP_Widget_Pages');
unregister_widget('WP_Widget_Calendar');
unregister_widget('WP_Widget_Archives');
unregister_widget('WP_Widget_Links');
unregister_widget('WP_Widget_Meta');
unregister_widget('WP_Widget_Search');
unregister_widget('WP_Widget_Text');
@pisandelli
pisandelli / Makefile
Last active August 4, 2016 00:36
Atom My Packages installer
install-all-packages:
cat packages.list | xargs apm install
packages.list: ../packages/*/
ls ../packages/ > packages.list
@pisandelli
pisandelli / Description
Last active August 29, 2015 14:02
Add Information Links to Header Menu for OpenCart
This is a simple VQmod for OpenCart Default template.
It adds links for information pages with sort order <= -100 (e.g. -100,-101,...,-1000,...)
Tested on OpenCart 1.5.6.4
@pisandelli
pisandelli / custom-columns.less
Created June 13, 2014 11:39
Generate columns in a grid (12col) using LESS
/*Colunas Customizadas*/
@list: one, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve;
.wide.column {
.generate-columns(@columns);
padding:0 .3125rem;
&.floated {
&.left {
padding-left: 0;
@pisandelli
pisandelli / grid-1200-70-15.svg
Created June 13, 2014 11:31
A Grid for inkscape (1200px wide, column:70px, gutter:15px)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.