This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSIONS="buster|bullseye|bookworm" | |
BRANCHES="stable|devel|staging" | |
if [ "${UID}" -eq 0 ] ; then | |
ARCH=$(dpkg --print-architecture) | |
if [ "${ARCH}" == "amd64" ] ; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const copyright = () => { | |
return `© ${new Date().getFullYear()} ${HOLDER}` | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
import requests | |
from urllib import request | |
from bs4 import BeautifulSoup | |
def main(): | |
try: | |
url = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Nothing.js | |
* Author: Juanjo Salvador | |
* Version: 1.0.0 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.Scanner; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
public class Agenda { | |
public static void AfegirContacte(File agenda, String contacte, String telefon){ | |
try { | |
// abre un nuevo flujo de escritura en el archivo indicado |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>MySQLi example</title> | |
<meta charset="utf8"> | |
</head> | |
<body> | |
<?php | |
// Usaremos una base de datos (foobar) con una tabla (users) que contiene username y email. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: post-jsonld | |
#Datos del Evento | |
title: "" | |
description: "" | |
#Fecha | |
startDate: YYYY-MM-DDYHH:00 | |
endDate: YYYY-MM-DDYHH:00 | |
#Lugar | |
place: "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import base64, requests, os, re, sys | |
from bs4 import BeautifulSoup | |
def _crack(code): | |
zeros = '' | |
ones = '' | |
for n,letter in enumerate(code): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fill the empty vars and place it on /usr/local/bin/ | |
# Run it by: | |
# $ apksigner <apk file> | |
PACKAGE=$1 | |
KEYSTORE=<YOUR KEYSTORE FILE HERE> | |
ALIAS=<YOUR KEY ALIAS HERE> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
const iconv = require('iconv-lite'); | |
function parse(path) { | |
let dir = fs.readdirSync(path) | |
dir.map(function(item) { | |
let uri = iconv.encode(path + "/" + item, 'utf-8') |