A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git |
These are all the JSConf 2014 slides, codes, and notes I was able to cull together from twitter. Thanks to the speakers who posted them and thanks to @chantastic for posting his wonderful notes.
| #!/usr/bin/env python2 | |
| """ | |
| Author: takeshix <[email protected]> | |
| PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]). | |
| Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
| """ | |
| import sys,struct,socket | |
| from argparse import ArgumentParser |
| /** @jsx React.DOM */ | |
| var STATES = [ | |
| 'AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FL', 'GA', 'HI', | |
| 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN', 'MS', | |
| 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH', 'OK', 'OR', | |
| 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA', 'WV', 'WI', 'WY' | |
| ] | |
| var Example = React.createClass({ |
| (function (exports) { | |
| var app = exports.app = { | |
| bindingContext: { | |
| domnode: null, | |
| model: null, | |
| loadTemplate: function (templateName) { | |
| return document.getElementById(templateName).innerHTML; | |
| }, | |
| bind: function (templateName, vm) { | |
| this.domnode.innerHTML = this.loadTemplate(templateName); |
| var Feedback = Backbone.Model.extend({ | |
| url: '/feedback', | |
| defaults: { | |
| 'email': '', | |
| 'website': '', | |
| 'feedback': '' | |
| }, |
| /** | |
| * Executada no bootstrap do módulo | |
| * | |
| * @param MvcEvent $e | |
| */ | |
| public function onBootstrap($e) | |
| { | |
| /** @var \Zend\ModuleManager\ModuleManager $moduleManager */ | |
| $moduleManager = $e->getApplication()->getServiceManager()->get('modulemanager'); | |
| /** @var \Zend\EventManager\SharedEventManager $sharedEvents */ |
| BUILD_DIR := gen | |
| # pandoc is a handy tool for converting between numerous text formats: | |
| # http://johnmacfarlane.net/pandoc/installing.html | |
| PANDOC := pandoc | |
| # pandoc options | |
| # Liberation fonts: http://en.wikipedia.org/wiki/Liberation_fonts | |
| PANDOC_PDF_OPTS := --toc --chapters --base-header-level=1 --number-sections --template=virsto_doc.tex --variable mainfont="Liberation Serif" --variable sansfont="Liberation Sans" --variable monofont="Liberation Mono" --variable fontsize=12pt --variable documentclass=book | |
| PANDOC_EBOOK_OPTS := --toc --epub-stylesheet=epub.css --epub-cover-image=cover.jpg --base-header-level=1 |