Skip to content

Instantly share code, notes, and snippets.

View claudio27's full-sized avatar
:octocat:
Coding

Claudio Serrano claudio27

:octocat:
Coding
  • Claudio Serrano
  • Santiago, Chile
View GitHub Profile
@claudio27
claudio27 / java_linux
Created June 4, 2018 22:23 — forked from atomsfat/java_linux
Java linux update-alternatives
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_25/bin/java" 2
sudo update-alternatives --set java /usr/lib/jvm/jdk1.8.0_25/bin/java
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0_25/bin/javac" 2
sudo update-alternatives --set javac /usr/lib/jvm/jdk1.8.0_25/bin/javac
/usr/lib/mozilla/plugins
sudo ln -s /opt/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so
sudo ln -s /opt/java/jdk1.7.0_25/jre/lib/amd64/libnpjp2.so
@claudio27
claudio27 / introrx.md
Created March 27, 2017 17:43 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@claudio27
claudio27 / index.html
Created July 13, 2016 04:13 — forked from anonymous/index.html
abre pop-up al centro de la pantalla // source https://jsbin.com/jicugu
<html>
<head></head>
<meta name="description" content="abre pop-up al centro de la pantalla">
<body>
<h1>hola mundo</h1>
<script>
function mostrar(){
@claudio27
claudio27 / MailTestMain.java
Created February 15, 2016 21:31 — forked from gkhays/Java-Mail.md
How to use JavaMail to send email via an SMTP server. I was recently working with a server component that allowed for scheduling reports, which included email notification. I wanted to isolate the email notification portion. Check. :)
package org.gkh.mail;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import javax.mail.Authenticator;
import javax.mail.Message.RecipientType;
@claudio27
claudio27 / Comandos-Git.md
Last active June 21, 2017 14:31 — forked from jelcaf/Operaciones-Git
Git Tips

REPARAR : HEAD detached at ...

Pasos para llegar al problema Volver al pasado, commit anterior.

git checkout <sha_del_commit_anterior>

Volver a commit anterior, antes del viaje al pasado.

git checkout