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
/*script para realizar un zoom con javascript | |
by barreto modificado para propositos educativos by c1b3rh4ck | |
*/ | |
1. insertar lo siguiente dentro del head | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> | |
<script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.2.pack.js"></script> | |
<script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.1.js"></script> | |
2. tambien las css | |
<link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.1.css" media="screen" /> | |
<link rel="stylesheet" href="style.css" /> |
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 | |
#ctf infobot BarcampSE Pereira 2013 | |
#colors and core :) | |
import os, sys | |
import string | |
import random | |
fwpath = os.getcwd() | |
sys.path.append(fwpath+"src") |
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 | |
#feedback:hfjimenez@utp.edu.co | |
#install the luci interface web using an offline method | |
#hackaton 9 de ag you will need to upload this to 192.168.1.1 /tmp! | |
pkgs=(blua lua libuci-lua libubus-lua uhttpd luci-lib-ipkg luci-i18n-english luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-theme-base luci-theme-openwrt luci-mod-admin-core luci-mod-admin-full) | |
for pkg in "${pkgs[*]} | |
do | |
opkg install /tmp/luci-offline-packages/$pkg*.ipk |
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 | |
#miner using linode 4 trial hours, this is why linode cancel the 4 trial hour :3 ,there was another script to create automatic users | |
#abusing of the feature of dots in gmail, if you got an email like : test123@gmail.com you could get 8 valid emails to use in linode trial :3 | |
#t.est123@gmail.com, te.st123@gmail.com, tes.t123@gmail... this was until they add the obligatory payment options :S | |
users=(linode1 linode2 linode3 linode4) | |
password=(lino1 lino2 lino3 lino4) | |
#Install the cpu miner and the requirements. | |
aptitude -y install git unzip build-essential automake libcurl4-openssl-dev libdb++-dev libminiupnpc-dev libboost-all-dev autotools-dev && wget github.com/uncle-bob/quarkcoin-cpuminer/archive/master.zip && unzip master.zip | |
#running the instances on intel xeon we've got 8 cores |
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
% Antonio's Problem | |
sello=0; | |
cara=0; | |
for i=1:10000000 | |
j=10*rand; %obtener el valor aleatorio con decimales. | |
if (j<=5) %el rango del sello es 1-5 la cara es 6-10 | |
sello=sello+1; | |
else | |
cara=cara+1; |
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
function itcabledesnudo( ) | |
% Program for computing steady state current or temperature of bare cable | |
% IEEE Standard 738 - 2006 | |
% Carlos J. Zapata | |
%Modified by : Hector Jimenez S. | |
% Check the last updates. | |
% Last update | |
% Oct 01 - 2012: A bug in qsun function was removed | |
% May 06 - 2012: The progran was released |
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
%Distancia Nodal,Subestaciones | |
%Feedback:hfjimenez@utp.edu.co | |
%Gpl V2 | |
%date=10/09/2013 | |
%Hallar Distancias Entre Dos Nodos o Mas Nodos!. | |
%Se debe hallar la distancia de cada nodo de una subestación (S1), con los | |
%de las otras subestaciones (S2 y S3)Se debe hallar la distancia de cada | |
%nodo de una subestación (S1), con los de las otras subestaciones (S2 y S3) | |
clc | |
clear all |
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 | |
# Copyright (c) c1b3rh4ck's | |
#This is a PoC for Download images using curl from issuu's site | |
# | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://sam.zoy.org/wtfpl/COPYING for more details. |
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
%feedback:hfjimenez@utp.edu.co | |
clc; | |
clear all; | |
d=input('Enter the decade'); | |
n=input('Enter tolerance factor En,where n is {3,192}:'); | |
for i=1:n; | |
R(i)=d*10^(i/n); | |
end; | |
plot(R,'r--');%red ploting | |
grid on;%grid |
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
%Standard EIA Decade Resistor Values Table | |
%R=d*10^(i/n) | |
%feedback:hfjimenez@utp.edu.co | |
%http://www.logwell.com/tech/components/resistor_values.html | |
clc | |
clear all; | |
clear ans; | |
d=input('What decade are you trying to obtain ?');%enter de multi factor 1,10,100,1000 |
NewerOlder