26 Recent Entries tagged with »Dropbox«
macbook-sts:~ stefan$ nl `which attachr`
1 #!/usr/bin/env ruby
2 #
3 # This file was generated by RubyGems.
4 #
5 # The application 'attachr' is installed as par...
Install Imagemagick (you might want to use sudo port install imagemagick on a Mac).
Welcome to Darwin!
macbook-sts:~ stefan$ cd ~/images/
macbook-sts:~ stefan$ for i in $(ls); do identify $i ...
The nohup utility invokes command with its arguments and at this time
sets the signal SIGHUP to be ignored. If the standard output is a terminal, the standard output is appended to the file nohu...
free is a command to show memory usage on variuos linux distributions. As "free" is not available on Mac OS X you have to use something different.
To determine the size of memory on Mac OS X ...
With Mac OS X Leopard and Time Machine, not only can you back up and preserve everything on your Mac - including priceless digital photos, music, movies, and documents - without lifting a finger, ...
The "-c" or "--charset" option specifies the character set for the HTML output.
Assuming your current locale is non US the following piece of code will throw a ParseException: Unparseable date: "06-Mar-2006 12:35"
SimpleDateFormat format = new SimpleDateFormat("dd-MMM-...
Let's assume that you have a bunch of images for which you want to create thumbnails.
The thumbnails should be rotated 90 degrees counter clockwise (that is 270 degrees clockwise), scaled to a specific size and renamed from abc_large.png to abc_thumb.png.
If you don't want to name your asset directories for javascript files and stylesheets "javascripts" and "stylesheets" here is how you can change the default path settings.
1) Zeitraum Logfiles
bash-2.03$ head -1 de-static_access.log; tail -1 de-static_access.log
193.168.0.4 - - [31/Aug/2005:17:21:27 +0200] "GET / HTTP/1.0" 200 5276 "-" "Mozilla/4.0 (compatible; MS...
htpasswd | August 31, 2005
Route hinzufügen
route -p add ZU_ERREICHENDE_IP mask 255.255.255.255 IP_ROUTER_RECHNER
Route löschen
route delete ZU_ERREICHENDE_IP
Anzeige der bestehenden Routen
route print
...
If you are running a SSH server on a non-standard port such as 1234 you are most likely going to run into trouble when e.g. trying to use Subversion over SSH, because the Subversion client does not...
Ever wondering who those "n users connected" are when you look at the Sharing part of the Preferences of your iTunes? Well wonder no more - it turns out fairly easy to figure out in Terminal.app; ...
Recommended plugins:
Lomboz J2EE http://www.objectlearn.com/projects/lomboz.jsp
UpdateSite: -
Download: http://forge.objectweb.org/project/showfiles.php?group_id=97
Benötigt: Eclipse EM...
class ApplicationController < ActionController::Base
before_filter :set_default_content_type
def set_content_type(content_type)
@response.headers["Content-Type"] = ...
@hash.iconv!("iso-8859-1", "utf-8")
require 'iconv'
class Hash
def iconv!(to,from)
iconv = Iconv.new(to,from)
perform_iconv!(iconv)
iconv.clos...
http://svnbook.red-bean.com/en/1.1/ch07s03.html
powermac:~/ruby/rails/weblog sts$ svn propset svn:externals lib/ http://svn/repos/lib/trunk
...
You can use the openssl commandline tool to fetch a ssl certificate.
powermac:~ sts$ openssl s_client -connect www.openbc.com:443 | tee logfile
The certificate will have "BEGIN CERTIF...
Generate sample xml form XML Schema
Get the xmlgen.jar from http://www.sun.com/software/xml/developers/instancegenerator/
Generate my.xml from bewerbung.xsd.
stefan@www:~$ java -jar xmlgen....
(make sure /path/to/dir/containing/mysql_config is in your PATH)
$ perl -MCPAN -eshell
cpan> look DBD::mysql
$ perl Makefile.PL
$ perl -pi -e's/MACOSX/env MACOSX/' Makefile
$ make
$ make ...