dubenstein + use   52

using travis-ci with python and django
Getting started with Travis-CI is pretty easy. It involves putting a .travis.yml file in the root of your project, and configuring the hooks between GitHub and Travis. While it’s not always easy to get the hooks configured when you’re using organizations, I’m not going to talk much about that. What I do want to share is how we’ve structured our configuration files for our Django and Python projects.
python  tool  use  git 
24 days ago by dubenstein
pinry - a self-hosted pinterest clone
Because I don't like sharing. I would use these services to store a lot of images and data that isn't necessarily personal but that I don't actually want to share or deal with the possibility of having it taken down by a DMCA notice. My use of Pinterest/Wookmark boils down to having personal board for things I want to remember or keep for inspiration.
python  tool  use 
29 days ago by dubenstein
attempt to explain github best practices that you can practically apply to your everyday coding
For clarity, this article is broken up into two separate components, maintainers and contributors.
The maintainers section explains best practices for running your own open source project on GitHub. If you've ever published your own library, you should check it out.
The contributors section explains how to best contribute to already existing open source projects.
git  use  learn  point 
6 weeks ago by dubenstein
mosh is a replacement for ssh. it's more robust and responsive, especially over wi-fi, cellular, and long-distance links.
Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.
devops  use  tool 
6 weeks ago by dubenstein
a chrome extension for running coffeescript from the web inspector
A Chrome extension compatible with Chrome 18+ to allow writing of CoffeeScript within the Web Inspector and run it within the context of the current window, just like the built-in console.
tool  use  coffee 
7 weeks ago by dubenstein
codestre.am allows you to stream and/or record your terminal
codestre.am allows you to stream and/or record your terminal, with just one command. We believe the best way to learn is to see exactly how real hackers do it!
use  tool 
7 weeks ago by dubenstein
swagger - a simple, open standard for describing rest apis with json
Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. The overarching goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters and models are tightly integrated into the server code, allowing APIs to always stay in sync. With Swagger, deploying managing, and using powerful APIs has never been easier.
use  devops 
8 weeks ago by dubenstein
few curl tips for daily use
Though I knew cURL as a powerful tool; so far I never made an attempt to get familiar with it. Most of the time, I would just wade through its man pages to find a way get my stuff done. However, recently I found its being useful in many of my daily tasks. Hence, some recurring patterns have emerged.
tricks  tool  use 
11 weeks ago by dubenstein
Shovel is like Rake for python. Turn python functions into tasks simply, and access and invoke them from the command line.
Shovel is like Rake for python. Turn python functions into tasks simply, and access and invoke them from the command line. 'Nuff said. New Shovel also now has support for invoking the same tasks in the browser you'd normally run from the command line, without any modification to your shovel scripts.
python  use  lib 
11 weeks ago by dubenstein
insanely fast communication library for node.js services
Supports Request / Reply Communication using round robin
Supports Publish / Subscribe (fanout) Communication
Supports Fire and Forget Communication
Supports middleware plugin for messenger Listeners (servers)
Extremely fast (disables TCP Nagle's algorithm)
Fault tolerant: clients will reconnect to servers even if server goes down and comes back later
Elegant API
Easily involves multiple servers
Zero dependencies on other libraries
js  lib  use 
12 weeks ago by dubenstein
a lightweight physics engine, written in coffeescript
I released this super early for FITC Amsterdam, after only minor testing in Chrome. There are a lot of optimisations needed, as well as several bug fixes (mainly in the WebGL renderer) so over the coming weeks I'll be focussing on these, as well as adding 3D support.

Consider this pre-release! ;)
coffee  lib  ui  use 
12 weeks ago by dubenstein
django-knowledge - help desk or knowledge base with only a few lines of boilerplate code
Turn common questions or support requests into a knowledge base.
Control who sees what with simple per object view permissions: public (everyone), private (poster & staff), or internal (only staff).
Assign questions and answers to categories for easy sorting.
Staff get moderation controls or they can use the familiar Django admin to handle support requests.
Allow anonymous questions, or require a standard Django user account (the default).
Included base templates and design with prebundled HTML and CSS.
Optionally alert users of new responses via email (or your own alert system).
BSD license.
python  use  assets 
february 2012 by dubenstein
elliptic curve cryptography in openssh
I’ve been meaning to add this as a post, as it’s light and quick, but as the release of OpenSSH 5.7, Elliptic Curve Cryptography has been implemented. Why should you care? The generated keys are substantially smaller, the algorithm is faster and lighter, giving a break to slower CPUs and the cryptanalysis hasn’t shown any substantial weaknesses, unlike traditional RSA or DSA.
infosec  use 
february 2012 by dubenstein
moonscript is a dynamic scripting language that compiles into Lua
MoonScript can either be compiled into Lua and run at a later time, or it can be dynamically compiled and run using the moonloader. It’s as simple as require "moonscript" in order to have Lua understand how to load and run any MoonScript file.

