Parsing JSON in Shell scripts
This can be simple by using jq. This is a command line JSON processor. Here are a couple of examples of what can be done: $ cat json.txt { "name": "Google", ...
This can be simple by using jq. This is a command line JSON processor. Here are a couple of examples of what can be done: $ cat json.txt { "name": "Google", ...
Yealink W52P So I was looking to replace my analog cordless phones mainly because I wanted to have a centralized way to maintain phonebooks. Right now I have two cordless phone that I have to manually enter phonebook entries on the two handsets independently. Initially I was thinking of getting small/cheap Android tablet and load it with a SIP soft phone. Trying with a couple of tablets I had was not very successful. On one hand my network topology did not work very well, on the other hand, the integration of the SIP soft phone with the directory and the other phone functions did not work as well as I expected. So when I came across the W52P, I was initially attracted to the low price. Grandstream had a cheaper phone, but it did not have remote phonebooks. After checking the documentation of the W52P, I confirmed that it did have a remote phonebook functionality. So bought it and tried it out. As a phone itself, it is about the same as the analog phones that it was replacing. The voice quality was pretty good. ...
Grandstream GXP1400 The other day I replaced an analog phone with a Grandstream GXP1400 IP phone. I think it is a great value phone. It is one of the cheapest I could find yet supports all the features I was looking. Specifically I wanted a IP phone that could: Have a remote phone directory ...
The other day I found Gmvault. Gmvault is an open source Gmail backup software written in Python. This article provides a good overview on how it works (found it better than the Gmvault documentation): How to back up and restore Gmail account on Linux ...
This is a good link to keep an eye on: box.com promotions ...
linuxaria blog article This article has a script how to use Dynamic DNS on afraid.org. ...
Assist is my archlinux scripted installation script. https://github.com/alejandroliu/assist By default it gives you a menu driven archlinux installation with supposedly sensible defaults. It has command line hooks so that you can perform automated installs using bash scripts to customize it. ...
A bunch of stupid SSH tricks that can be useful somehow, somewhere... Forcing either IPv4 or IPv6 This is for the scenario that you know which specific protocol works to reach a particular host. Usually good to eliminate the delay for SSH to figure out to switch IP protocols. For IPv4: ssh -4 [email protected] ...
Microsoft is now making available Windows VM image for testing Internet Explorer for free. You can find them at: Modern IE testing Currently the following versions are available: Windows XP Professional SP3 + IE 6 or 8 Windows Vista + IE 7 Windows 7 + IE 8, 9, 10 or 11 Windows 8 + IE 11 ...
RemoteBox is a Remote VirtualBox UI. It is similar phpVirtualBox in that allows to manage VirtualBox remotely (on a potentially headless server). They differ in their requirements: RemoteBox does not require much on the server, but you need to install it on the client. phpVirtualBox only requires a browser and rdp viewer on the client, but requires a web server with PHP support on the server. ...
When trying to get on-to the IPv6 Internet, here are a couple of links to do diagnostics: http://www.subnetonline.com/pages/ipv6-network-tools/online-ipv6-ping.php This actually contain generic network tools. http://ds.testmyipv6.com/ Confirm if your browser is connecting through IPv6 ...
Another short and sweet. This web site provides a number of on-line tools. Useful for diagnosing problems when setting a home server. http://pingtool.org/ ...
As usual with any IT system backups are important. This does not change when using a free shared hosting provider. Because it is free, one would argue it is even more important. For my wordpress web site I used something called cli-exporter. It let's you create "Wordpress" export files from the command line so it can be run from cron. This is important because backups have to be automated. In addition to that, I copy the backup files to an off-site location. I do this by copying files using WebDAV to a storage provider. I did this by writing a simple script and using the PHP library SabreDAV which makes writing DAV clients quite easy. I myself don't mind using other people's Open Source code to do something. I was actually surprised that I was not able to find something that meet my criteria. However, thanks to the power of open source I was able to find something that fit the bill exactly. To make things more interesting, because I wanted to keep backup files as compressed Zip archives, my backup scripts did not work in one of the web hosts that I was using. They did not have the zip extensions enabled. This is surprising considering is quite standard. Luckily I was able to find a pure PHP library pclzip. ...
A quick and dirty mini-howto to setup a proxy on Ubuntu. This is meant mostly for doing quick setup of a proxy on a cloud environment. Install Squid with the following command at the Linux command prompt: ...
So I have signed up 0ink.net to use the CloudFlare service. CloudFlare is a reverse proxy service that is supposed to speed up and improve web server security. This is done by: globally distributed reverse proxy cache network ...
So last weekend finally had some time to work with a Askozia Desktop Appliance. It actually arrived much earlier but without a Power Supply. Initially I though, "this is strange; I didn't know this supported PoE". (Power Over Ethernet). It turns out it didn't and there was a shipping mistake. After contacting the vendor, they sent me the required Power Supply. Overall I think the product is quite nice. It has a very nice User Interface that is quite easy to use. Simple configurations are indeed very easy to set-up. My feeling is that, as with any GUI, it usually trades user-friendly with expressiveness. So while I could configure most of the things I wanted from the UI, it did not support my home network topology fully. Initially, I had a DMZ vs Home-LAN configuration, with the Askozia box in the DMZ. Because the separation between the DMZ and the Home-LAN was through the router, it considered all the IP phones (in the Home-LAN) on the other side of the NAT, so things did not work properly. ...
This is an interesting concept. Essentially is an Encryption dongle that encrypts stuff between your PC and your USB mass storage device. Addonics Product: CipherUSB. ...
So when upgrading software packages sometimes you need to merge changes. My recipe in archlinux is as follows: Look for *.pacnew files. Retrieve the original version (from /var/cache/pacman) from the old source package. Use a 3 way merge tool between old version, current file and the pacnew file. ...
Recently I found this Open Source project. Apparently it recently gained support to unpack Exchange Offline Address Book files. What I don't know is after you unpack it, how would you use such a file. Intriguing but apparently falls a little bit short. Probably would need to try it out for myself to see how it works. libmspack. ...
The other day I came across this project. Looks an interesting idea. It is a project that lets you run unmodified Linux binaries on Windows. It is more similar to WINE than to for example coLinux. While I conceptually I understand how it would work at a low level, I am curious how it works with dynamically link executables. This is something I would like to test out when I have time. ...