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 / gist:11330311
Created April 26, 2014 20:33
Embeber Google Group en Pagina de WordPress
En WP 3.9
1. Crea un archivo .HTML, llamado lista_de_correos.html o como tu quieras, donde pones el contenido que te genera Google Groups para embeber un grupo en un sitio [consultar: https://support.google.com/groups/answer/1191206], en el caso de ComunidadTIC es (remplaza "comunidadit" por tu grupo).
El contenido del archivo es:
<iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0"
width="900"
@matiasmasca
matiasmasca / gist:628fa724d700e17455e7
Created October 24, 2015 22:46
RVM Project Workflow - Ruby Project
# RVM Project Workflow
- Crear GemSet en RVM
$ rvm gemset create miGemsetApp
$ rvm gemset use miGemsetApp
$ rvm gemset use ruby-2.2.0@miGemsetApp
#Antes.
$ rvm --rvmrc ruby-2.2.0@miGemsetApp # Esto crea el archivo .rvmrc que necesita permisos de confianza para ejecutar lo que tenga adentro.
#Nuevo Workflow.
@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;
// ]]>
#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 / 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",
@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: | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷

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

#############################################
# Generar clave SSH
ssh-keygen -t rsa -b 4096 -C "matiasmasca@gmail.com"
Más info. en https://help.github.com/articles/generating-ssh-keys/
#############################################
# Push de la rama actual
git push origin $rama_actual
#############################################
@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 / 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:

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,