oren.github.com/posts/leveldb.md at master · oren/oren.github.com · GitHub: "LevelDB is a very fast and lightweight embedded database. It was created by two Google engineers and is inpired by BigTable, Google's proprietary file system. You are probably using it without knowing it since it's part of the Chrome browser (exposed as IndexedDB).
Other databases in the embedded category are BerkelyDB and SQLite (it's important to point out the LevelDB is faster). By embedded it means you don't run it in a separate process as you would normally do with many of the popular databases such as MySQL, MongoDB or Redis. LevelDB is contained within your application process and can't be accessed from other process. It is literally just a file based store of key value pairs that does some fancy caching and compression.
If we compare it to Redis, it's even lighter, have more reliable writes and unlike Redis, you don't store your entire data in memory but in the file system. Another difference is Redis have more data structures (sets, lists etc) that LevelDB is lacking. The similarity is that both store key-value pairs and both can save json."
https://github.com/oren/oren.github.com/blob/master/posts/leveldb.md
Monday, April 8, 2013
Sunday, April 7, 2013
Quick Tip: Add Easing to Your Animations » Learning jQuery - Tips, Techniques, Tutorials
Quick Tip: Add Easing to Your Animations » Learning jQuery - Tips, Techniques, Tutorials: "Easing can really bring life to an effect. Easing controls how an animation progresses over time by manipulating its acceleration. jQuery has two built-in easing methods: linear and swing. While they get the job done, they are pretty boring when compared to what's made available through the jQuery easing plugin."
http://www.learningjquery.com/2009/02/quick-tip-add-easing-to-your-animations
http://gsgd.co.uk/sandbox/jquery/easing/
http://www.learningjquery.com/2009/02/quick-tip-add-easing-to-your-animations
http://gsgd.co.uk/sandbox/jquery/easing/
Unfolding 3D Thumbnails Concept
Unfolding 3D Thumbnails Concept: "This demo shows a concept for toggling a thumbnail view for an image slider. The idea is to reveal some thumbs using a 3D effect and indicate the switch in navigation functionility.
This is a concept, the slider functionlity is not implemented."
http://tympanus.net/Development/Unfolding3DThumbnailsConcept/
This is a concept, the slider functionlity is not implemented."
http://tympanus.net/Development/Unfolding3DThumbnailsConcept/
The exceptionally handsome dashboard framework.
"Dashing is a Sinatra based framework that lets you build beautiful dashboards.
Key features:
This project was created at Shopify for displaying custom dashboards on TVs around the office."
http://shopify.github.io/dashing/
http://dashingdemo.herokuapp.com/sample
Key features:
- Use premade widgets, or fully create your own with scss, html, and coffeescript.
- Widgets harness the power of data bindings to keep things DRY and simple. Powered by batman.js.
- Use the API to push data to your dashboards, or make use of a simple ruby DSL for fetching data.
- Drag & Drop interface for re-arranging your widgets.
- Host your dashboards on Heroku in less than 30 seconds.
This project was created at Shopify for displaying custom dashboards on TVs around the office."
http://shopify.github.io/dashing/
http://dashingdemo.herokuapp.com/sample
Intro.js | Better introductions for websites and features with a step-by-step guide for your projects.
Intro.js | Better introductions for websites and features with a step-by-step guide for your projects.: "Better introductions for websites and features with a step-by-step guide for your projects."
http://usablica.github.io/intro.js/
http://usablica.github.io/intro.js/
iPhone 5 and iOS 6 for HTML5 developers, a big step forward: web inspector, new APIs and more | Breaking the Mobile Web
iPhone 5 and iOS 6 for HTML5 developers, a big step forward: web inspector, new APIs and more | Breaking the Mobile Web:
QUICK REVIEW
On iPhone 5:
New features on iOS 6:
http://www.mobilexweb.com/blog/iphone-5-ios-6-html5-developers
QUICK REVIEW
On iPhone 5:
- New screen size
- New simulator
- What you need to do
- Problems
New features on iOS 6:
- File uploads and camera access with Media Capture and File API
- Web Audio API
- Smart App Banners for native app integration
- CSS 3 Filters
- CSS 3 Cross Fade
- CSS Partial Image support
- Full screen support
- Animation Timing API
- Multi-resolution image support
- Passbook coupons and passes delivery
- Storage APIs and web app changes
- Web View changes for native web apps
- Debugging with Remote Web Inspector
- Faster JavaScript engine and other news
http://www.mobilexweb.com/blog/iphone-5-ios-6-html5-developers
Friday, April 5, 2013
CSS Masking - HTML5 Rocks
CSS Masking - HTML5 Rocks: "Two commonly used operations in computer graphics are clipping and masking. Both operations hide visual portions of an element. If you have worked with SVG or HTML Canvas before, these operations are probably not new for you. Clipping defines the region of an element that is visible. Everything around this region does not get rendered - it gets "clipped". On masking, a mask image is composited with the element, affecting the alpha channel of this element. Portions of a masked element get fully or partially transparent. The new CSS Masking specification aims to bring these two operations to the HTML world."
'via Blog this'
'via Blog this'
Wednesday, April 3, 2013
Sylvester
Sylvester: "Sylvester is a vector, matrix and geometry library for JavaScript, that runs in the browser and on the server side. It includes classes for modelling vectors and matrices in any number of dimensions, and for modelling infinite lines and planes in 3-dimensional space. It lets you write object-oriented easy-to-read code that mirrors the maths it represents."
'via Blog this'
'via Blog this'
IE8 Developer Tools won’t open | David Tong
IE8 Developer Tools won’t open | David Tong: "This may sound stupid, but I ran into this issue that upon pressing F12 or choosing Tools > Developer Tools, the IE Developer Tools window does not show up. It is, however, showing up in the task bar.
The issue is that when you have Developer Tools detached from the browser window, and you don’t close it before exiting the browser, the next time you open IE8 and try to run Developer Tools, the Developer Tools window will be an ‘invisible state’ (simply put…).
The solution is to right-click on the tab/ icon in your Windows task bar and choose Maximize. If there is no such option in Windows 7, hover on the tab/ icon in the task bar for a moment until an overlay pops up that shows all the IE8 instances and the Developer Tools representation view, right-click on the Developer Tools’ representation view and choose Maximize. Alternatively, you may do Alt+Spacebar, then hit ‘m’ and start using your arrow keys to move the window around. You will then be glad to see your long-lost friend!
It sounds stupid, but this is still a kind of IE bug."
'via Blog this'
The issue is that when you have Developer Tools detached from the browser window, and you don’t close it before exiting the browser, the next time you open IE8 and try to run Developer Tools, the Developer Tools window will be an ‘invisible state’ (simply put…).
The solution is to right-click on the tab/ icon in your Windows task bar and choose Maximize. If there is no such option in Windows 7, hover on the tab/ icon in the task bar for a moment until an overlay pops up that shows all the IE8 instances and the Developer Tools representation view, right-click on the Developer Tools’ representation view and choose Maximize. Alternatively, you may do Alt+Spacebar, then hit ‘m’ and start using your arrow keys to move the window around. You will then be glad to see your long-lost friend!
It sounds stupid, but this is still a kind of IE bug."
'via Blog this'
Sunday, March 31, 2013
Control flow differences between Ruby Procs and Lambdas.
Control flow differences between Ruby Procs and Lambdas.: "One of the main differences between Procs and Lambdas in Ruby is how they work with return and breakstatements. The key to understanding this will make you opt for one control flow over the other."
'via Blog this'
'via Blog this'
A Closure Is Not Always A Closure In Ruby
A Closure Is Not Always A Closure In Ruby: "Often you don’t really think about what particular language features mean, until those features come and bite you. For me one such feature was Ruby’s instance_eval. We all know how instance_eval works, it’s pretty straight forward. "
'via Blog this'
'via Blog this'
Monday, March 25, 2013
jQuery text highlighter and filter Plugin | Web Resources | Nacodes
jQuery text highlighter and filter Plugin | Web Resources | Nacodes:
When someone types anything in it then a set area on your page becomes responsive and only displays part of that area which contains the word or string typed by the user.
'via Blog this'
When someone types anything in it then a set area on your page becomes responsive and only displays part of that area which contains the word or string typed by the user.
'via Blog this'
A horizontal navigation jquery plugin | Web Resources | Nacodes
A horizontal navigation jquery plugin | Web Resources | Nacodes: "HorizontalNav is a jQuery plugin that spans a horizontal navigation to fit the full width of it's container. If you've ever had to create this effect on a project, you'll know it's pretty annoying to do. But this plugin makes it easy and adds support for IE7."
'via Blog this'
'via Blog this'
Friday, March 22, 2013
Sails.js | The future of API development
Sails.js | The future of API development:
Sails.js makes it easy to build custom, enterprise-grade Node.js apps. It is designed to resemble the MVC architecture from frameworks like Ruby on Rails, but with support for the more modern, data-oriented style of web app development. It's especially good for building realtime features like chat.
'via Blog this'
Sails.js makes it easy to build custom, enterprise-grade Node.js apps. It is designed to resemble the MVC architecture from frameworks like Ruby on Rails, but with support for the more modern, data-oriented style of web app development. It's especially good for building realtime features like chat.
'via Blog this'
Thursday, March 21, 2013
Easing Functions Cheat Sheet
Easing Functions Cheat Sheet:
'via Blog this'
Easing function specifies the speed of animation progresses to make it more realistic.
The real object doesn’t begin its movement instantly and at a constant rate. When we open the drawer, we first give it acceleration, and then we slow it down. When something falls, it first goes down faster and faster, and then bounces back after it hits the floor.
'via Blog this'
The Ruby on Rails Tutorial for Rails 4.0 (beta) - Ruby on Rails Tutorial News
The Ruby on Rails Tutorial for Rails 4.0 (beta) - Ruby on Rails Tutorial News:
A Rails 4.0–compatible version of the Ruby on Rails Tutorial book is now available online. Sales of the ebook and a supplementary screencast will start after the final version of Rails 4.0 is released (available at a large discount to current customers). A new third edition is planned for later this year (with upgrade discounts for current customers)
'via Blog this'
A Rails 4.0–compatible version of the Ruby on Rails Tutorial book is now available online. Sales of the ebook and a supplementary screencast will start after the final version of Rails 4.0 is released (available at a large discount to current customers). A new third edition is planned for later this year (with upgrade discounts for current customers)
'via Blog this'
Monday, March 18, 2013
Parallax Slider - Full Collection of jQuery Sliders
Parallax Slider - Full Collection of jQuery Sliders:
'via Blog this'
Parallax Effect – Full Collection of Sliders includes 4 types of sliders:
- Classic
- Perpetuum Mobile
- Mouse Interaction
- Ultra
NEW: From these sliders you can create, in minutes, sidebar banners.
CLASSIC
- touch screen navigation support for mobile
- responsive design. Available parameter to disable responsive behavior
- 2 predefined skins: bullets & thumbs
- layered elements: permits almost unlimited number of layers, images or texts.
- animated text from any direction: top, bottom, left and right. CSS and HTML formated
- external url link parameter for each slide
- target parameter: _blank or _self
- width & height parameters
- autoplay parameter
- loop parameter
- show/hide controllers parameter
- show/hide bottom thumbs parameter
- circle timer parameters for color, dimensions, transparency
- you can include YouTube, Vimeo & HTML5
- you can insert multiple instances in the same page with the same skin or using a different skin.
- detailed help documentation included. Also, all the examples present in the preview are included in the download .zip
PERPETUUM MOBILE
- touch screen navigation support for mobile
- responsive design. Available parameter to disable responsive behaviour
- 2 predefined skins: bullets & thumbs
- layered elements: permits almost unlimited number of layers, images or texts.
- animated text from any direction: top, bottom, left and right. CSS and HTML formated
- perpetuum move: define multiple backgrounds elements that can have a perpetuum move. For each background you can enable or disable this behavior.
- continuous move for layers: you can choose which layer will move continuously between 2 positions just by setting additional parameters
- rotary motion for layers: you can choose which layer will rotate just by setting additional parameters. This feature is working for all browsers, except IE7 & IE8
- width & height parameters
- external url link parameter for each slide
- target parameter: _blank or _self
- autoplay parameter
- loop parameter
- show/hide controllers parameter
- show/hide bottom thumbs parameter
- circle timer parameters for color, dimensions, transparency
- you can include YouTube, Vimeo & HTML5
- you can insert multiple instances in the same page with the same skin or using a different skin.
- detailed help documentation included. Also, all the examples present in the preview are included in the download .zip
MOUSE INTERACTION
- touch screen navigation support for mobile
- responsive design. Available parameter to disable responsive behaviour
- 2 predefined skins: bullets & thumbs
- layered elements: permits almost unlimited number of layers, images or texts.
- animated text from any direction: top, bottom, left and right. CSS and HTML formated
- mouse interaction: by moving the mouse over the slider, the elements will react. Available parameter to disable this behavior.
- continuous move for layers: you can choose which layer will move continuously between 2 positions just by setting additional parameters
- rotary motion for layers: you can choose which layer will rotate just by setting additional parameters. This feature is working for all browsers, except IE7 & IE8
- width & height parameters
- external url link parameter for each slide
- target parameter: _blank or _self
- autoplay parameter
- loop parameter
- show/hide controllers parameter
- show/hide bottom thumbs parameter
- circle timer parameters for color, dimensions, transparency
- you can include YouTube, Vimeo & HTML5
- you can insert multiple instances in the same page with the same skin or using a different skin.
- detailed help documentation included. Also, all the examples present in the preview are included in the download .zip
ULTRA
- touch screen navigation support for mobile
- responsive design. Available parameter to disable responsive behaviour
- 2 predefined skins: bullets & thumbs
- layered elements: permits almost unlimited number of layers, images or texts.
- animated text from any direction: top, bottom, left and right. CSS and HTML formated
- asynchronous move for backgrounds: Define multiple backgrounds elements that can have an asynchronous move, customizable through parameters.
- width & height parameters
- external url link parameter for each slide
- target parameter: _blank or _self
- autoplay parameter
- loop parameter
- show/hide controllers parameter
- show/hide bottom thumbs parameter
- circle timer parameters for color, dimensions, transparency
- you can include YouTube, Vimeo & HTML5
- you can insert multiple instances in the same page with the same skin or using a different skin.
- detailed help documentation included. Also, all the examples present in the preview are included in the download .zip
'via Blog this'
Sunday, March 17, 2013
-ms-interpolation-mode property (Internet Explorer)
-ms-interpolation-mode property (Internet Explorer):
'via Blog this'
Syntax
-ms-interpolation-mode: nearest-neighbor | bicubic
Property values
nearest-neighbor
- Always use nearest neighbor interpolation mode.
bicubic
- Always use high-quality bicubic interpolation mode.
'via Blog this'
Saturday, March 16, 2013
4 Simple CSS3 Animation Tutorials
4 Simple CSS3 Animation Tutorials:
CSS3 allows you to create interactive animations using basic CSS code for your website. These tutorials are simple CSS3 animation tutorials that use 2D transforms to create some neat animation effects.
'via Blog this'
CSS3 allows you to create interactive animations using basic CSS code for your website. These tutorials are simple CSS3 animation tutorials that use 2D transforms to create some neat animation effects.
'via Blog this'
Thursday, March 14, 2013
Monday, March 4, 2013
Friday, March 1, 2013
How to play Zopfli with Nginx - Google Drive
How to play Zopfli with Nginx - Google Drive:
The Zopfli Compression Algorithm is a new, open sourced general purpose data compression library that got its name from a Swiss bread recipe. It is an implementation of the Deflate compression algorithm that creates a smaller output size compared to previous techniques. The smaller compressed size allows for better space utilization, faster data transmission, and lower web page load latencies. Furthermore, the smaller compressed size has additional benefits in mobile use, such as lower data transfer fees and reduced battery use. The higher data density is achieved by using more exhaustive compression techniques, which make the compression a lot slower, but do not affect the decompression speed. The exhaustive method is based on iterating entropy modeling and a shortest path search algorithm to find a low bit cost path through the graph of all possible deflate representations.
The output generated by Zopfli is typically 3–8% smaller compared to zlib at maximum compression, and we believe that Zopfli represents the state of the art in Deflate-compatible compression. Zopfli is written in C for portability. It is a compression-only library; existing software can decompress the data. Zopfli is bit-stream compatible with compression used in gzip, Zip, PNG, HTTP requests, and others.
Due to the amount of CPU time required, 2–3 orders of magnitude more than zlib at maximum quality, Zopfli is best suited for applications where data is compressed once and sent over a network many times — for example, static content for the web. By open sourcing Zopfli, thus allowing webmasters to better optimize the size of frequently accessed static content, we hope to make the Internet a bit faster for all of us.
'via Blog this'
The Zopfli Compression Algorithm is a new, open sourced general purpose data compression library that got its name from a Swiss bread recipe. It is an implementation of the Deflate compression algorithm that creates a smaller output size compared to previous techniques. The smaller compressed size allows for better space utilization, faster data transmission, and lower web page load latencies. Furthermore, the smaller compressed size has additional benefits in mobile use, such as lower data transfer fees and reduced battery use. The higher data density is achieved by using more exhaustive compression techniques, which make the compression a lot slower, but do not affect the decompression speed. The exhaustive method is based on iterating entropy modeling and a shortest path search algorithm to find a low bit cost path through the graph of all possible deflate representations.
The output generated by Zopfli is typically 3–8% smaller compared to zlib at maximum compression, and we believe that Zopfli represents the state of the art in Deflate-compatible compression. Zopfli is written in C for portability. It is a compression-only library; existing software can decompress the data. Zopfli is bit-stream compatible with compression used in gzip, Zip, PNG, HTTP requests, and others.
Due to the amount of CPU time required, 2–3 orders of magnitude more than zlib at maximum quality, Zopfli is best suited for applications where data is compressed once and sent over a network many times — for example, static content for the web. By open sourcing Zopfli, thus allowing webmasters to better optimize the size of frequently accessed static content, we hope to make the Internet a bit faster for all of us.
'via Blog this'
Thursday, February 28, 2013
The ultimate “target retina screens” media query
mir.aculo.us JavaScript with Thomas Fuchs » Blog Archive » The ultimate “target retina screens” media query:
'via Blog this'
There now is an abundance of devices with some sort of high-density display, from MacBook Pros to iPads, from Windows Surface tablets to all kinds of mobile phones.
All of these devices have one thing in common: In web browsers (that support the high-density screen correctly) one CSS pixel is not equal to a physical screen pixel.
In terms of CSS, to specifically target this group of devices, unfortunately there’s no easy way to say “apply this set of rules to all devices where physical pixels are not equal to CSS pixels”. Instead you have to fight through a whole forest of media query rules.
@media (min--moz-device-pixel-ratio: 1.5 ), |
(-o-min-device-pixel-ratio: 3 / 2 ), |
(-webkit-min-device-pixel-ratio: 1.5 ), |
(min-device-pixel-ratio: 1.5 ), |
(min-resolution: 144 dpi), |
(min-resolution: 1.5 dppx) { |
/* Retina rules! */ |
} |
'via Blog this'
Wednesday, February 20, 2013
[HOWTO] Fix User lost Administrator privileges
[HOWTO] Fix User lost Administrator privileges:
Shut down the computer if it is on.
-> Press the power button to start the computer.
-> Immediately press and hold the Command (Apple) key and the "s" key for single-user mode.
-> Type "mount -uw /" and press return.
-> Type "passwd" and press return.
-> Enter new password (this will be for the root user account) and press return.
-> Type "reboot" and press return.
-> Enter Account settings and when prompted for administrator account and password, use the user name root and the password you just setup
-> Check box for you standard account to administrate box
-> If all goes well you are admin again.
I will add to this, please DISABLE the root account after you do this, or at very least, use a good, strong password."
'via Blog this'
Shut down the computer if it is on.
-> Press the power button to start the computer.
-> Immediately press and hold the Command (Apple) key and the "s" key for single-user mode.
-> Type "mount -uw /" and press return.
-> Type "passwd" and press return.
-> Enter new password (this will be for the root user account) and press return.
-> Type "reboot" and press return.
-> Enter Account settings and when prompted for administrator account and password, use the user name root and the password you just setup
-> Check box for you standard account to administrate box
-> If all goes well you are admin again.
I will add to this, please DISABLE the root account after you do this, or at very least, use a good, strong password."
'via Blog this'
Subscribe to:
Posts (Atom)
Bookmarks
Generators
- .NET Buttons
- 3D-box maker
- A CSS sticky footer
- A web-based graphics effects generator
- Activity indicators
- Ajax loader
- ASCII art generator
- Attack Ad Generator
- Badge shape creation
- Binary File to Base64 Encoder / Translator
- Browsershots makes screenshots of your web design in different browsers
- Button generator
- Buttonator 2.0
- Color Palette
- Color schemer
- Color Themes
- Colorsuckr: Create color schemes based on photos for use in your artwork & designs
- Create DOM Statements
- CSS Organizer
- CSS Sprite Generator
- CSS Sprites
- CSS Type Set
- Digital Post It Note Generator
- Easily create web forms and fillable PDF documents to embed on your websites
- egoSurf
- Favicon Editor
- Favicon generator
- Flash website generator
- Flip Title
- Flipping characters with UNICODE
- Form Builder
- Free Footer online tools for webmasters and bloggers.
- Free templates
- FreshGenerator
- Genfavicon
- hCalendar Creator
- HTML form builder
- HTML to Javascript DOM converter
- Image Mosaic Generator
- Image reflection generator
- img2json
- JSON Visualization
- Login form design patterns
- Logo creator
- Lorem Ipsum Generator
- LovelyCharts
- Markup Generator
- Mockup Generator
- Online Background Generators
- PatternTap
- Pixenate Photo Editor
- Preloaders
- Printable world map
- punypng
- Regular Expressions
- RoundedCornr
- SingleFunction
- Spam proof
- Stripe designer
- Stripe generator 2.0
- Tabs generator
- Tartan Maker. The new trendsetting application for cool designers
- Test Everithing
- Text 2 PNG
- The Color Wizard 3.0
- tinyarro.ws: Shortest URLs on Earth
- Web 2.0 Badges
- Web UI Development
- Website Ribbon
- wwwsqldesigner
- Xenocode Browser Sandbox - Run any browser from the web
- XHTML/CSS Markup generator
Library
- 12 Steps to MooTools Mastery
- AJAX APIs Playground
- Best Tech Videos
- CSS Tricks
- FileFormat.info
- Grafpedia
- IT Ebooks :: Videos
- Learning Dojo
- Linux Software Repositories
- NET Books
- PDFCHM
- Rails Engines
- Rails Illustrated
- Rails Metal: a micro-framework with the power of Rails: \m/
- Rails Podcast
- Rails Screencasts
- RegExLib
- Ruby On Rails Security Guide
- Ruby-GNOME2 Project Website
- Rubyology
- RubyPlus Video
- Scaling Rails
- Scripteka
- This Week in Django
- WebAppers