Because it compiles right into Lua code, it is completely compatible with alternative Lua implementations like LuaJIT, and it is also compatible with all existing Lua code and libraries.
lua  learn  use 
february 2012 by dubenstein
guide to finding interesting public domain works online
Leads on interesting public domain works can come from a wide array of sources – from exhibitions, museums, concerts, television, the radio, books, newspapers, talking to people, etc.
use  assets 
february 2012 by dubenstein
spacepen is a powerful but minimalist client-side view framework for coffeescript
As you've seen so far, the markup DSL is pretty straightforward. From the @content class method or any method it calls, just invoke instance methods named for the HTML tags you want to generate. There are 3 types of arguments you can pass to a tag method:

Strings The string will be HTML-escaped and used as the text contents of the generated tag.
Hashes The key-value pairs will be used as the attributes of the generated tag.
Functions (bound with =>) The function will be invoked in-between the open and closing tag to produce the HTML element's contents.
coffee  js  lib  use 
february 2012 by dubenstein
up - Node powered zero downtime reloads and load balancing
Zero-downtime reloads built on top of the distribute load balancer.
js  tool  use 
february 2012 by dubenstein
A small library for manipulating the favicon
Tinycon allows the addition of alert bubbles and changing the favicon image. Tinycon gracefully falls back to a number in title approach for browers that don't support canvas or dynamic favicons.
Alerts in the favicon allow users to pin a tab and easily see if their attention is needed.
ui  use 
february 2012 by dubenstein
times - handle time and timezones simply in python
Times is a small, minimalistic, Python library for dealing with time conversions to and from timezones, for once and for all.

It is designed to be simple and clear, but also opinionated about good and bad practices.

Armin Ronacher wrote about timezone best practices in his blog post Dealing with Timezones in Python. The tl;dr summary is that everything sucks about our mechanisms to represent absolute moments in time, but the least worst one of all is UTC.
python  use  lib 
february 2012 by dubenstein
Huey - a lightweight task queue for python
The goal of this document is to help you get running quickly and with as little fuss as possible. Because huey works with python in general but also has some special django integration, this guide is broken up into two parts. Read the general guide first, then continue on to the django guide, as information is presented in the general guide that is not covered in the django parts.
python  use 
february 2012 by dubenstein
Amon - python-powered server monitoring, logging, and error reporting with json api
Amon is a self-hosted, lightweight web application and server monitoring toolkit. It provides you with straightfrorward visualisation of essential server data. It helps you manage the errors that occur in your web applications and makes logging complex datastructures and searching in your log data easy.
use  analytics 
february 2012 by dubenstein
tty.js - terminal in your browser using Node.js and Socket.io
A terminal in your browser using node.js and socket.io. Based on Fabrice Bellard's vt100 for jslinux.

WARNING: tty.js is not secure. Make sure nobody has access to your terminal but you. tty.js is also unstable right now, terminal compatibility issues will be noticeable.
tool  use 
february 2012 by dubenstein
ls on steroids
I wanted to re-arrange the ls output just like one can do with the -printf option to GNU find. Sadly, there are no -printf option available for ls, so I threw together a quick hack called 'pilsner' that did what I wanted and nothing more, nothing less. Not very useful to others.

