Skip to content

Instantly share code, notes, and snippets.

View supercid's full-sized avatar

Cid Lopes supercid

View GitHub Profile
{
"Ansi 6 Color" : {
"Green Component" : 0.72156862745098038,
"Blue Component" : 0.71764705882352942,
"Red Component" : 0.75686274509803919
},
"Tags" : [
],
"Ansi 12 Color" : {
@supercid
supercid / brew_packages.txt
Last active December 25, 2018 15:11
mbp15-all brew packages installed
ant
getantibody/tap/antibody
apache-spark
bat
bower
cscope
curl
diff-so-fancy
wagoodman/dive/dive
dnsmasq
@supercid
supercid / brew_cask.txt
Created December 25, 2018 14:57
brew cask installed
chromedriver
docker-toolbox
filezilla
firefox
java8
kap
sourcetree
upterm
virtualbox
viscosity
@supercid
supercid / explodeTags.php
Created June 19, 2018 08:12
Explode tags comma delimited
<?php
/**
* Overridden product meta data model.
* This model is used as the data source when generating the tagging elements
* on the product page, and when making server-to-server API calls to Nosto.
*/
class My_Nosto_Model_Meta_Product extends Nosto_Tagging_Model_Meta_Product
{
@supercid
supercid / enable_xdebug_cli.sh
Created June 6, 2018 11:35
Enable xdebug for command line applications
export XDEBUG_CONFIG="remote_enable=1 remote_mode=req remote_port=9002 remote_host=127.0.0.1 remote_connect_back=0"
@supercid
supercid / supress.txt
Created May 9, 2018 12:12
PHP Storm Inspections
/** @noinspection PhpUndefinedMethodInspection */
/** @noinspection PhpDeprecationInspection */
PhpAssignmentInConditionInspection
PhpDeprecationInspection
PhpDocMissingReturnTagInspection
PhpDocSignatureInspection
PhpDynamicAsStaticMethodCallInspection
PhpIllegalArrayKeyTypeInspection
@supercid
supercid / git-ignore-changes-already-committed-file
Created April 10, 2018 06:48
Git ignore changes to a particular file/path
# Recently i've been struggling to ignore my local changes to a .env file that was already committed in a git repo.
# To locally ignore your changes to that particular file/folder and keep tracking in the remote, use this:
git update-index --skip-worktree <path-name>
@supercid
supercid / shopware-one-liner.sh
Last active March 7, 2018 07:32
Shopware install one line
git clone https://github.com/shopware/shopware.git
cd shopware
chmod -R 755 var
chmod -R 755 web
chmod -R 755 files
chmod -R 755 media
chmod -R 755 engine/Shopware/Plugins/Community
cd build/
ant configure
ant build-unit

Keybase proof

I hereby claim:

  • I am supercid on github.
  • I am supercid (https://keybase.io/supercid) on keybase.
  • I have a public key ASDfn2eux4enGBYnftuNim9XsHvKVPtOOrMp0hDbpzcCjwo

To claim this, I am signing this object: