Sense or Nonsense!?

18.06.2010

Show samsung that you would like to have android 2.1 or newer on your i7500

Filed under: Misc — Tags: — Ephraim @ 11:04

Go here: http://ars.samsung.com/customer/usa/jsp/faqs/faqs_view_us.jsp?SITE_ID=6&PG_ID=0&AT_ID=236640&PROD_SUB_ID=0&PROD_ID=954
which is the FAQ of Samsung and comment it with your dislike!!

Ciao Ephraim

27.06.2009

Autonumbering of iTunes playlist tracks

Filed under: Misc — Ephraim @ 22:08

So, I needed to rename MANY iTunes tracks to the format of
001
002
003
004
a.s.o.

Started doing 20 tracks per day, I got frustrated to do it after the third day. And as I’m a developer, I tought there must be an easier way to do this.
Wonder what, there is an easier way!!!! :) …. Thanks to AppleScript.

Here it is, just create a custom playlist with name “temp” and you are done, after executing this AppleScript:

tell application "iTunes"
set oldfi to fixed indexing
set fixed indexing to true
repeat with i from 1 to count tracks of playlist "temp"
set aTrack to track i of playlist "temp"
set name of aTrack to (do shell script "printf %.3d " & i)
end repeat
set fixed indexing to oldfi
end tell

Have Fun! Life is to short to do this by hand :P

Ciao Ephraim

21.04.2009

Finally; git via ssh SOCKS proxy on windows

Filed under: Misc — Ephraim @ 08:05

YEAHA!!!

I managed it to get git work via my ssh proxy tunnel … after min. 5 tries in a period of about 1 year, it finally works :) .

Git for Windows:
http://git-scm.com/download

Proxy Connect Command for Windows:
http://bent.latency.net/bent/darcs/goto-san-connect-1.85/src/connect.html

My “proxyCmd.bat” (e.g. put it into c:\program files\Git\bin):

@echo off
set CONNECT=c:\program files\Git\bin\connect.exe
set PROXY=localhost:815

"%CONNECT%" -S %PROXY% %*

So all tools installed. You will need a Putty connection to a server with a dynamic SSH Tunnel connection on port 815.

Now we tell git to use the proxyCmd.bat:

git config core.gitproxy "c:\program files\Git\bin\proxyCmd.bat"

Now git should use the ssh SOCKS Tunnel … don’t forget to open the ssh connection :) .

[EDIT]
If you want to set the git proxy system global, you need to set the environmentvariable GIT_PROXY_COMMAND.
e.g.:

set GIT_PROXY_COMMAND=c:\program files\Git\bin\proxyCmd.bat

[/EDIT]

Ciao Ephraim

28.10.2008

Hello world!

Filed under: Misc — Ephraim @ 11:24

My blog is born. As everyone needs to have a blog today, I decided to create one for me too :) .
I wonder if this was a good idea!

Ciao Ephraim

Powered by WordPress