tips: search text into list file and order by date
Simple but power command to search text inside file ed order list file by date ….. thx to google and all user grep -rl ‘REGEX’ * | xargs ls -trl
Simple but power command to search text inside file ed order list file by date ….. thx to google and all user grep -rl ‘REGEX’ * | xargs ls -trl
wac.exe is a small command line utility that lets you use ANSI colors on Windows. link https://github.com/aslakhellesoy/wac
how to start emacs in terminal-mode instead of graphical mode ? the solutions is : emacs -nw
if you have this message you’are using a 64-bit WINEPREFIX, most of winetricks hasn’t been fixed for win64 yet. rm $HOME/.wine -rf export WINEARCH=win32 export WINEPREFIX=$HOME/.wine/ now, you use wine 32 bit into gentoo (or other distro) 64 bit :D
#!/bin/bash # Backup file remote/local # By Carlo Bertini [WaYdotNET] # il tutto utilizzando rsync senza scomodare subversion # RSYNC OPTION # -r => ricorsivo # -l => copy symlinks as symlinks # -p => preserve permissions # -v => verbose # -u => update, ignorare i file che sono più nuovi nella destinazione # -a => archive mode # -z => comprime i file durante l invio # -h => rendere leggibile l output # –delete => cancello i file estranei nella destinazione ...
Because i need to highlight and bookmarks pdf file on linux/windows, only solution wich i’ve found is Foxit Reader 3.3.1 for Windows [UPDATE] Foxit Reader 4.0 for Windows link 06/29/10 The linux version is too old and not have these function, but with wine work well (you need also mdac2.8 and jet4.0) tips 4 me: create foxit in $HOME/bin #!/bin/sh wine /home/waydotnet/wine_tools/Foxit Reader.exe $1 and chmod +x foxit If you found another solution, please comment :D Bye ...
compile wxruby 64bit system: export CFLAGS=-fPIC CXXFLAGS=-fPIC LDFLAGS=-fPIC Set proxy: export http_proxy=“http://user:pass@proxy:port” export ftp_proxy=“http://user:pass@proxy:port”
RMagick on Ruby 1.9.1 (i386-mingw32) Work !!! :D Ispirate from : installing rmagick with mingw and ruby 1.9 and http://groups.google.com/group/rubyinstaller/browse_thread/thread/c837c4438d91208b but , on my laptop don’t work…. With Windows 7 work well: Step 1: DOWNLOAD Ruby => http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe DevKit => http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe ImageMagick => http://www.imagemagick.org/download/binaries/ImageMagick-6.6.7-9-Q16-windows-dll.exe RMagick => https://github.com/rmagick/rmagick/zipball/master type-windows.xml => http://www.imagemagick.org/source/type-windows.xml Step 2: Install Ruby => c:Ruby192 DevKit => c:DevKit ImageMagick => c:ImageMagick-6.6.7-Q16 [WITH HEADER !!!!!!!] 3.a) Replace c:ImageMagick-6.6.7-Q16configtype-ghostscript.xml with type-windows.xml RMagick => c:rmagick-rmagick Step 3: Set Enviroment variable ...
[caption id=“attachment_92” align=“aligncenter” width=“258” caption=“Carlo Bertini // Patrizio Grimaldi”][/caption] Siamo bellissimi :D
Qui raccolgo un po di script che mi sono fatto x la vita di tutti i giorni :D Photo resize (photo_resize) piccolo script in ruby che serve per fare delle thumbnails di foto, passando almeno la cartella contenente le foto (strano :D) Require: ruby (test with: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] ||ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux] || jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [amd64-java] ) rmagick (http://rmagick.rubyforge.org/) optiflag (http://optiflag.rubyforge.org/) syntax: ...