Skip to content

Instantly share code, notes, and snippets.

View ajsb85's full-sized avatar
🖼️
Engaging cognitive processors...

Alexander Salas Bastidas ajsb85

🖼️
Engaging cognitive processors...
View GitHub Profile
@ajsb85
ajsb85 / .editorconfig
Last active April 5, 2016 09:43
GLPi - Codings Standards
# EditorConfig is awesome: http://EditorConfig.org
# GLPi - codings standards: https://forge.glpi-project.org/projects/glpi/wiki/CodingStandards
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
@ajsb85
ajsb85 / main.js
Created March 19, 2016 19:49
Firefox Dev Edition Theme Support
icon: {
"16": selectedThemeID === "[email protected]" ?
"./icons/icon-16.dev.png" : "./icons/icon-16.png",

Yahtzee Kata Round I

General requirements

Build a playable console Yahtzee application. It's worth reading about Yahtzee before you start if you are not very familiar with the game.

The game should support 3 categories (Ones, Twos, and Threes). Player needs to roll the biggest number of 1s, 2s, and 3s for each category respectively.

Mas de 16 años de experiencia en desarrollo Web.
Alrededor de 70 cursos de tecnología.
Más de 2.600 horas académicas.
Miembro activo del IEEE y Computer.org
Certificado por IBM como E-Business Application Developer.
Trabaja remotamente como Desarrollador de Web Sites con Wordpress para empresas en USA.
Instructor de workshops y ponente en conferencias internacionales.
@developit
developit / instant-documentation-publish.sh
Last active September 26, 2024 22:57
Publish your docs instantly using gist & documentation-viewer
# SETUP: install documentation.js:
npm i -g documentation browser-pipe
# SETUP: install gist cli (github.com/defunkt/gist)
brew install gist
# generate docs, upload to gist.github.com, then pipe the Gist URL to Documentation Viewer in your browser:
documentation src | gist -p -f docs.json | awk '{print "https://documentation-viewer.firebaseapp.com/#"$1}' | browser-pipe
@matthewjackowski
matthewjackowski / angular-translate-basic-setup.js
Last active February 13, 2017 10:47
Basic App Setup for Angular Translate
var translations = {
"All": "All",
"Active": "Active",
"Completed": "Completed",
"Clear_Completed": "Clear_Completed"
};
var estranslations = {};
app.config(['$translateProvider', function ($translateProvider) {
@sdieunidou
sdieunidou / rabbitmq.txt
Created October 22, 2015 19:51
create admin user on rabbitmq
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
ulimit -n 4000000
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
sysctl -w net.ipv4.tcp_rmem='1024 4096 16384'
sysctl -w net.ipv4.tcp_wmem='1024 4096 16384'
sysctl -w net.core.rmem_max=16384
sysctl -w net.core.wmem_max=16384
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
@turicas
turicas / equador-weather.geojson
Last active October 1, 2015 19:17
rows and geonames
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.