SSL encryption is widely used now. Google even switched their search service on using SSL. Considering how these guys are crazy on webpage transfer and rendering speed and consumer data safety this could be the proof of SSL's fantastic speed and secyrity characteristics.
SSL certificate is a one way security method, which means that consumer is protected of fake server authority. What if we are interested in 2 way protection? Here it comes the <keygen/> tag functionality.Read more
Application deploy process is very common practice in web development. Each time new release is ready an automated deploy system is been launched.
Some experience in building and maintaining complicated visual installations gave me awareness that visual installations deploy process is such needed as in web system world. Exhibitions, permanent installations, shop windows etc requires 24/7 application run mode and approximately no downtime at all.
Deployment tools are rare example of universal tool which could operate in very dissimilar environments. And here in this topic I'll show how to make capistrano and windows applications work together.Read more
This might be helpful if you are testing your site on mobile device. Suppose you want to do a quick fixes and check them immediately on side device.
This script is a rack based web server which launches in current folder and serves static files through port 8080.
#!/usr/bin/env ruby require 'rubygems' require 'rack' staticMe = Rack::Builder.new do run Rack::Directory.new( Dir.pwd ) end Rack::Handler::Thin.run(staticMe, :port => 8080)
Recently I was developing some websockets application based using cramp framework.
And accidentally got stopped by very strange behaviour: WebSocket intance sent data fine but didn't recieved any. Neither any errors in console nor in Thin logs.Read more
I have a set of images in some dimension, e.g. 128x200. And I have to resize every pic in the set to new dimension 256x256 with transparent background.
There is a quick bash tip for it:
# cd to a folder with pic set cd pics_folder # folder for tmp stuff mkdir tmp # creating of transparent canvas with actual size convert -size 256x256 xc:transparent tmp/canvas.png # for-loop over every file in set for f in *.png do composite -gravity center $f tmp/canvas.png $f done # remove tmp folder rm -r tmp
Recently I got stuck with debugging my VLCJVideo binding. Everything was fine if it run as processing sketch, but nothing happened if it launched as native application. How to look under the native application's hood?Read more
There is very common case downloading huge collection of images from some APIs through network.
And sure it's very important to minimize network traffic during our sketch is in work.
One should care about it considering decreasing launchtime and optimal memory usage for sketch.Read more
Video rendering is one of the weakest Processing sides at all.
Native Processing video is based on Andres Colubri's GSVideo library which uses GStreamer as video backend.
I guess everyone knows that there is even more powerfull framework for video: VLC.
So, let's make Processing and VLC to be friends!