Skip to content

Instantly share code, notes, and snippets.

View nicoandrade's full-sized avatar
Can't stop

Nico Andrade nicoandrade

Can't stop
View GitHub Profile
@nicoandrade
nicoandrade / nombres_femeninos.txt
Last active June 10, 2020 15:49
200+ nombres femeninos mas populares en español Argentina
/*
Por orden de popularidad
Fuente:
https://datos.gob.ar/dataset/otros-nombres-personas-fisicas
https://www.buenosaires.gob.ar/areas/registrocivil/nombres/busqueda/buscador_nombres.php
*/
Isabella,
Martina,
@nicoandrade
nicoandrade / nombres_masculinos.txt
Last active June 10, 2020 15:49
200+ nombres masculinos mas populares en español Argentina
/*
Por orden de popularidad
Fuente:
https://datos.gob.ar/dataset/otros-nombres-personas-fisicas
https://www.buenosaires.gob.ar/areas/registrocivil/nombres/busqueda/buscador_nombres.php
*/
Benjamin,
Bautista,
@nicoandrade
nicoandrade / responsive.css
Created April 17, 2020 15:25
Best Responsive CSS Breakpoints
/* Source: https://www.freecodecamp.org/news/the-100-correct-way-to-do-css-breakpoints-88d6a5ba1862/ */
/* phone-only */
@media (max-width: 599px) {
/* ... */
}
/* tablet-portrait-only */
@media (min-width: 599px) and (max-width: 899px) {
/* ... */
@nicoandrade
nicoandrade / fragments.js
Created October 23, 2019 05:44
Gatsby gatsby-transformer-sharp fragments
/**
* This is a list of the parameters for the gatsby-transformer-sharp fragments
* If you are trying to use, for example, '...GatsbyImageSharpFluid' and you are getting this error:
* Unknown fragment "GatsbyImageSharpFluid"
* Just use the parameters directly
*
* The simplest set of fields for fixed sharp images
* @type {Fragment}
* @example
* childImageSharp {
@nicoandrade
nicoandrade / quemalabs_scrap_item.php
Last active February 22, 2018 14:25
Create a WooCommerce product from a Nike URL
//http://simplehtmldom.sourceforge.net
require get_template_directory() . '/simple_html_dom.php';
$urls = "https://store.nike.com/us/en_us/pd/sb-icon-mens-hoodie-agklpO/pid-11983778/pgid-12133502
https://store.nike.com/us/en_us/pd/training-utility-mens-long-sleeve-top-4yDbDJ/pid-11857251/pgid-11970545
https://store.nike.com/us/en_us/pd/jordan-sportswear-flight-tech-fleece-mens-full-zip-hoodie-xOpY4K/pid-11528527/pgid-12286332
https://store.nike.com/us/en_us/pd/jordan-sportswear-city-of-flight-mens-jacket-3MOVYl/pid-11924998/pgid-12130627
https://store.nike.com/us/en_us/pd/therma-mens-training-jacket-7DRA7m/pid-11764247/pgid-11970496
https://store.nike.com/us/en_us/pd/jordan-sportswear-wings-1988-mens-hoodie-0jmELv/pid-12127199/pgid-12196381
@nicoandrade
nicoandrade / gist:2f2be5295d8ecd22fbca
Last active August 29, 2015 14:11
Upload Ghost Theme (DigitalOcean)
scp /Applications/MAMP/htdocs/Ghost/test/content/themes/teller.zip root@104.236.119.164:/var/www/ghost/content/themes/.
//Despues
ssh root@104.236.119.164
//Ir a la carpeta de Themes
cd /var/www/ghost/content/themes
//Unzip el archivo
unzip NameOfTheme.zip
@nicoandrade
nicoandrade / .gitignore
Created October 10, 2014 16:27
Git Ignore
# Folders #
###################
framework/temp/*.*
framework/cache/*.*
# Compiled source #
###################
*.com
*.class
@nicoandrade
nicoandrade / gist:10549986
Last active August 29, 2015 13:59
HTML5 Basic
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Test</title>
<meta name="description" content="">
<meta name="author" content="">
@nicoandrade
nicoandrade / gist:9814443
Created March 27, 2014 18:16
MAC OS X – SHOW/HIDE HIDDEN FILES
###Show Hidden Files###
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
### Hide Hidden Files ###
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder