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
! name: Programming Questions | |
! description: Helps to find answers about programming related questions, Mainly for python and golang. | |
! public: true | |
! author: Loshad | |
! avatar: #bcd4e6 | |
! license: MIT | |
$boost=5,site=stackoverflow.com | |
$boost=5,site=github.com | |
$boost=3,site=gist.github.com |
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 cesar_crack_ascii($ut) { | |
$txt = $ut; | |
$ftxt = ''; | |
$v = str_split($txt); | |
$len = strlen($txt); | |
for ($nc = 0; $nc <= 26; $nc++) { | |
for ($g = 0; $g <= $len; $g++) { | |
$c = ord(@$v[$g]) - $nc; | |
$ftxt = $ftxt.chr($c); | |
} |
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
from random import choice | |
valorum = "#yLR75@s56el" | |
valordois = "m!zR6VvFq75R" | |
valortres = "^JHNgr%oka4X" | |
valorquatro = "TF^OMZYyqx@&" | |
possibilidades = [valorum, valordois, valortres, valorquatro] | |
valoraleatorio = choice(possibilidades) |