This file contains 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 | |
# Installs libfreetype6 2.8.0 into affected electron app. | |
# For more details ee: | |
# https://github.com/atom/atom/issues/15737 | |
# https://github.com/Microsoft/vscode/issues/35675 | |
CRT=$(dpkg-query --showformat='${Version}' --show libfreetype6) | |
CRT=$(echo $CRT | sed -e 's/-.*$//g') |
This file contains 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 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
#include <iostream> | |
#include <iomanip> // Manipulate IO | |
using namespace std; | |
void print_hex(unsigned int* number) | |
{ | |
cout << "0x" << setfill('0') << setw(8) << hex << *number << endl; | |
} |
This file contains 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
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import requests as r | |
def get_remaining(current, max=1024): | |
return max - current | |
def get_request(captcha, name='a'): | |
url = "http://ctf.slothparadise.com/walled_garden.php?name={}&captcha={}".format(name, captcha) |
This file contains 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
/** | |
* | |
* @author javier | |
* Esta clase rápirda me permite ver cómo almacena java los enteros como número de 32 bits | |
* y los negativos como el complemento de 2 | |
*/ | |
public class ComplementosDos { | |
private static final int numeroPorDefecto = 5; | |
public static void main(String[] args) { | |
boolean sacarInfoValoresLimite = false; |
This file contains 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 | |
ROOT_FOLDER="/mnt/Cosicas/Descargas/_TORRENTS/_TORRENT_FILES" | |
CLEAN_FOLDER="$ROOT_FOLDER/finished" | |
LOG="$ROOT_FOLDER/log.log" | |
### https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux | |
GREEN='\033[0;32m' | |
RED='\033[0;31m' | |
CYAN='\033[0;36m' | |
YELLOW='\033[0;33m' |
This file contains 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
FROM python:alpine | |
ADD requirements.txt . | |
RUN pip install -r requirements.txt | |
ADD main.py . | |
ENV TZ Europe/Madrid | |
CMD ["python", "main.py"] |
This file contains 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
#!/usr/bin/python3 | |
# -*- encoding: utf-8 -*- | |
import logging as log | |
from functools import reduce | |
log.basicConfig(level=log.INFO) | |
This file contains 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 random = () => { | |
return Promise.resolve(Math.random()); | |
} | |
console.log('Esto es 💩 🙅🙅🙅'); | |
const rumRandomAsyncNums = () => { | |
let uno, dos, tres; |
This file contains 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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="pattern"> | |
<test qual="any" name="family"><string>monospace</string></test> | |
<edit name="family" mode="append" binding="weak"><string>Noto Color Emoji</string></edit> | |
</match> | |
<match target="pattern"> | |
<test qual="any" name="family"><string>serif</string></test> |