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
[ | |
{ | |
"name": "Yellow", | |
"munsell_hue": "Y", | |
"hex": "#FFFF00", | |
"children": [ | |
{ | |
"name": "Cadmium Yellow Light", | |
"company": "Liquitex", |
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
|\ |\ | |
| \ | \ | |
| \ | \ | |
| \ | / | |
\ \| /._ | |
_..\ \ /@@@@o...__ | |
@@@@@/ _ T@@@@@@@@ | |
@@@| `*` T@@@@@@ ,-,,-, ___ /-/ ____ _____ ,-,,-,,---, | |
@@/ d@@@@@ / // // _ // _ `,,=== // ___/ / // // _ / | |
@ `-____@@@@@@ / // // // // // // // // / / // // // / |
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
#@title Importar archivo python | |
# Obtener archivo python desde la URL | |
import gdown | |
fileID='1XON75rGGJIILlUBMJ-De2Bjy0YGaFQXc' | |
url = f'https://drive.google.com/uc?id={fileID}' | |
nombreModulo= 'solucionadorPLDosVariables' | |
nombreArchivo = f'{nombreModulo}.py' | |
%store nombreArchivo | |
output = f'/content/{nombreArchivo}' |
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
HOME = . | |
#oid_file = $ENV::HOME/.oid | |
oid_section = new_oids | |
[ new_oids ] | |
tsa_policy1 = 1.2.3.4.1 | |
tsa_policy2 = 1.2.3.4.5.6 | |
tsa_policy3 = 1.2.3.4.5.7 | |
#################################################################### | |
[ ca ] |
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 | |
while [ true ] | |
do | |
sudo ip link set wlan0 down | |
sudo ip link set wlan0 up | |
sleep 20 | |
done |
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
docker run -dit --name phpmyadmin \ | |
-e PMA_HOST=host.docker.internal \ | |
--add-host=host.docker.internal:host-gateway \ | |
-p 8080:80 \ | |
phpmyadmin | |
docker exec -it phpmyadmin /bin/bash |
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/python | |
print "\n*********************************************************************" | |
print "Cisco IOU License Generator - Kal 2011, python port of 2006 C version" | |
import os | |
import socket | |
import hashlib | |
import struct | |
# get the host id and host name to calculate the hostkey | |
hostid=os.popen("hostid").read().strip() | |
hostname = socket.gethostname() |
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
# Modules | |
mkdir /dev/binder | |
mount -t binder binder /dev/binder | |
ls -1 /dev/{ashmem,binder} | |
# Instalation | |
snap install --devmode --beta anbox | |
sudo snap set anbox debug.enable=true | |
# Start |
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 | |
# https://jekyllrb.com/docs/front-matter/ | |
Create() { | |
title="$@" | |
author='Fredy Rosero' | |
date=$(date +%F) | |
FILENAME="${date}-${title// /-}.md" | |
HEDAER="---\n" |
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
sudo lsof -i -P -n | |
# -i If no address is specified, this option selects the listing of all Internet and x.25 (HP-UX) network files. | |
# -P inhibits the conversion of port numbers to port names for network files. | |
# -n inhibits the conversion of network numbers to host names for network files. | |
sudo netstat -tulpn | grep LISTEN | |
# -t --tcp | |
# -u --udp | |
# -l Show only listening sockets. (These are omitted by default.) | |
# -p Show the PID and name of the program to which each socket belongs. |