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 | |
# Como hacer un proxy con netcat | |
# Correr esto en una maquina intermedia | |
# | |
# yo ---> maquina_intermedia ---> maquina_destino | |
# Desde mi maquina conecto al puerto $listening_port y el servicio que quiero de | |
# la maquina destino en $dest_host y puerto $dest_port | |
# | |
# correrlo así: | |
# proxy_kong.sh 151.168.0.9 20000 |
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
// Tests overhead of nanosleep in a Unix system | |
// Compile it like this: | |
// gcc -o test_nanosleep test_nanosleep -lrt | |
// Tested in Solaris | |
#include <stdio.h> | |
#include <time.h> | |
int main() | |
{ |
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 | |
# Plugin para mostrar el estado de aplicaciones de P13N en la barra de aplicaciones en gnome usando Argos. | |
# Le pega a olympus para traerse el estado de las aplicaciones. | |
# ¿Cómo usarlo en Ubuntu? | |
# 1. Instalar Argos | |
# https://extensions.gnome.org/extension/1176/argos/ | |
# 2. Copiar este archivo a ~/.config/argos (mantener el nombre) | |
# | |
# Para más información sobre Argos, visitar la página del proyecto: https://github.com/p-e-w/argos | |
# |