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
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
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 | |
function base64url_encode($data) { | |
return rtrim(strtr(base64_encode($data), '+/', '-_'), '='); | |
} | |
function base64url_decode($data) { | |
return base64_decode(str_pad(strtr($data, '-_', '+/'), strlen($data) % 4, '=', STR_PAD_RIGHT)); | |
} |
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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
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
/** | |
* depth: 1 - monochrome | |
* 4 - 4-bit grayscale | |
* 8 - 8-bit grayscale | |
* 16 - 16-bit colour | |
* 32 - 32-bit colour | |
**/ | |
function drawArray(arr, depth) { | |
var offset, height, data, image; |
###Extract MP3 from SWF files on Linux (Ubuntu)
We will use a tool called swfextract contained on the package swftools, so first we will install it
sudo apt-get install swftools
Once installed first we will see wich media we can extract from our swf file.
echo "\[\033[${2:-37};60m\]${1}\[\033[0m\]"
Echo is the program echo that you can run from the terminal.
(eg $ echo hello world
) it works here because the output of the function
is being captured and put into a string.
Service | SSL | status | Response Type | Allowed methods | Allowed headers |
---|
OlderNewer