Thanks Jon for answering this:
for /lis your friend:for /l %x in (1, 1, 100) do echo %xStarts at 1, steps by one, and finishes at 100.
Use two
%s if it’s in a batch filefor /l %%x in (1, 1, 100) do echo %%x
–jeroen
Posted by jpluimers on 2015/08/26
Thanks Jon for answering this:
for /lis your friend:for /l %x in (1, 1, 100) do echo %xStarts at 1, steps by one, and finishes at 100.
Use two
%s if it’s in a batch filefor /l %%x in (1, 1, 100) do echo %%x
–jeroen
Posted in Batch-Files, Development, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2015/08/25
Really really cool!
Vysor (by Koushik Dutta aka Koush) lets you not only share and control your Android device screen from your local Chrome browser, but also remotely to others having a Chrome browser with Vysor installed. And Vysor gives you full ADB access to your Android device.
Some links to get started:
To get started:
After connecting over ADB, Vysor sideloads the Android code to share both screen and input. So besides viewing your screen, you can then control it.
Of course your mouse works, including scrolling. And the keyboard for entering text.
There are also some special keys:
Posted in Android Devices, Chrome, Google, Power User, Vysor | 1 Comment »
Posted by jpluimers on 2015/08/25
It took me a while to find the original illustration (especially as it was copied so often in low quality), but below it is.
Martin Wienold made a great joke based on it last year:
There are only two hard problems
- naming things
- cache invalidation
- off-by-one errors
–jeroen
via: G+; Programmers’ hardest tasks.
Original (October 2013): Don’t go into programming if you don’t have a good thesaurus | ITworld.
Posted in Development, Software Development | Leave a Comment »
Posted by jpluimers on 2015/08/24
Because http://fritz.box points to my Fritz!BOX router, it cannot be used to get to my Fritz!WLAN Repeater. I just learned about the http://169.254.1.1 trick does.
Which saves me from remembering the repeater IP-address or name.
–jeroen
via: Opening the FRITZ!Box user interface | FRITZ!WLAN Repeater 1750E | AVM International.
Posted in Fritz!, Fritz!Box, Fritz!WLAN, Internet, Power User, routers | Leave a Comment »
Posted by jpluimers on 2015/08/24
A while ago, I got this error:
Accessing the Software Management Failed System management is locked by the application with pid 17730 (/usr/lib/YaST2/bin/y2base). Close this application before trying again. Would you like to abort or try again? [Retry] [Abort]
What happened is that a terminal session that had YaST open got disconnected (don’t you love WiFi) while checking for updates.
I tried to re-login and re-check for updates and got this error.
Looking for process 17730 indeed revealed it was YaST:
snap:~ # ps 17730 PID TTY STAT TIME COMMAND 17730 pts/0 Sl+ 0:11 /usr/lib/YaST2/bin/y2base online_update ncurses
A simple kill would get rid of that process:
sudo kill 17730
–jeroen
via: yast locked.
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/08/23
When one of my DevOps friends asks: Was ist Cloud?.
Kristian Köhntopp even published it as a SlideShare deck with transcript: Was ist Cloud?.
There is even a video: Froscon “Was ist Cloud?” – Video.
Thanks a million, Kris, this is very much worth reading for anybody doing Ops, Dev or DevOps.
There is even a
If you can’t read German: tough luck (;
–jeroen
Posted in Cloud, Development, Firewall, Infrastructure, Software Development | Leave a Comment »
Posted by jpluimers on 2015/08/22
We have two “Bullit” ceiling fans with built-in dimmable lights. Both of them started to malfunction after about 10 years of usage, about a year apart.
They are really nice, both in looks and build quality (heavy duty electric motor, cast aluminium block, screws nicely hidden away).
So this weekend, I took the canopy apart and found out that the receiver device that processes the infra-red signal has broken: it does not pass on the incoming current to either the light or the fan engine.
That receiver part looks like this (handheld is on the right):
I came across a Westinghouse GS–26-78095-WH08 model. The image is below
Is that a universal replacement for many ceiling fan/light devices?
via Does an infrared ceiling fan exist? – AVS Forum | Home Theater Discussions And Reviews.
–jeroen Read the rest of this entry »
Posted in LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2015/08/22
This was a search for ISDN S0 bus: https://www.google.com/search?q=ISDN+S0+bus
Google thinks it is in German, but it is in English: even the html tag indicates it is in English:
<!doctype html><html itemscope="" itemtype="http://schema.org/SearchResultsPage" lang="en"><head><meta content="/images/google_favicon_128.png" itemprop="image"><meta content="origin" id="mref" name="referrer">
I cannot change the page so nothing I can use from the suggestions in html – Why does Chrome incorrectly determine page is in a different language and offer to translate? – Stack Overflow.
Anybody knows what can I do to prevent this wrong guess?
Can anyone from +GoogleTranslate please step in?
Posted in Chrome, Google, GoogleSearch, GoogleTranslate, Power User | Leave a Comment »
Posted by jpluimers on 2015/08/21
Interesting Dutch thread about a major ISP having DNS issues because of DDos attacks. Many messages to set your DNS servers manually on various operating systems, and a list of good DNS server alternatives. Recommended reading:
Ziggo kampt weer met storing – update – IT Pro – Nieuws – Tweakers.
–jeroen
Posted in Internet, Power User, routers | Leave a Comment »