Just a Mario done in pure CSS with box-shadow. It is done pixel by pixel, with a declaration of box-shadow for each pixeL; It has to be improved by doing areas of pixels with the spread parameter of box-shadow
A Pen by KingSavate on CodePen.
| ## | |
| # This file is part of the Metasploit Framework and may be subject to | |
| # redistribution and commercial restrictions. Please see the Metasploit | |
| # web site for more information on licensing and terms of use. | |
| # | |
| # http://metasploit.com/ | |
| ## | |
| require 'shellwords' | |
| class Metasploit3 < Msf::Exploit::Local |
| sed -i -r 's/ +$//' `find . -path ./sdk -prune -o -regextype posix-extended -regex '.* (css|html|js|php|sql|svg)' -exec grep -rl ' $' {} ;` |
| sh -c 'url="http://youtu.be/MejbOFk7H6c"; vid="`for i in ".*youtu\.be/\([^\/&?#]\+\)" ".*youtu.\+v[=/]\([^\/&?#]\+\)" ".*youtu.\+embed/\([^\/&?#]\+\)"; do expr "${url}" : "${i}"; done`"; if [ -n "${vid}" ]; then echo ${vid}; else echo "${url}"; fi' |
Just a Mario done in pure CSS with box-shadow. It is done pixel by pixel, with a declaration of box-shadow for each pixeL; It has to be improved by doing areas of pixels with the spread parameter of box-shadow
A Pen by KingSavate on CodePen.
| function output(intIn) { | |
| strIn = intIn.toString(4); | |
| var aL = ['A', 'B', 'C', 'D']; | |
| var msk = '0000000000'; | |
| var len = msk.length; | |
| var str = msk + strIn; | |
| var rtn = ''; | |
| str = str.substr(str.length - len, len); | |
| arr = str.split(''); | |
| for (var i in arr) { |
| #!/bin/bash | |
| # | |
| # TP Probe v.0.3 alpha | |
| # by 31d1 2005 djbidi@gmail.com | |
| # | |
| # displays (somewhat accurate) hardware sensor readouts on some current macs. | |
| # works on Powerbooks | |
| # help |
| #!/usr/bin/env python | |
| import socket | |
| import struct | |
| def ip2long(ip): | |
| packedIP = socket.inet_aton(ip) | |
| return struct.unpack("!L", packedIP)[0] | |
| print ip2long('192.241.224.102') # your website ip address |
| #!/bin/bash | |
| # http://stackoverflow.com/questions/67699/how-do-i-clone-all-remote-branches-with-git?rq=1 | |
| for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do | |
| git branch --track ${branch##*/} $branch | |
| done |
| #!/bin/sh | |
| #dropbox service | |
| DROPBOX_USERS="user1 user2" | |
| DAEMON=.dropbox-dist/dropbox | |
| start() { | |
| echo "Starting dropbox..." | |
| for dbuser in $DROPBOX_USERS; do | |
| HOMEDIR=`getent passwd $dbuser | cut -d: -f6` |