Skip to content

Instantly share code, notes, and snippets.

View gaby-mg-snippets's full-sized avatar

gaby-mg-snippets

View GitHub Profile
@gaby-mg-snippets
gaby-mg-snippets / gist:6941259
Created October 11, 2013 20:11
gabymg.com/projects-custom-post-type
add_action( 'init', 'create_gaea_projects_post_type');
function create_gaea_projects_post_type()
{
register_post_type( 'gaea_project',
array(
'labels' => array(
'name' => 'Projects',
'singular_name' => 'Project'
),
@gaby-mg-snippets
gaby-mg-snippets / autotest.rb
Created January 19, 2014 15:16
Ruby: watchr wrapper script for TDD with PHPUnit
watch("models/(.*).php") do |match|
run_test %{tests/test_#{match[1]}.php}
end
watch("tests/.*.php") do |match|
run_test match[0]
end
def run_test(file)
unless File.exist?(file)
@gaby-mg-snippets
gaby-mg-snippets / news_daily_resume.md
Last active May 8, 2019 08:43
Newspapers Daily Resume

España

El País (1976)

El Mundo (1989)

La Vanguardia (1881)

La Voz de Galicia (1882)

@gaby-mg-snippets
gaby-mg-snippets / Library: Ethnology: Language
Last active May 16, 2019 14:34
Library: Language Study
# Nombre lenguaje
## Etimología del exónimo
🇦🇲
### Imágenes
## Etimología del endónimo
@gaby-mg-snippets
gaby-mg-snippets / PROJECT.md
Created October 14, 2021 23:35
Project Template

{{ PROJECT_TITLE }}

Project Definition

Why

Rules

Outcome Vision