- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.
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
PoC implementation of a brute force attack against WPS - PIN External Registrar | |
My test environment was Backtrack 5R1 + an Atheros USB adapter. | |
I used a mac80211/carl9170 driver but any mac80211-based driver should be ok. | |
DEPENDENCIES: | |
PyCrypto | |
Scapy (2.2.0) (does not come with Backtrack) | |
USAGE: |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
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
$(document).ready(function() { | |
createDropDown(); | |
$(".dropdown dt a").click(function(e) { | |
e.preventDefault(); | |
var dropdown_id = '#'+Page on parentelement.parentelement.id; | |
$(dropdown_id + " ul").toggle(); | |
}); | |
$(document).bind('click', function(e) { | |
var $clicked = $(e.target); |
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
<%= form_for :monster do |f| %> | |
<% if @monster.errors.any? %> | |
<div id="error_explanation"> | |
<h2> | |
<%= pluralize(@monster.errors.count, "error") %> prohibited this monster from being saved: | |
</h2> | |
<ul> | |
<% @monster.errors.full_messages.each do |msg| %> | |
<li><%= msg %></li> | |
<% end %> |
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
- (void)awakeFromNib { | |
if (self.class.themeColor) { | |
self.textColor = self.class.themeColor; | |
} | |
if (self.class.themeFont) { | |
self.font = self.class.themeFont; | |
} | |
} |
Get these and install them
https://github.com/egold/better-xcode-ibeam-cursor
https://www.google.com/fonts#UsePlace:use/Collection:Droid+Sans+Mono
Then download the dvcolorscheme below and install it by moving it to ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
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
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity | |
restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler | |
{ | |
return [RCTLinkingManager application:application | |
continueUserActivity:userActivity | |
restorationHandler:restorationHandler]; | |
} |
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
_genericStateChange(nextAppState) { | |
this._stateChangeFromSource(nextAppState, 'generic') | |
} | |
async _universalLinksStateChange(nextAppState, route) { | |
await this._stateChangeFromSource(nextAppState, 'universal_link', route) | |
} | |
async _stateChangeFromSource(nextAppState, source, route = null) { | |
if (nextAppState === 'active') { |
OlderNewer