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 | |
for webservmethod in GET POST PUT TRACE CONNECT OPTIONS PROPFIND; | |
do | |
printf "$webservmethod " ; | |
printf "$webservmethod /HTTP/1.1\nHost:$1\n\n " |nc -q 1 $1 80 |grep "HTTP/1.1" | |
done |
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
/*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 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
<html> | |
<head> | |
<META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Triva sbd</title><style type="text/css"> | |
body { } | |
h1 { font-size: xx-large; | |
font-weight: bold; | |
border-bottom: 1px solid black; } | |
div.note { | |
position: relative; |
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
;Template para Pic16f877 | |
;ToDo : | |
;Crear Rutinas de tiempo | |
;Crear Conversion A/D | |
;Crear Manejadores de memoria de datos indirecto y directo | |
;Jugar con registros para XOR en memoria | |
;Comprar un 18 con memoria flash para alcanzar a jaime A. | |
;Crear nuevas rutinas para espacio de 96 bytes | |
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
%Standard EIA Decade Resistor Values Table | |
%R=d*10^(i/n) | |
%feedback:[email protected] | |
%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 |
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
%feedback:[email protected] | |
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 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 | |
# 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 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
%Distancia Nodal,Subestaciones | |
%Feedback:[email protected] | |
%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 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
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 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
% 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; |
OlderNewer