Skip to content

Instantly share code, notes, and snippets.


Andrés González Aragón Quantium

View GitHub Profile
Quantium / gist:edb8545991b091ae5548ea5cf476612f
Created Jun 14, 2019
Shell - Geting the ip from any domain
View gist:edb8545991b091ae5548ea5cf476612f
echo $(ping -oq | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}')


When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
Quantium /
Created Sep 19, 2018 — forked from parmentf/
Git Commit message Emoji
View index.html
<div id="output">
<p id="chimino">
Chimino animal maldito sal de tu ahujerito que vamos a trabajar
<p id="fundamentos">
Los fundamentos de la psicología de la comunicación son 4. El psicoanálisis, el conductismo, El Gestalt, el cognocitivismo.
<p id="representantes">
El máximo representante del conductimos es el estadounidense Skiner. El máximo representante del psicoanálisis el Sigmund Freud. Fred Pears del Gestalt y Jean Piaget.
Quantium / AWS CodeDeployPolicy
Last active May 17, 2017
CodeDeploy necesary IAM Roles
View AWS CodeDeployPolicy
CodeDeploy Trust Role
This Role is attached to CD Deployment Group or to the CD App when is created.
In the Inline Policies of the Role must be added a Policy called CodeDeployPolicy as follows:
"Statement": [
"Resource": [
Quantium / fuzz.js
Created Apr 22, 2015
Fuzzy logic timelapse simulation
View fuzz.js
var fuzzylogic = require('fuzzylogic'),
colors = require('colors');
function simulate(ttl){
var timelapse = ttl*1000;
var half = timelapse /2;
var qrt = half/2;
//Cuando se guardó el caché
Quantium / gist:e6a493dbe2d89c16830b
Created Jul 7, 2014
Find raspberry machines IPs on local network
View gist:e6a493dbe2d89c16830b
sudo nmap -sP | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
View github_account_regex
var githubAccount = /^(?:https?:\/\/)?(?:www\.)?(?:github\.com\/(\w+))\/?$/
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
Quantium / gitstats_automata
Last active Dec 21, 2015
This is a little shell script for update, join and run gitstats on several repositories in order to see only one gitstats project
View gitstats_automata
echo --------
for D in ~/repos/*;do
if [ -d "${D}" ];
cd "${D}";
#Can't exist a repository with the name 'www'"