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
| use_debug false | |
| use_bpm 130 | |
| fadein = (ramp *range(0 ,2, 0.01)) | |
| live_loop :kick do | |
| if (spread 1, 4).tick then | |
| sample :bd_tek, amp: fadein.look, cutoff: 80 | |
| end | |
| sleep 0.25 |
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
| import string | |
| class ColaCircular: | |
| def __init__(self): | |
| self.datalist = [] | |
| def push(self, data): | |
| self.datalist.append(data) |
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
| import paho.mqtt.client as mqtt | |
| import paho.mqtt.publish as publish | |
| import time | |
| import datetime | |
| import json | |
| import ast | |
| import requests | |
| import Queue | |
| import sys | |
| import base64 |
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/python3 | |
| import pattern.es | |
| verbosInfinitivos = input("Ingrese una frase: ") | |
| infs = map(lambda v : pattern.es.conjugate(v,'inf'), verbosInfinitivos.split(" ")) | |
| print(list(infs)) |
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
| #!/bin/bash | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: port" | |
| exit 1 | |
| fi | |
| local_ip=$(ifconfig | grep "inet " | tail -1 | awk -F ' ' '{print $2}') | |
| port=$1 | |
| ips=($(fping -g $local_ip/24 2> /dev/null | grep alive | cut -d" " -f1 | sed -n '1!p')) |
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/python3 | |
| #Desarrolle un programa en Python3 utilizando Pygame y expresiones lambda | |
| #que genere figuras de distintos colores seg煤n la posicion del puntero y el tiempo. | |
| #Las figuras no deben exeder los 100 p铆xeles de di谩metro. | |
| #Debe dar la sesaci贸n que el cursor pinta en la pantalla. | |
| import pygame | |
| import datetime |
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
| # -*- coding: utf-8 -*- | |
| ''' | |
| En el 谩mbito de la programaci贸n, una funci贸n an贸nima (funci贸n literal, expresi贸n lambda) | |
| es una subrutina definida que no est谩 enlazada a un identificador, no tiene nombre, | |
| es una funci贸n an贸nima. | |
| ''' | |
| # Las expresiones lambda pueden llevar o no par谩metros. | |
| # Las expresiones lambda pueden asignarse a variables para ser reutilizadas. |
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
| import zipfile | |
| import optparse | |
| from threading import Thread | |
| def extractFile(zFile, password): | |
| try: | |
| zFile.extractall(pwd=password) | |
| print '[+] Found password ' + password + '\n' | |
| except: | |
| pass |
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
| # | |
| # deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free | |
| #deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free | |
| deb http://http.kali.org/kali kali-rolling main non-free contrib | |
| # deb-src http://http.kali.org/kali kali-rolling main non-free contrib | |
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
| #!/bin/bash | |
| read -p "[!] Enter Broker IP or URL (f.e. broker.hivemq.com): " broker | |
| echo "[!] Testing broker $broker connection with ping . . . " | |
| echo "[!] Please wait . . ." | |
| brokeron=$(ping -c 4 $broker) | |
| if [ $? -gt 0 ]; then |