Skip to content

Instantly share code, notes, and snippets.

View matiasmasca's full-sized avatar
🏠
Moving to Gitlab.com

Matías Mascazzini matiasmasca

🏠
Moving to Gitlab.com
View GitHub Profile
@matiasmasca
matiasmasca / .rubocop.yml
Created October 16, 2018 13:26
Rubocop Config - ajustada
# Reference:
# https://github.com/bbatsov/rubocop/blob/v0.33.0/config/default.yml
# https://github.com/bbatsov/rubocop/blob/v0.33.0/config/enabled.yml
# https://github.com/bbatsov/rubocop/blob/v0.33.0/config/enabled.yml
# Many of the variations are because rubocop prefers things to look like:
# foo = foo(a,
# b
# )
#
111mil.mumuki.io,
alcal-prog1.mumuki.io,
alcal-prog2.mumuki.io,
alcal-prog3.mumuki.io,
alcal.mumuki.io,
algo1-unsam.mumuki.io,
algo2-undav.mumuki.io,
apuntesmdp.mumuki.io,
ayedea.mumuki.io,
base.mumuki.io,
@matiasmasca
matiasmasca / 00.md
Created November 15, 2017 19:24 — forked from maxivak/00.md
Sending emails with ActionMailer and Sidekiq

Sending emails with ActionMailer and Sidekiq

Send email asynchroniously using Sidekiq.

ActionMailer

Create your mailer us usual:

@matiasmasca
matiasmasca / robots.txt
Created May 17, 2017 20:17
un ejemplo de Robots.txt para WordPress
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /xmlrpc.php
Allow: /wp-admin/admin-ajax.php
User-agent: *
User-agent: Mediapartners-Google*
Disallow: /temp/
@matiasmasca
matiasmasca / tmux-cheatsheet.markdown
Created September 5, 2016 12:10 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@matiasmasca
matiasmasca / EMACS guía de supervivencia rápida.md
Last active December 20, 2023 11:00
Comandos necesarios para sobrevivir en el primer uso de EMACS

¿Nuevo/a en EMACS? yo también y eso que estaba acá antes que nosotros nacieramos. Pongamos aca los comandos necesarios para poder usarlo a la primera desde una computadora normal (linux, windows). Anda soltando el mouse, esto esta pensado para manejarse solo con teclado.

Combinaciones de teclas.

[C- ] CTRL+ tecla, se escribe: C-tecla
[M- ] ALT+ tecla, se escribe: M-tecla para los EMACS commands.
[C-tecla tecla] CTRL+tecla tecla: control+tecla, soltar y presionar tecla que sigue.
[RET]: tecla ENTER (retorno de carro). Tambien con: C-m
[C-i]: tecla TAB.

C-[ : tecla ESC.

@matiasmasca
matiasmasca / gist:2c4d613676b864b74ba2
Created December 12, 2015 21:30 — forked from AliMD/gist:3344523
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | 😄 | 😆 | 😊 | 😃 | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | 😆 | 😁 | 😉 | :wink2: | 👅 | 😒 | 😅 | 😓

😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷

😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨

@matiasmasca
matiasmasca / datos.json
Created November 11, 2015 14:35 — forked from internoma/datos.json
Leer base de datos JSON desde archivo datos.json
{
"videos": [
{
"Titulo": "RESPONSIVE WEB DESIGN CON BOOTSTRAP",
"Tiempo": "01:07:20",
"Final": "si"
},
{
"Titulo": "Presentación",
"Tiempo": "00:03:20",
#Here's a selection of August's examples for some of the most common operations. Want to see all of the examples and follow any updates made to them? Check out August's net-http-cheat-sheet GitHub repo.
# http://github.com/augustl/net-http-cheat-sheet
# Standard HTTP Request
require "net/http"
require "uri"
uri = URI.parse("http://google.com/")
@matiasmasca
matiasmasca / MostrarImagenEsperaIframe.html
Last active November 3, 2015 23:34
Mostrar una imagen o un mensaje mientras carga un iFrame
<!-- JavaScript -->
<script type="text/javascript">
// <![CDATA[
function preloader(){
document.getElementById("preload").style.display = "none";
document.getElementById("iframe").style.display = "block";
}
//preloader
window.onload = preloader;
// ]]>