Mattias Svanström crafted together the 'l' application which did basically the same thing but more elegant and with a nice twist; it calculated relative mtimes.

I really liked that idea, but there were a couple of annoyances, so I forked the project and added a configuration file, support for flags that'll control the different views and possibility to ignore as well as highlight specific files.
tool  use 
january 2012 by dubenstein
A JavaScript pattern and antipattern code collection
A JavaScript pattern and antipattern code collection that covers function patterns, jQuery patterns, design patterns, general patterns, literals and constructor patterns, object creation patterns (upcoming), code reuse patterns (upcoming), DOM and browser patterns (upcoming).
js  use 
january 2012 by dubenstein
simple framework for developing linux kernel heap exploits
libplayground is composed of two parts. A Linux kernel module, located in
module/, creates a device file at /dev/playground. This device file supports
ioctls designed to simulate various exploitation primitives useful when
developing Linux kernel heap exploits. Currently supported is the ability to
allocate and free heap chunks, the ability to read and write arbitrary data to
and from specific heap chunks (for example to simulate a heap overflow), the
ability to cause a double-free of a heap chunk, and the ability to trigger the
invocation of a function pointer stored at a specified offset from the
beginning of a heap chunk. All chunks are allocated using kmalloc(), which
will invoke whichever slab layer is running on the testing kernel. At the time
of this writing, SLUB is the default allocator, but other allocators, such as
SLAB or SLOB, may be configured at compile time.
infosec  tool  use 
january 2012 by dubenstein
jquery port of impress.js (build a website on the infinite canvas)
a jQuery plugin to build a website on the infinite canvas
lib  js  use 
january 2012 by dubenstein
track your most used directories, based on 'frecency'
DESCRIPTION
Tracks your most used directories, based on 'frecency'.

After a short learning phase, z will take you to the most 'frecent' direc‐
tory that matches ALL of the regexes given on the command line.
use 
january 2012 by dubenstein
social engineering tricks to get a direct line to someone
I don't have a cell phone, so when I call a big place through a 1-800 number and talk to someone and they want a call back number I tell them this, and that I'm out and about*, and they usually give me their direct line. It's good to keep a catalog of people's desk numbers (and their cubicle-mates probably, if you just increment the number) so you can "get things done."
use  tricks 
december 2011 by dubenstein
Pull github, bitbucket, and trac issues into taskwarrior
This is a command line utility for updating your local taskwarrior database from your forge issue trackers.
tool  use  tricks 
december 2011 by dubenstein
uri.js is a javascript library (fluent interface, method chaining) for working with urls.
URI.js is a javascript library for working with URLs. It offers a "jQuery-style" API (Fluent Interface, Method Chaining) to read and write all regular components and a number of convenience methods like .directory() and .authority().
js  lib  use 
december 2011 by dubenstein
domain-profiler uses information from whois, dns, ssl, asn to determine what decisions have been made regarding a domain(s)
Where the website is hosted.
Where DNS is hosted.
Where email is hosted.
The registrar of the domain.
Who issued the domain's SSL certificate (if anybody)
What sort of SSL certificate the domain has (if any)
infosec  use 
december 2011 by dubenstein
Hogan.js is a 2.5k JS templating engine developed at Twitter
Hogan.js is a 2.5k JS templating engine developed at Twitter. Use it as a part of your asset packager to compile templates ahead of time or include it in your browser to handle dynamic templates.

If you're developing with Node.js, just use NPM to add the Hogan package.
js  lib  use  ui 
december 2011 by dubenstein
the hitchhiker’s guide to python packaging
In the mean time, if a package requires the setuptools package, it is our recommendation that you install the Distribute package, which provides a more up to date version of setuptools than does the original Setuptools package.

