Skip to content

Instantly share code, notes, and snippets.

Working from home

Gabriel Alejandro López López glpzzz

Working from home
View GitHub Profile
View dumper.php
namespace common\models;
* Creates DB dump.
* @version 0.1
* @author fadeevms. Fork of Rodrigo Zadra Armond <>
glpzzz / resume.json
Last active Mar 29, 2022
View resume.json
"meta": {
"theme": "stackoverflow"
"$schema": "",
"basics": {
"name": "Gabriel Alejandro López López",
"label": "Software Engineer",
"image": "",
"email": "",
glpzzz / script.js
Last active Oct 10, 2020
Toggle amount of rows in text area.
View script.js
//short version, the one in the answer
$('thetextarea').attr('rows', $('thetextarea').attr('rows')==1?5:1);
//short version, just using selectors once
var $textArea = $('thetextarea'); //declare a variable to avoid using the same jQuery selector twice.
$textArea.attr('rows', $textArea.attr('rows')==1?5:1);