Skip to content

Instantly share code, notes, and snippets.

@migcosta
migcosta / pre-commit
Last active May 15, 2019 12:33
GIT: create a version file for non versioning users (it will need a new commit)
#! /bin/bash
#file location .git/hooks/
filename="$(git rev-parse --show-toplevel)/version.txt";
DATE=`date +%Y%m%d-%H%M%S`
#DATE=`date +%T`
echo "$DATE" > "$filename";
@migcosta
migcosta / config.xml
Last active August 11, 2019 10:26
magento 1.9 config.xml base structure
<?xml version="1.0"?>
<!-- source: https://www.phpzag.com/create-custom-module-with-custom-database-table/ -->
<config>
<modules>
<[Namespace]_[Module]>
<version>0.1.0</version>
</[Namespace]_[Module]>
</modules>
<frontend>
<routers>
@migcosta
migcosta / calendar-apl.json
Last active March 20, 2022 23:14
APL Calendar Template - Alexa Presentation Language Calendar Display
{
"type": "APL",
"version": "1.3",
"theme": "light",
"import": [
{
"name": "alexa-layouts",
"version": "1.1.0"
}
],
@migcosta
migcosta / en_abstract_nouns_list.json
Last active January 21, 2022 00:33
Json concrete and abstract nouns lists
[
"ability",
"adoration",
"adventure",
"amazement",
"anger",
"anguish",
"anxiety",
"apprehension",
"artistry",
@migcosta
migcosta / en_glyphs_list.json
Last active January 25, 2022 16:05
list of multiple glyphs that can be misinterpreted by spacy
[
"؋",
"฿",
"₵",
"₡",
"¢",
"$",
"₫",
"֏",
"€",
@migcosta
migcosta / en_people_list.json
Last active January 21, 2022 23:17
List of words related with people
[
"actor",
"actress",
"adventurer",
"aficionado",
"aristocrat",
"artist",
"baby",
"banker",
"biker",