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
# start docker | |
sudo start docker | |
# stop docker | |
sudo stop docker | |
# list images | |
sudo docker images | |
# list containers |
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
# create certificate | |
openssl rsa -in old.key -des3 -out new.key | |
openssl pkcs12 -export -chain -in old.crt -inkey new.key -CAfile ca.crt -out new.p12 | |
# self sign certificate | |
openssl req \ | |
-x509 -nodes -days 365 \ | |
-newkey rsa:1024 -keyout mycert.pem -out mycert.pem | |
# clear chromeos partition |
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
#include <unistd.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <sys/un.h> | |
#include <sys/ioctl.h> | |
#include <sys/types.h> |
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
#!/usr/bin/env python | |
""" | |
This link below is where to get a list of Gnutella web caches | |
http://gwebcaches.pongwar.com/gnutella.html | |
This is an example of how to obtain a list of Gnutella nodes | |
curl 'http://gwc.gofoxy.net:2108/gwc/cgi-bin/fc?hostfile=1' | |
""" |