In the future distutils2 will replace setuptools and distutils, which will also remove the need for Distribute. And as stated before distutils will be removed from the standard library. For more information, please refer to the Future of Packaging.
python  learn  use 
december 2011 by dubenstein
What is a metaclass in Python?
Metaclasses are the 'stuff' that creates classes.
You define classes in order to create objects, right?
But we learned that Python classes are objects.
Well, metaclasses are what create these objects. There are the classes' classes, you can picture them this way:
python  use  learn 
december 2011 by dubenstein
earthquake
Twitter terminal client with streaming API support
tool  use 
december 2011 by dubenstein
createjs a new kind of web editing interface
Create, from the Midgard Project is a comprehensive web editing interface for Content Management Systems. It is designed to provide a modern, fully browser-based HTML5 environment for managing content. Create can be adapted to work on almost any content management backend.

The user interface philosophy behind Create is simple: all content that you are allowed to change becomes editable, right there on the page you're reading. Any modifications you make are retained in your browser and can be sent back to the CMS with a push of a button. With Create, it is time to stop filling forms and to start communicating with your web audience.
js  use  backbone 
december 2011 by dubenstein
Rickshaw is a JavaScript toolkit for creating interactive time series graphs
Rickshaw is a JavaScript toolkit for creating interactive time series graphs, developed at Shutterstock.
js  use  lib 
december 2011 by dubenstein
Katy makes writing fluent CoffeeScript interfaces easy
You're familiar with fluent interfaces. They're great, but they rely on the author of the API making sure that each function returns its receiver. The .K method allows you to make any function or method "fluent" even if the original author has other ideas. The .K and .T methods also allow you to write your own methods and 'call' them just as if they were baked into the original object.
coffee  use 
december 2011 by dubenstein
Python Subprocesses for Humans
Envoy: Python Subprocesses for Humans.
Note: Work in progress.

This is a convenience wrapper around the subprocess module.
use  python 
december 2011 by dubenstein
Python-powered SMTP server with Sinatra-style routes
SMTPRoutes - Python-powered SMTP server with Sinatra-style routes: A cool project from Benjamin E. Coe for SMTP using an elegant DSL in Python: class ExampleRoute(Route): @route(r'(?Popen)@(?P.*)') def open_route(self): print "%s at %s sent the message: nn %s" % ( ...
python  use 
november 2011 by dubenstein
Recurse - Less Friction, Better Revisions
As a designer you understand that presentation is important. Recurse is a simple solution to show clients your spiffy new design. By emulating a website with multiple flat images clients will have a better idea of what the composition will look like ‘in the wild’.
use  ui 
november 2011 by dubenstein
Phono is a simple jQuery plugin and JavaScript library that turns any web browser into a sip phone
Phono is a simple jQuery plugin and JavaScript library that turns any web browser into a phone; capable of making phone calls and sending instant messages. You can even connect to SIP clients; all with a simple unified API.
js  voip  lib  use 
october 2011 by dubenstein
diffbot is a visual learning robot that enables developers to create rich mobile experiences from web content
diffbot is a visual learning robot that enables developers to create rich mobile experiences from web content.
ai  use 
october 2011 by dubenstein
Mango
What's this “mango” of which you speak?

Mango attempts to make blogging fun again. Below are a few reasons I think you might like it.

Markdown
I've never met a WYSIWYG editor I didn't dislike, and writing in HTML sucks. John Gruber, a guy who knows a thing or two about writing, solved this problem a few years back with Markdown. In Mango, every document you create is simply a Markdown document like this one. Neat!

Rock-solid foundations
Mango sits atop Python and its wonderful Web framework Django (to which Mango's name pays homage). Django's so good at what it does that Mango's code checks in at a measly 2500 lines.

No database required
In Mango, documents are stored as — gasp — documents, not database entries.

And because you'll have a local copy of all your documents, you can say goodbye to the rigmarole of setting up cronjobs to e-mail you nightly database dumps.
python  use 
october 2011 by dubenstein

Copy this bookmark:



description:


tags: