One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
$string = "Hello World"; | |
$encrypted = oro_encrypt_string( $string ); | |
$decrypted = oro_decrypt_string( $encrypted ); | |
echo $string . '<br />' . $encrypted . '<br />' . $decrypted; | |
function oro_encrypt_string( $string, $key = '', $iv = '', $method = '' ) { | |
$encrypt_method = empty( $method ) ? 'AES-256-CBC' : $method; | |
$secret_key = empty( $key ) ? 'random' : $key; |
<!DOCTYPE html> | |
<html> | |
<head><title>SOUND</title></head> | |
<body> | |
<div>Frequence: <span id="frequency"></span></div> | |
<script type="text/javascript"> | |
var audioCtx = new (window.AudioContext || window.webkitAudioContext)(); | |
var oscillatorNode = audioCtx.createOscillator(); | |
var gainNode = audioCtx.createGain(); |
<?php | |
/* | |
*** OPTIONS ***/ | |
// TITLE OF PAGE | |
$title = "List of Files"; | |
// ADD SPECIFIC FILES YOU WANT TO IGNORE HERE | |
$ignore_file_list = array( ".htaccess", "Thumbs.db", ".DS_Store", "index.php" ); |
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0-modified | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
Most standard ways to get a favicon from a page, in preferred order
<link href="http://someserver/favicon.ico" rel="shortcut icon" />
<link href="http://someserver/favicon.ico" rel="shortcut" />
<link href="http://someserver/favicon.ico" rel="icon" />
<link href="http://someserver/favicon.png" rel="apple-touch-icon" />
<link href="http://someserver/favicon.png" rel="apple-touch-icon-precomposed" />
<link href="http://someserver/favicon.ico" rel="image_src" />
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 6) then: | |
// ie === 0 | |
// If you're in IE (>=6) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |