I hereby claim:
- I am frankz on github.
- I am franciscojerez (https://keybase.io/franciscojerez) on keybase.
- I have a public key ASDOc3CyHLwGFv11qL72B4OKyWruzJgE7E2Yi6MVQ8lIIgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
download.sh
file and put it into a directory where you want the files to be saved.cd
into the directory and make sure that it has executable permissions (chmod +x download.sh
should do it)./download.sh
and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.#!/bin/bash | |
# This script adapted from an older post on StackOverflow by user fieldju | |
# https://stackoverflow.com/questions/36478741/installing-oracle-jdk-on-windows-subsystem-for-linux | |
# The script was for JDK 8. | |
# Due to major changes with JDK 11 (no JRE, no Derby, Unlimited Strength included), it was necessary to update the entire script. | |
set -ex | |
# UPDATE THESE URLs (this one updated as of 2019-03-06) | |
export JDK_URL=http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.tar.gz |
#!/bin/bash | |
# Based on: http://www.systutorials.com/5450/improving-sshscp-performance-by-choosing-ciphers/#comment-28725 | |
# | |
# You should set up PublicKey authentication so that you don't have to type your | |
# password for every cipher tested. | |
set -o pipefail | |
ciphers="$@" |
#!/bin/bash | |
# scp-speed-test.sh | |
# Author: Alec Jacobson alecjacobsonATgmailDOTcom | |
# http://www.alecjacobson.com/weblog/?p=635 | |
# | |
# Test ssh connection speed by uploading and then downloading a 10000kB test | |
# file (optionally user-specified size) | |
# | |
# Usage: | |
# ./scp-speed-test.sh user@hostname [test file size in kBs] |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/bash | |
command=$1 | |
args=${@:2} | |
winrun_pid=$$ | |
pidfile="/tmp/winrun-pid-$(date +%s)" | |
if [[ $args != '' ]]; then | |
argumentlist="-ArgumentList \"$args\"" | |
fi |
Qué es y cómo usar Linuxkit y Moby para crear imagenes base de docker o cualquier otro tipo de container...
NOTA: es necesario tener qemu instalado
https://medium.com/aishik/getting-started-with-linuxkit-and-moby-project-ff7121c4e321 https://blog.alexellis.io/boot-linuxkit-in-10-mins/
How to install minishift on ubuntu 19.04
Primero que nada instale KVM/QEMU...
Luego segui estre paso a paso para usar minishift sobre KVM
https://www.novatec-gmbh.de/en/blog/getting-started-minishift-openshift-origin-one-vm/
NOTA: en un momento un ejempo me pedia ejecutar algo que me pedia instarlar "libosinfo-bin" > https://libosinfo.org/
Lo primero que hay que entender es que para utilizar KVM tambien es necesario utilizar otras herramientas, las mismas son QEMU y Libvirt.
KVM (Kernel Virtual Machine), es un Hypervisor para Linux, gracias a ciertas funciones del kernel de Linux (y a las tecnologias de virtualizacion Intel VT-x y AMD svm) es posible virtualizar cualquier distro de Linux dentro de un Servidor Linux consumiendo muy pocos recursos.
Junto con KVMse suele instalar QEMU (Quick Emulator), que es un emulador y tambien virtualizador, que puede usarse en conjunto con KVM para administrar y crear VMs (Virtual Machines, KVM tambien las define como "Dominions"),se suele utilizar QEMU con KVM en principio porque suele ser mas sencillo de aprender a usar gracias a la interfaz grafica de QEMU, por otra parte, QEMU solo puede funcionar, pero siendo mucho menos eficiente al momento de consumir recursos (todo es