Archive for March, 2016
Posted by jpluimers on 2016/03/07
Reminder: install mosh and get it working when it runs behind a firewall.
Mobile shell that supports roaming and intelligent local echo. Like SSH secure shell, but allows mobility and more responsive and robust.
Links:
Then see how well it stacks up against or complements with the ssh/tmux combo.
–jeroen
Read the rest of this entry »
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2016/03/07
Last friday I updated the examples at *nix networking – lsof: How to tell what process has a specific port open on Linux (via: Server Fault) as I needed to document some of the machines around here (so it becomes easier replacing them).
I also added some links to background information and (when I get to using it: OS X still goes without) a good iproute2 starter page.
–jeroen
Posted in *nix, *nix-tools, Apple, Communications Development, Cygwin, Development, Internet protocol suite, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, TCP | Leave a Comment »
Posted by jpluimers on 2016/03/05
I was on the road last monday, so I missed this crash, but the good news is that Beyond Compare Technical Support indicates the upcoming v 4.1.4 will fix that for the future.
Cases like these are hard to find and fix a priori as you cannot force the cloud services to run faking a certain date…
Update (somehow my browser cache didn’t see this page when posting): the update was already out; see the change log at Download Beyond Compare which lists a lot of nice other things as well (including a way to force 32-bit installation on x64 windows versions when some of your other tooling cannot cope with x64 DLLs).
–jeroen
Posted in Beyond Compare, Power User | Leave a Comment »
Posted by jpluimers on 2016/03/04
So my ScanSnap ix500 has a box too (actually a Leitz Rotho Profiline 10 Schübe drawer). The ix500 scans double sided and takes like 2 seconds per sheet. Works through WiFi (or USB) on both PC and Mac.
This is the process:
- I scan and roughly sort the document by destination in a drawer.
- A Windows VM creates OCR PDF and puts them into the cloud.
- It gets synced to my Macs, where spotlight indexes them by content.
- Once a month I split off the parts for my bookkeeper, file important non bookkeeping stuff and shred the rest.
- I name files on a selective base (as spotlight is very good at finding the rest).
This is why I like it over scanning with your mobile phone any time:
My ix500 setup just works.
Now I need to optimise the S510 scanned files. Maybe linux – optimize PDF files (with Ghostscript or other) – Stack Overflow (from the same thread) works.
–jeroen
via: Hey everyone, we are currently preparing the next release.
Posted in Fujitsu ScanSnap, ix500, LifeHacker, Power User, Scanners, SpotLight | Leave a Comment »
Posted by jpluimers on 2016/03/03
I know, old knowledge, but I only recently added the below batch files to file collection.
Why? Because since a few Windows versions, the System process uses port 80 because IIS is installed by default in many configurations. And recently I had to do quote a bit of http communication work against a local machine outside the IIS realm.
windows 7 – Why is System process listening on Port 80? – Super User.
Stop IIS:
:: http://stackoverflow.com/questions/22084561/difference-between-iisreset-and-iis-stop-start-command
:checkPrivileges
net file 1>nul 2>nul
if '%errorlevel%' == '0' ( goto :gotPrivileges ) else ( goto :getPrivileges )
:isNotAdmin
:getPrivileges
echo You need to be admin running with an elevated security token to run %0
goto :exit
:isAdmin
:gotPrivileges
:: net stop w3svc
:: net stop iisadmin
iisreset /stop
:exit
::pause
exit /b
Start IIS:
:: http://stackoverflow.com/questions/22084561/difference-between-iisreset-and-iis-stop-start-command
:checkPrivileges
net file 1>nul 2>nul
if '%errorlevel%' == '0' ( goto :gotPrivileges ) else ( goto :getPrivileges )
:isNotAdmin
:getPrivileges
echo You need to be admin running with an elevated security token to run %0
goto :exit
:isAdmin
:gotPrivileges
:: net start w3svc
:: net start iisadmin
iisreset /start
:exit
::pause
exit /b
–jeroen
Posted in Batch-Files, Development, IIS, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2016/03/02
Convert HTML to Markup using CSS:
–jeroen
Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2016/03/01
Too bad the accepted answer forgets about deleted files.
Use one of these to compare (but not sync) two directory trees.
For size-only comparision:
rsync -n -avr --size-only --delete /abc/home/sample1/ server2:/abc/home/sample2/
If you want to compare both contents and size:
rsync -n -avrc --delete /abc/home/sample1/ server2:/abc/home/sample2/
–jeroen
via: diff – compare files in two directory on remote server using unix – Stack Overflow.
Posted in *nix, bash, Development, Power User, rsync, Scripting, Software Development | Leave a Comment »