Skip to content

Instantly share code, notes, and snippets.

View yamishi13's full-sized avatar

Roberto Carlos Martinez Arriaga yamishi13

View GitHub Profile
According to all known laws of aviation, there is no way a bee should be able to fly.\n\n\n\nIts wings are too small to get its fat little body off the ground.\n\n\n\nThe bee, of course, flies anyway because bees don't care what humans think is impossible.\n\n\n\nYellow, black. Yellow, black. Yellow, black. Yellow, black.\n\n\n\nOoh, black and yellow!\n\n\n\nLet's shake it up a little.\n\n\n\nBarry! Breakfast is ready!\n\n\n\nComing!\n\n\n\nHang on a second.\n\n\n\nHello?\n\n\n\nBarry?\n\n\n\nAdam?\n\n\n\nCan you believe this is happening?\n\n\n\nI can't.\n\n\n\nI'll pick you up.\n\n\n\nLooking sharp.\n\n\n\nUse the stairs, Your father paid good money for those.\n\n\n\nSorry. I'm excited.\n\n\n\nHere's the graduate.\n\n\n\nWe're very proud of you, son.\n\n\n\nA perfect report card, all B's.\n\n\n\nVery proud.\n\n\n\nMa! I got a thing going here.\n\n\n\nYou got lint on your fuzz.\n\n\n\nOw! That's me!\n\n\n\nWave to us! We'll be in row 118,000.\n\n\n\nBye!\n\n\n\nBarry, I told you, stop flying in the house!\n\

Keybase proof

I hereby claim:

  • I am yamishi13 on github.
  • I am yamishi (https://keybase.io/yamishi) on keybase.
  • I have a public key ASCR20Aj_O8KfEyELxkqBU-L1kAWyjRnkDsfwstRwKfBvAo

To claim this, I am signing this object:

@yamishi13
yamishi13 / id_ed25519_hanayami.pub
Last active June 10, 2017 19:39
Lolibrary pub key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILlo4YWr/+Q05gt4rFXI5QuxzEkVQ/GLbKZfLj5of0xf hanayami13@gmail.com
@yamishi13
yamishi13 / notification.swift
Created August 5, 2016 01:36 — forked from ericdke/notification.swift
Deliver an OSX notification with Swift
func showNotification() -> Void {
var notification = NSUserNotification()
notification.title = "Test from Swift"
notification.informativeText = "The body of this Swift notification"
notification.soundName = NSUserNotificationDefaultSoundName
NSUserNotificationCenter.defaultUserNotificationCenter().deliverNotification(notification)
}
//showNotification()
@yamishi13
yamishi13 / squid.conf
Created March 6, 2015 04:11
everyaccessproxy
#localnet access list
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
#dominios a bloquear
acl toblock dstdomain .yahoo.com
@yamishi13
yamishi13 / vsftpd.sh
Created February 28, 2015 13:56
Vsftpd Installer
#!/bin/bash
#actualiza repos e instala vsftpd
sudo apt-get update
sudo apt-get install vsftpd -y
#remplaza opcioes para activar/desactivar en el archivo de configuracion
sudo sed -i -e 's/anonymous_enable=YES/anonymous_enable=NO/g' /etc/vsftpd.conf
sudo sed -i -e 's/#local_enable=YES/local_enable=YES/g' /etc/vsftpd.conf
sudo sed -i -e 's/#write_enable=YES/write_enable=YES/g' /etc/vsftpd.conf
@yamishi13
yamishi13 / mdbr_instaler.sh
Created December 1, 2014 16:37
MongoDB and Rails installer
#/bin/bash
#install ruby 2.1.2
apt-get update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz
tar -xvzf ruby-2.1.2.tar.gz
cd ruby-2.1.2/
./configure --prefix=/usr/local
make
@yamishi13
yamishi13 / primos.c
Created November 25, 2014 19:00
paralell primos
#include <stdio.h>
#include <time.h>
const int NUMPRIMOS = 1000000;
clock_t start,end;
int CalculaPrimosFuerzaBruta()
{
int candidato;
bool esprimo;
@yamishi13
yamishi13 / mongodb_installer.sh
Last active August 29, 2015 14:09
MongoDB Ubuntu installer
#!/usr/bin/env bash
# Verify it is not being run as root
if [ $EUID -eq 0 ] ; then
echo "Don't run this script as root if you don't want to have nightmares at night" >> /dev/stderr
exit 1
fi
#add the key for the repo
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10