Skip to content

Instantly share code, notes, and snippets.

View santiihoyos's full-sized avatar
🖖
Do or not do! there is not try! - Yoda

@SantiiHoyos santiihoyos

🖖
Do or not do! there is not try! - Yoda
  • Madrid, Spain
View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor.SceneManagement;
using UnityEditor;
public class GeneraLadrillos : MonoBehaviour
{
##Como nunca me acuerdo lo dejo aqui
git checkout --orphan "nombre_rama"
git rm -rf ./
git Add Files...
git commit -m "nombre_primerComit"
@santiihoyos
santiihoyos / SHA1.java
Last active March 13, 2016 17:54
Get Hash of SHA1
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class SHA1 {
private MessageDigest md;
private byte[] buffer, digest;
private String hash = "";
public String getHash(String message) throws NoSuchAlgorithmException {
@santiihoyos
santiihoyos / class.java
Last active March 13, 2016 17:55
Creador de script con permisos de ejecución autoañadidos para Linux.
File scriptCreator(String MAC, String interfaz) throws InterruptedException, IOException {
File fichero = new File(".tempLixScrip.sh");
BufferedWriter out = null;
if (fichero.exists()) {
return fichero;
} else {