Skip to content

Instantly share code, notes, and snippets.

Avatar
🐐
Thinking

Andrés González Aragón Quantium

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

Contributing

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
Quantium / GitCommitEmoji.md
Created Sep 19, 2018 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
View GitCommitEmoji.md
View index.html
<div id="output">
</div>
<p id="chimino">
Chimino animal maldito sal de tu ahujerito que vamos a trabajar
</p>
<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>
<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
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
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
Quantium / gist:e6a493dbe2d89c16830b
Created Jul 7, 2014
Find raspberry machines IPs on local network
View gist:e6a493dbe2d89c16830b
sudo nmap -sP 192.168.1.0/24 | 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:

tmux

start new with session name:

tmux new -s myname
@Quantium
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
#!/bin/sh
echo --------
allrepos='';
c=0;
for D in ~/repos/*;do
if [ -d "${D}" ];
then
cd "${D}";
pwd;
#Can't exist a repository with the name 'www'"