Skip to content

Instantly share code, notes, and snippets.

View mexitek's full-sized avatar

Arlo Carreon mexitek

View GitHub Profile
anonymous
anonymous / iwobiw.16.html
Created October 12, 2011 12:09
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
article, aside, figure, footer, header, hgroup,
@al-the-x
al-the-x / main.php
Created October 7, 2011 01:04
OrlandoPHP Coding Dojo - 2011-10-06
<?php
class Solution {
public function cool($val){
if (($val % 3 ) == 0 || ($val % 5) == 0){
return $val;
} return 0;
}
function solveFor ( $limit )
{
@nzakas
nzakas / es6proxy.htm
Created September 8, 2011 01:02
Example of ES6 Proxy
<!DOCTYPE html>
<!--
This is a simple experiment relying on ECMAScript 6 Proxies. To try this out,
use Aurora (http://www.mozilla.org/en-US/firefox/channel/).
The goal was to create a HTML writer where the method names were really just
the HTML tags names, but without manually creating each method. This uses
a Proxy to create a shell to an underlying writer object that checks each
method name to see if it's in a list of known tags.
@nzakas
nzakas / DownloadYourEmail.sh
Created April 7, 2011 05:12
You can download your Google Apps email from a shell script
#Download your Google Apps-hosted email
wget --secure-protocol=TLSv1 --no-check-certificate --user=you@yourdomain.com --password=your_password https://mail.google.com/a/yourdomain.com/feed/atom
@mexitek
mexitek / Recover_Hidden_Web_Passwords.js
Created March 30, 2011 19:29
Reveals any passwords that are masked behind bullets on any password field. Copy/Paste this code into a new BOOKMARK in your browser
javascript:
var s='',f = document.getElementsByTagName('input');
for(var i=0;i<f.length;i++){
if(f[i].type.toLowerCase()=='password' && f[i].value)
{s+='found: '+f[i].value+' \n';}
}
s=(s)?s+'\nThat\'s All Folks!':'No Passwords Found';
alert(s);