Sitemap
pages
-
About
(posted 2018-06-01 14:20:46+02:00)
Welcome to 0ink.net. This is my personal web site. I use this to collect my notes. Usually clippings from the Internet that I want to keep together in a single place but keep available over the Internet. See this on github.
-
Privacy Policy
(posted 2018-06-06 09:38:46+02:00)
What is this Privacy Policy for? This privacy policy is for this website https://0ink.net/ and its sub-domains and governs the privacy of its users who choose to use it. The policy sets out the different areas where user privacy is concerned and outlines the obligations & requirements of the …
posts
-
Raspberry Pi emulation with Qemu
(posted 2023-03-01 00:00:00+01:00)
The idea here is that we use a Desktop PC for developing/debugging Raspberry Pi set-ups using qemu for emulating Rasperrby Pi. qemu currently supports the following configurations: Raspberry Pi Zero and 1A+ (armhf) Raspberry Pi 2B (armv7) Raspberry Pi 3A+ (aarch64) Raspberry Pi 3B (aarch64) This is the version …
-
Home Assistant Wall Panel
(posted 2023-02-20 00:00:00+01:00)
For a while I was using TabletClock with old tablets. But this has not been updated in a while. I was thinking of writing my own version until I found WallPanel. Essentially it is purposely built web-browser with special features which makes it possible to use it to replaces TabletClock …
-
RDP vs VNC
(posted 2023-02-10 00:00:00+01:00)
For years I have been using VNC for my remote desktop needs. This works usually well enough. The features that I like are: Basic set-up is easy Desktop sessions are persistent Can be used to view an actual X11.org desktop. Browser based clients via noVNC or Guacamole On the …
-
QNAP Snapshots
(posted 2023-02-01 00:00:00+01:00)
I wrote a small tool to access QNAP snapshots from the Linux command line. Pre-requistes: Snapshots have to be enabled You need a /share/netcfg containing the file: In my case, I set this share as read-only with root-squash. `admin.yaml' : contains the private/public keys and the configuration of …
-
Docker on Void
(posted 2023-01-20 00:00:00+01:00)
This is a quick recipe to run Docker on void: Make sure your system is up-to-date: sudo xbps-install -Syu Install docker executables: sudo xbps-install -S docker Check if docker was installed properly: docker --version Enable services: sudo ln -s /etc/sv/containerd /var/service sudo ln -s /etc/sv/docker …
-
Home Assistant sensors
(posted 2023-01-10 00:00:00+01:00)
I finished migrating my VeraEdge to Home Assistant. I think after using it for some time, I find Home Assistant far superior to the VeraEdge in every way. So, I took the time to mostly standardise my sensors which make things simpler to manage/mantain. As such, essentially I am …
-
Happy New Year 2023
(posted 2023-01-01 00:00:00+01:00)
Best wishes for 2023! This website is now 10 Years Old.
-
A couple of useful sites for development
(posted 2022-05-29 07:01:34.662233+02:00)
Unicode Can be useful for looking up unicode code points. Particularly useful for looking up accented characters. Another interesting use is for UI graphics characters. gist-hkan This can be used to look-up emojis and shortcode for emojis. color picker Let you visually select a color so that you can paste …
-
Home Assistant RFXCOM Integration
(posted 2022-12-20 00:00:00+01:00)
RFXCOM RFXtrx This integration is to control RFXtrx devices. I am using to control Somfy blinds and KlikAanKlikUit remotes. Add integration: RFXCOM RFXtrx Conection type: Serial Select device: RFXtrx433XL - RFXtrx433XL, s/n: * - RFXCOM Remember to configure the RFXCOM unit before using it with Home Assistant as Home Assistant integration has …
-
Home Assistant Behind Reverse Proxy
(posted 2022-12-10 00:00:00+01:00)
To set-up a reverse proxy I took the following steps: configure DNS get Letsencrypt certificates Configure NGINX Configure Home Assistant to trust the proxy At the time of this writing I can't really confirm if the reverse proxy configuration for home assistant is working as I can't tell what IP …
-
Looking up docker image tags
(posted 2022-12-01 00:00:00+01:00)
This recipe is to check the tags defined for a specific Docker image in docker.hub. The basic API is at https://registry.hub.docker.com/v2 So the format is as follows: https://registry.hub.docker.com/v2/repositories/{namespace}/{image}/tags/ Where: namespace : usually is the user account …
-
Home Assistant Large Clock
(posted 2022-11-21 00:00:00+01:00)
-
Home Assistant HTTP Based Authentication Backend
(posted 2022-11-11 00:00:00+01:00)
This recipe is to authenticate users using a web server providing Basic HTTP authentication for it users. This is useful if you want to consolidate users/passwords in a single system. So instead of managing users on Home Assistant you can have all users managed from a central location. It …
-
Moving to Home Assistant
(posted 2022-11-01 00:00:00+01:00)
I am busy moving away from my VeraEdge installation to a Home Assistant running on a Raspberry Pi 4. This is because it looks like the maker of the VeraEdge was bought and it is slowly being phased out. For this I am using the following parts: Geekwork X728 18650 …
-
Markdown cheat sheet
(posted 2022-10-20 00:00:00+02:00)
This is intended as a quick reference and showcase. For more complete info, see John Gruber's original spec and the Github-flavored Markdown info page. Headers Source: # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 Alternatively, for H1 and H2, an underline-ish style: Alt-H1 ====== Alt-H2 ------ Output: H1 H2 H3 H4 H5 H6 Alternatively …
-
Nanowiki
(posted 2022-10-10 00:00:00+02:00)
NanoWiki is a Wiki implementation based on picowiki. I have been using SimpleNote for a number of years. It works pretty well but somehow I was looking for: Ability to include and render nice asciiart pictures Organizes articles in a folder structure. So I was looking for a Wiki package …
-
X728 kit for Raspberry Pi 4
(posted 2022-10-01 00:00:00+02:00)
As part of my small project of movng my Z-Wave Hub to a Raspberry PI, I got an X728 kit. This has: UPS controller board RTC circuit Battery and Power control board Case Button Cooling fan Additional Battery holder The case has holes for wall-mounting. The Geekworm X728 kit is …
-
cuylib
(posted 2022-09-20 00:00:00+02:00)
This is a tiny library to implement Web server embedded editor. You can find it in github. Can be used either from haserl or directly from a shell script. Features: Uses codemirror Escaped HTML entities (html_enc) Decode URL escaping (url_decode) Read POST form data (post_data) Parse QUERY_STRING (query_string and query_string_raw …
-
Photoprism
(posted 2022-09-10 00:00:00+02:00)
photoprism is a web based photo management application. From its website: PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or …
-
SupervisorUI MF
(posted 2022-09-01 00:00:00+02:00)
In a previous article, I updated a supervisorui project to work for me. This updated version supervisorui-redone is essentially a PHP application which is a different approach from the original supervisorui project which was more of a JavaScript application with some helper functionality implemented in PHP. As such, I figured …
-
Supervisorui REDONE
(posted 2022-08-25 00:00:00+02:00)
Currently I am using docker containers to deploy applications. A number of those containers make use of supervisord for managing processes. While supervisord itself comes with a UI, it is unhandy for me because each container is its own supervisord instance. So I was interested in some software that would …
-
voidlinux virtualization
(posted 2022-08-14 00:00:00+02:00)
This recipe is for setting virtualization on a voidlinux desktop. Use this setup script to set things up on void linux. Connecting to libvirtd Note that virsh and virt-manager commands connect to different libvirtd sessions by defauult. virsh defaults to qemu:///session while virt-manager to qemu:///system. It is better …
-
A couple of useful sites for development
(posted 2022-05-29 00:00:00+02:00)
Unicode Can be useful for looking up unicode code points. Particularly useful for looking up accented characters. Another interesting use is for UI graphics characters. gist-hkan This can be used to look-up emojis and shortcode for emojis. color picker Let you visually select a color so that you can paste …
-
Keyboard Mouse control
(posted 2022-02-13 00:00:00+01:00)
This comes in handy when working at a colo or someplace where you don't have a mouse and then find yourself needing to use X11. Press the following key combo: Ctrl-Shift-Numlock Now you can control the mouse pointer using the number pad. The key bindings are: Move the mouse pointer …
-
flatpak
(posted 2022-02-08 00:00:00+01:00)
Flatpak is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system. Flatpak was developed as part of the freedesktop.org project and was originally called xdg-app …
-
My git release script
(posted 2022-01-12 00:00:00+01:00)
I always had issues remembering how to create releases. So in order to standardise things, I wrote this script: ghrelease So whenever I am ready to release I would then just issue the command: ./ghrelease vX.Y.Z Pre-requisistes: You obviously need git. But also you would need github-cli. Your …
-
Meta Database
(posted 2022-01-10 00:00:00+01:00)
So I was looking for a way to version control database schemas, but I never found something that worked for me. I found all these options that never seem to match what I wanted: metabase dbv delta sql Propel phinx doctrine redbeanphp At the end, I finally began doing the …
-
lnbin
(posted 2022-01-10 00:00:00+01:00)
This is my lnbin script. This is a program for managing symlink in a /usr/local/bin directory. It is similar to stow, lndir, cleanlinks and others. The approach used by lnbin is based on Stow, and it is to install each into its own tree, then use symbolic links …
-
Linux Icons
(posted 2022-01-10 00:00:00+01:00)
A quick note on how to add icons to menus in a Linux desktop. Create the icon image in: /usr/share/pixmaps. - png and svg (and maybe others) are supported. - 24x24 seems to be a good size for menus. You need to create a .desktop file in /usr/share/applications …
-
nas ops cmd
(posted 2022-01-05 00:00:00+01:00)
This is my op script. This is stupidly simple script to elevate priviledges in order to manage NFS shares on my QNAP NAS. The idea is that NFS shares do squash-root so admin access is disallowed through NFS. This gives a convenient way to issue root level commands without using …
-
Linux stuff
(posted 2022-01-04 00:00:00+01:00)
Sudoers Since sudo v1.9, it is possible to use the following statements: #includedir @includedir This is useful better for adding sudo rules rather than modifying the /etc/sudoers file. Make sure that the includedir statement is the LAST entry in /etc/sudoers and the files in the directory: names …
-
Graphviz markdown extensions
(posted 2022-01-04 00:00:00+01:00)
I have enabled several extensions to my pelican website. One that I wanted to include was graphviz. So, I searched for one and while I found a few, they somehow, did not work for me. So I wrote my own: mdx_graphviz. It is quite straight forward. You just need to …
-
Pelican Test page
(posted 2021-12-26 00:00:00+01:00)
Table of Contents shortcodes mytags Drawings aafigure blockdiag mdx_include GFM style check lists my mdx variables This page is used for testing some pelican and markdown extensions I added. shortcodes OK, this is awkward... I am not sure if this is needed. mytags Using del and ins. test mark tags …
-
DVTM
(posted 2021-12-23 00:00:00+01:00)
The other day I found dvtm. Looking at it, it looks very nice. It appeals to me because I am particularly fond of text user interfaces. At the end I choose not to use it because: terminal support was less than 100% useful. At the end of the day using …
-
Migration to Pelican
(posted 2021-12-22 00:00:00+01:00)
Finally got fedup with github pages and its jekyll static site generator. Essentially things would break without any particular reason and there would be nearly no way to tell what went wrong. I addition, it was not easy to test changes before making them public. So I switched to pelican …
-
Storing secrets in git
(posted 2021-12-22 00:00:00+01:00)
-
Enable syslog with void
(posted 2021-12-21 00:00:00+01:00)
In void Linux, the default is without logging. Most cases it is OK for desktop use. If you want to enable syslog service in void, you need to install: socklog-void Also to let your user have access to the logs, use: usermod -aG socklog Because I like to have …
-
Stupid SSL tricks
(posted 2021-12-21 00:00:00+01:00)
Some hints and tips foor doing SSL related things: Netcat for SSL This command lets you connect to a SSL server (a-la netcat): cat request.txt | openssl s_client -connect server:443 Creating self-signed certificates This is a single command to generate a self-signed certificate: openssl req -new \ -newkey rsa:4096 …
-
Linux Post Install tasks
(posted 2021-12-21 00:00:00+01:00)
-
My tale of IPv6 blues
(posted 2021-12-21 00:00:00+01:00)
My ISP provider is KPN. They recently enabled IPv6 in my street. I was using before a IPv6 Tunnel Broker, starting with SixXS and after they went out, with Hurricane Electric. So naturally, I decided to switch to KPN's native IPv6 service. They provide a /64 prefix, which is reasonable …
-
Replacing emacs...
(posted 2021-12-20 00:00:00+01:00)
So after over 30 years of using GNU emacs I have switched to a more modern options. So I am using: Geany: For use in a Window environment (both X11 and MSWIN) micro: For command line use vi: For small environments Geany Geany is a nice programer's text editor. I …
-
Linux HDMI hotplug
(posted 2021-02-28 00:00:00+01:00)
The point of this article is to document I workaround that I came up with to handle a HDMI KVM switch. What happens is that if my Linux PC is turned on while the KVM switch is selecting the other PC, it fails to initialize the display, so when you …
-
Alpine Boot switcher
(posted 2020-10-04 00:00:00+02:00)
I boot from a USB boot drive using UEFI. Because of the UEFI boot, it just a matter of copying the files from the alpine ISO to a USB thumbdrive VFAT32 partition. Partition may be set to EFI (but this doesn't seem to be required). Since I would like to …
-
PulseAudio hints and tricks
(posted 2020-10-03 00:00:00+02:00)
PulseAudio is nowadays the default sound system in many Linux distributions. It lets you do a number of useful things. PulseAudio comes with a handy command line utility pacmd to do a number of things. pacmd commands pacmd exit pacmd help pacmd list-(modules|sinks|sources|clients|cards|samples) pacmd …
-
Getting the current proxy pac configuration
(posted 2020-10-02 00:00:00+02:00)
This is done using tcl for convenience. If you do not have it installed you can download freewrap executable and rename freewrap.exe to wish.exe or freewrapTCLSH.exe to tclsh.exe. Registry Key : HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ REG_SZ AutoConfigURL = https:///proxy.pac REG_DWORD ProxyEnable …
-
Definiton of maturity
(posted 2020-04-06 00:00:00+02:00)
Maturity is: The ability to stick with a job until it’s finished. The ability to do a job without being supervised. The ability to carry money without spending it. And the ability to bear an injustice without wanting to get even.
-
Using XScreenSaver Hacks with mate-screensaver
(posted 2020-03-19 00:00:00+01:00)
Here we explain how to use XScreenSaver EXCELLENT screensaver hack collection with the MATE screensaver applet. Install xscreensaver and mate-screensaver On my linux distribution this creates the following directories: /usr/libexec/xscreensaver: contains the screensaver hacks executables /usr/libexec/mate-screensaver : contains the mate-screensaver executables /usr/share/applications/screensavers : containes the …
-
nginx's auth_request_module howto
(posted 2019-05-10 00:00:00+02:00)
This article tries to supplement the nginx documentations regarding the auth_request module and how to configure it. In my opinion, that documentation is a bit incomplete. What is the nginx's auth_request module The documentation for this module says, it implements client authorization based on the result of a subrequest. This …
-
Python Virtual Environments
(posted 2019-05-01 00:00:00+02:00)
This is the least you need to know to get to use a Python virtual environment. What is a Virtual Environment At its core, the main purpose of Python virtual environments is to create an isolated environment for Python projects. This means that each project can have its own dependencies …
-
Secure erase of disc drives
(posted 2019-04-20 00:00:00+02:00)
This article is about erasing disc drives securely. Specially for SSD drives, writing zeros or random data to discs is not good enough and counterproductive. One way to do secure erase (for disposal) is to begin with an encrypted disc. However, after the fact the following options are possible: ATA …
-
Co-existing GLIBC binaries with Void-Linux MUSL edition
(posted 2019-04-10 00:00:00+02:00)
I am running void-linux at home with musl as the standard C library. While most things work well, there is a number of programs that do not and must be using glibc counterparts. To enable this I followed this guide here: Live switching Void Linux from glibc to musl. To …
-
Calculate system availability
(posted 2019-04-01 00:00:00+02:00)
To calculate the availability of redundant systems you can use this formula: total_avail = 1-(1 - single_avail) ^ (number_of_nodes) Nodes: Single component availability (%): Total Availability (%): function myCalculation() { var nodes = parseInt(document.getElementById('nodes').value,10); var sava = parseFloat(document.getElementById('savail').value); var result = (1-(1-sava/100.0)**(nodes))*100 document.getElementById …
-
Ad-Hoc rsync daemons
(posted 2019-03-20 00:00:00+01:00)
The other day I needed to copy a bunch of files between to servers in my home network. Because of the volume I wanted to copy the files without having to go through ssh's encryption overhead. So I figured I could use netcat for the data transport. To do …
-
Resizing Virtual Disks with virsh
(posted 2019-03-10 00:00:00+01:00)
I am currently using libvirt for managing my VMs. For virtual discs I am using LVM2 volumes. On a regular basis I need to resize these virtual discs, but not that often that I can do this from memory. This is a short procedure to do this: ls -l /dev …
-
Z-Wave Associations with With Vera UI
(posted 2019-03-01 00:00:00+01:00)
I couldn't find any to the point documentation on how to do this, so I am writing this. The way I understand Z-Wave associations work is that once devices are in the same Z-Wave network, a device can directly send a command to another device without intervention of the Hub …
-
Encrypting FileSystem in Void Linux
(posted 2019-02-28 00:00:00+01:00)
The point of this recipe is to create a encrypted file sytem so that when the disc is disposed, it does not need to be securely erased. This is particularly important for SSD devices since because of block remapping (for wear levelling) data can't be overwritten consistently. The idea is …
-
Installing Void Linux
(posted 2019-02-19 00:00:00+01:00)
I made the switch to void linux. Except for compatibility issues around glibc, it works quite well. Most compatibility I have worked around with a combination of Flatpaks, chroots and namespaces. The high lights of void linux: musl build - which is very lightweigth Does not depend on systemd …
-
My Linux Keyboard Shortcuts
(posted 2019-02-11 00:00:00+01:00)
In general we try to be similar to MS-Windows shortcuts. Default bindings (in MATE) Key Action Alt + F4 Close the active item, or exit the active program Alt + Tab Switch between open items Ctrl + Alt + Tab Use the arrow keys to switch between open items Alt + Esc Cycle through items …
-
Global Windows Keyboard Shorcuts
(posted 2019-02-10 00:00:00+01:00)
Common Window Management Shortcuts Key Action Alt + F4 Close the active item, or exit the active program Alt + Tab Switch between open items Ctrl + Alt + Tab Use the arrow keys to switch between open items Alt + Esc Cycle through items in the order in which they were opened Ctrl + Esc …
-
Third Party SimpleNote clients
(posted 2019-01-08 00:00:00+01:00)
An inventory of simplenote clients: SimpleNote clients: sncli nvpy notestack simplenote.el simplenote-js simplenote-sync simplenote pkg Current plan is to use a webapp wrapper for the actual simplenote web site.
-
Docker on Alpine Linux
(posted 2018-09-22 00:00:00+02:00)
Alpine Linux Quick installation See wiki For Alpine Linux > 3.8 Un-comment community repo from /etc/apk/repositories apk add docker rc-update add docker boot service docker start Optional: (docker compose) apk add docker-compose Note 2021-03-21: When I tested this, the daemon.json did not work! Your mileage may vary …
-
Alpine on OTC
(posted 2018-08-29 00:00:00+02:00)
These are just random thoughts nothing really was implemented. Alpine Linux image preparation: jq and other deps to /apks/x86_64 /etc/local.d/ cloud-init-lite if /etc/network/intefaces exists we abort apk add --force-non-repository /path oniguruma,jq .. restore /etc/apk/world udhcpc -b -p /var/run/udhcpc.eth0.pid -i …
-
Windows Account Lockouts
(posted 2018-07-19 00:00:00+02:00)
To prevent windows lockouts the following can be done: Delete Internet Explorer browsing history Run the following: Open Start --> Search filed--> Type in Run --> rundll32.exe keymgr.dll, KRShowKeyMgr --> Delete Disconnect network shares Change password
-
Skipping grep when using AWK
(posted 2018-07-11 00:00:00+02:00)
Over the years, We've seen many people use this pattern (filter-map): $ [data is generated] | grep something | awk '{print $2}' but it can be shortened to: $ [data is generated] | awk '/something/ {print $2}' You (probably) don't need grep Following this logic, you can replace a simple grep with: $ [data is generated …
-
Naming Schemes
(posted 2018-07-04 00:00:00+02:00)
This web site contains list of names of different topics. This can be used for naming schemes: Naming Schemes
-
Build a VR app in 15 minutes
(posted 2018-06-18 00:00:00+02:00)
In 15 minutes, you can develop a virtual reality application and run it in a web browser, on a VR headset, or with Google Daydream. The key is A-Frame, an open source toolkit built by the Mozilla VR Team. Test It Open this link using Chrome or Firefox on your …
-
Set your google account to automatically delete
(posted 2018-06-17 00:00:00+02:00)
Want to share your family photos after your death, but take your search history to the grave? All that and more is possible with Google's Inactive Account Manager. How You Can Control Your Information After Death It's not nice to think about, but one day, you will die, along with …
-
HTML Entities
(posted 2018-06-16 00:00:00+02:00)
-
3 Open Source Password Managers
(posted 2018-06-15 00:00:00+02:00)
Keep your data and accounts safe by using a secure open source password manager to store unique, complex passwords. Maintaining complex, unique passwords for each site and service you use is among the most common pieces of advice that security professionals provide to the public every year. Yet no matter …
-
How to encrypt linux partitions with LUKS
(posted 2018-06-14 00:00:00+02:00)
There are plenty of reasons why people would need to encrypt a partition. Whether they're rooted it in privacy, security, or confidentiality, setting up a basic encrypted partition on a Linux system is fairly easy. This is especially true when using LUKS, since its functionality is built directly into the …
-
Open Source Alternatives to Visio
(posted 2018-06-11 00:00:00+02:00)
Need to create diagrams, flowcharts, circuits, or other kinds of entity-relationship models? Microsoft Visio is without a doubt the best software for that, but that doesn't mean it's the best choice for you. Visio may be the industry standard in the corporate world, but it comes with a huge drawback …
-
10 tips for maiking documentation crystal clear
(posted 2018-06-10 00:00:00+02:00)
So you've some written excellent documentation. Now what? Now it's time to go back and edit it. When you first sit down to write your documentation, you want to focus on what you're trying to say instead of how you're saying it, but once that first draft is done it's …
-
Project Requirements
(posted 2018-06-07 00:00:00+02:00)
This is sometimes so true!
-
Ascii Art Tools
(posted 2018-06-07 00:00:00+02:00)
Here are some resources dealling with ASCII art... AsciiToSVG - PHP code to convert ascii art into SVG. AsciiFlow - Web App implement an ascii art editor. Asciio A perl application allows you to draw ASCII diagrams in a modern (but simple) graphical interface. ditaa - Java based ascii art to PNG converter …
-
6 Cloud-Based Tools To Help You Build A Web App With Ease
(posted 2018-06-06 00:00:00+02:00)
In just a relatively short amount of time, building mobile apps has transformed from a process that included lots of knowledge in developing into something that almost anyone can do. Cloud-based tools are quickly becoming the norm for app developers, and these are some of the highest recommended tools, each …
-
So the server crashed
(posted 2018-05-17 00:00:00+02:00)
Now we have to re-create things...
-
custom desktop ideas
(posted 2018-04-18 00:00:00+02:00)
fast boot Window Manager Snap windows to border/windows File Manager Next style file manager TkDesk : Note, it use [incr tcl] TkMC : Basic file browser functionality TOXFile: Another file manager TkWm Notification and Tray areas Launcher Applications browser media player photo/video manager (or webapp) office apps (open365.io) ah …
-
Retropie
(posted 2018-03-01 00:00:00+01:00)
DVD player Bluetooth receiver keyboard good keyboard bindings how to exit games convert probox into binding keys where are key codes saved Write image: gunzip < retropie-4.3-rpi2_rpi3.img.gz | sudo dd of=/dev/sde bs=4M Configure config.txt hdmi_force_hotplug=1 hdmi_drive=2 Boot and configure keyboard D-Pad => D-Pad start …
-
using cachefiles on an Linux NFS share
(posted 2018-01-30 00:00:00+01:00)
If you often mount and access a remote NFS share on your system, you will probably want to know how to improve NFS file access performance. One possibility is using file caching. In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such …
-
VNC desktop
(posted 2017-11-12 00:00:00+01:00)
IDEA: Client connects > < server sends version string (Use 3.3 only) Client replies with actual verison string > < server sends security type; NONE Client send ClientInit (shared flag) > < sever sens ServerInit (server details) WxHxD Name === standard stuff === 2 VERSIONS kiosk unmodified vncviewer connects to a multiplexer screen server (in inetd mode …
-
SimpleNote/Markdown editor
(posted 2017-10-19 00:00:00+02:00)
We just load SimpleNote as a Desktop WebApp Create first a basic markdown editor styling Hack retext add stuff for multiple views nvpy remixed with retext? Wrapper python for Windows Another option: SimpleNote native app + editor Features: Search tags from a menu Search within document Poll website for changes Or …
-
Interesting wordpress plugins
(posted 2017-10-02 00:00:00+02:00)
restrict categories access control by category site member user access mgr paid members
-
Rollback with YUM History Command
(posted 2017-09-21 00:00:00+02:00)
From 2daygeek.com Server patching is one of the important task of Linux system administrator to make the system more stable and better performance. All the vendors used to release security/vulnerabilities patches very often, the affected package must be updated in order to limit any potential security risks. Yum …
-
SeedBoxes
(posted 2017-09-20 00:00:00+02:00)
A seedbox is a dedicated server at a high speed datacenter with a public IP address for the downloading and seeding of bittorrent files. Persons who have access to a seedbox can download these files to their personal computers at any time and from any place that has an internet …
-
Centos Install notes
(posted 2017-07-12 00:00:00+02:00)
Set-up local.repo yum installs: nfs-utils autofs @x11 @xfce wget dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts xorg-x11-fonts-{Type1,misc,75dpi,100dpi} bitmap-console-fonts bitmap-fixed-fonts bitmap-fonts-compat bitmap-lucida-typewriter-fonts ucs-miscfixed-fonts urw-fonts open-sans-fonts webcore-fonts webcore-fonts-vista liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts bitstream-vera-sans-fonts bitstream-vera-serif-fonts gnu-free-{mono,sans,serif}-fonts tk firefox mplayer ffmpeg alsa-utils xsensors xfce4-sensors-plugin keepassx git Building RPM packages with …
-
android development
(posted 2017-06-24 00:00:00+02:00)
Android devs Install JAVA yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel Install SDK Tools: Download the sdk-tools zip from here mkdir /opt/android cd /opt/android The sdk should go under /opt/android/tools unzip sdk-tools.zip sudo chmod a+x $(sudo find . -type f -executable ) Create a …
-
Securing rsync on ssh
(posted 2017-06-01 00:00:00+02:00)
Reference: positon.org You have 2 systems and you want to set up a secure backup with rsync + SSH of one system to the other. Very simply, you can use: backup.example.com# rsync -avz --numeric-ids --delete [email protected]:/path/ /backup/myserver/ To do the backup, you have …
-
Desktop environments on Centos 7
(posted 2017-04-18 00:00:00+02:00)
-
Telegram
(posted 2017-04-12 00:00:00+02:00)
Telegram is a messenger designed to overcome the limitations of other messengers like WhatsApp or similar ones. It is different and better than other messengers on more than one level. A few of the important features that make it stand out among other messengers are: Open API. This enables the …
-
Free Clipart sites
(posted 2017-04-11 00:00:00+02:00)
In 2014, Microsoft killed and buried Clipart in the digital graveyard. Clipart had outlived its usefulness as users relied more on search engines than Microsoft' somewhat limited supply through the Office suite. Today' clipart needs to be modern, colorful, and less cartoonish. An online search for clip art images will …
-
Anti Roboto skills
(posted 2017-03-30 00:00:00+02:00)
Losing your job to robots is no longer a sci-fi fantasy. Some estimates say, robots may take over more than five million jobs across 15 developed countries. Machines could account for more than half the workforce in places like Cambodia and Indonesia, particularly in the garment industry. While such information …
-
stop procrastinating
(posted 2017-03-24 00:00:00+01:00)
We are all guilty of procrastinating from time to time--here's always something more interesting than the work in hand. We usually think it's no big deal, since deadline is our biggest inspiration, and we do our best work when we're inspired. We may even joke about it. However, procrastination is …
-
manage busyness
(posted 2017-03-24 00:00:00+01:00)
Former United States President Dwight Eisenhower was responsible for putting together one of the most important yet fundamentally simple to understand concepts in time management. Eisenhower's Urgent/Important Principle is a tool to help decipher what tasks need to be addressed more immediately than others. Anyone who uses the principle …
-
Kivy
(posted 2017-03-19 00:00:00+01:00)
Today I want to briefly write about kivy. kivy is an Python library intended for developing Mobile Apps. It is a cross-platform library that runs on Android, iOS, Linux, OS X and Windows. It is licensed under the MIT, so it is free and open source. Kivy is the main …
-
Mail Archiver ideas
(posted 2017-03-10 00:00:00+01:00)
We use it for receiving junk e-mails (i.e. for those times where we need an e-mail address for sign-up to a service). E-mails are of the form: [email protected] TODO: Extend postie: http://postieplugin.com/extending/ http://postieplugin.com/postie_post_before/ Before posting we insert all the header information …
-
Fixed drive letters for removable USB sticks
(posted 2017-02-03 00:00:00+01:00)
If you use multiple USB drives, you've probably noticed that the drive letter can be different each time you plug one in. If you'd like to assign a static letter to a drive that's the same every time you plug it in, read on. Windows assigns drive letters to whatever …
-
Portable Console
(posted 2017-01-25 00:00:00+01:00)
-
Xnest
(posted 2017-01-24 00:00:00+01:00)
-
CyberWorld 2017.1
(posted 2017-01-20 00:00:00+01:00)
Development - travis cordova build - travis ionic build owx common muninlite (can it support plugins?) flock, pwgen, ifstat ow1 diags&tools: usbutils, netstat-nat sniffer: tcpdump[-mini] 317K/617K, libpcap 191K owX FW/NAT DNSMASQ: DHCP + DNS NTP server Dynamic DNS updating (mushu porker) NFS IPv6 tunnel Provisioning server: (PXE, TFTP, NFS …
-
Side Load apps on Android TV
(posted 2017-01-10 00:00:00+01:00)
-
Building Signed APKs
(posted 2016-12-11 00:00:00+01:00)
-
Archiving DVDs and CDs
(posted 2016-12-05 00:00:00+01:00)
Since now I have a Android TV I put away my HTPC and with that the capability to view DVDs or listen CDs directly. So I converted my entire CD and DVD library to media files and stored in my home NAS. Since we are talking hundreds of DVDs and …
-
Writing Safe Shell scripts
(posted 2016-11-23 00:00:00+01:00)
Writing shell scripts leaves a lot of room to make mistakes, in ways that will cause your scripts to break on certain input, or (if some input is untrusted) open up security vulnerabilities. Here are some tips on how to make your shell scripts safer. Don't The simplest step is …
-
editor to replace emacs
(posted 2016-11-15 00:00:00+01:00)
At the end, I switched to geany GUI TextAdept Bluefish Editor editra gedit Console sanos editor eFTE Tilde TCL/TK TKE moodit msedit Windows only nodepad++ Crimson or Emerald Editors Macros Split Views Interactive search File Browser? Smart indent Parenthesis matching Syntax: PHP, Markdown, C, Java, JavaScript, HTML, C++ UTF8 …
-
MariaDB Quickest Quick start
(posted 2016-11-14 00:00:00+01:00)
This article outlines the bare minimum to get a MariaDB or MySQL database up and running. It covers a CentOS/RHEL and an ArchLinux installs. Make sure your system is up to date: CentOS/RHEL ArchLinux yum update -y pacman -Syu Install the software: CentOS/RHEL ArchLinux yum install mariadb-server …
-
'Jaxon: Call PHP classes from JavaScript using AJAX'
(posted 2016-11-14 00:00:00+01:00)
Jaxon is an open source PHP library for easily creating Ajax web applications. It allows into a web page to make direct Ajax calls to PHP classes that will in turn update its content, without reloading the entire page. Jaxon implements a complete set of PHP functions to define the …
-
Building chroots with yum
(posted 2016-11-14 00:00:00+01:00)
Building CHROOTs with Yum in a single command: yum --releasever=7 --installroot=/chroot/jail2 -y install httpd Will install httpd with all its dependancies. If you are on x86_64 and want a 32 bit chroot: setarch i386 yum --releasever=6 --installroot=/chroot/jail32 -y install httpd
-
My WordPress plugins
(posted 2016-11-07 00:00:00+01:00)
For my own purposes I have written a number of WordPress plugins. S3Copy - Makes backup copies of your pictures to an S3 Compatible server. I use sirv.com myself. It also mangles tags so files are server from the S3 bucket. wptools - A collection of WordPress related functionality. auto-content - A …
-
vr starting points
(posted 2016-11-06 00:00:00+01:00)
vr boilerplate threejs vr chrome experimets google cardboard google cardboard open source linux vr app WebGL frameworks: Native support? threejs game Could it be converted to WebVR? OpenSource Engine with Proprietary on-line dev tools Targetted for WebVR TypeScript?
-
Hosting WordPress on OpenShift
(posted 2016-10-29 00:00:00+02:00)
So I finally moved my WordPress web sites to OpenShift. OpenShift is a cloud based Platform-as-a-Service offering from RedHat. And while there is a learning curve I would say that so far it works great. My implementation is a fully cloud based solution. Makes use of the following services: GitHub …
-
CSR ideas
(posted 2016-10-14 00:00:00+02:00)
Work improvements NFR Javascript single page application JS GUI Retargettable back-end: Local Remote Synchronization utility Multi-user (authentication?) Output Excel Output changes FR requirements roadmap objects release time lines indicators descriptive text Meta data attributes (i.e owner, reviewers, etc) versioning Milestone data Detail data release details line items
-
game lists
(posted 2016-10-12 00:00:00+02:00)
Cybernator Darius Twin Another World | Out of this World Front Mission Series Strike Gunner The Legend ... Super Bomberman for about 59.99 (dollars) but later it was also sold alone for approximately 29.95. Multitap compatible games: Barkley: Shut Up and Jam!, Bill Walsh College Football, College Slam, Elite Soccer …
-
JavaScript resources
(posted 2016-08-23 00:00:00+02:00)
Typescript voxeljs ige More powerful github web pages github api json & jsonp cross origin resource sharing Use JavaScript XHR to get data from github API (CORS is enabled). Show: Download counts for a project Latest release tag typescript tutorial intro to typescript
-
Programming 2016
(posted 2016-06-06 00:00:00+02:00)
Programming 2016 GWT and GWT on Mobile and Java servlets Generate Excel http://www.gwtproject.org/overview.html http://www.m-gwt.com/ Java based: Game Api libgdx Other Game lib JMonkeyEngine MultiOS j2objc RoboVM forks: FlexoVM BugVM Swift? D status Programming 2015 Cross-Platform: Linux, Windows, Android, iOS, WebApp? Run-Time: >100MB …
-
Managing our personal finances
(posted 2016-05-22 00:00:00+02:00)
During my last vacation I wanted to move how we manage our personal finances away from the ad-hoc spreadsheet that we had been using for the past few years. I envisioned something server side, so I wouldn't need to add software on my wife's computer. And initial quick run through …
-
Starting with 3D Printing
(posted 2016-03-20 00:00:00+01:00)
So I finally tried my hand at 3D printing. Obviously I did not buy at 3D printer. These are either quite expensive or you need to assemble them yourself, which I don't think is in my capacity level. To get started, you first need a 3D model to print. There …
-
OpenShift notes
(posted 2016-03-10 00:00:00+01:00)
THIS IS FOR ARCHIVAL PURPOSES. THIS IS OUT-OF-DATE backup OpenShift openshift getenv(USER) from OpenShift php ssh to {user}@{app-domain} gear snapshot > file Run gear app OpenShift migration further notes Encrypt a file using a supplied password : $ openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -k …
-
Windows administration from the command line
(posted 2016-02-02 00:00:00+01:00)
Windows system administration is very mouse driven and to reach all tools you need to browse through Windows explorer. If you are like me and prefer to log on a limited privilege account and use Runas to perform admin tasks, you can open these consoles with the .msc file names …
-
Deploying Kerberos based SSO
(posted 2016-01-11 00:00:00+01:00)
This article goes over how to implement Single-Sign-On on Linux. It goes over the integration around the Kerberos service and the applications, like for example FireFox. Pre-requisites Kerberos Domain Controller (KDC) User accounts in the KDC KDC based logins To make sure that this is working, login to your workstation …
-
clipping ideas
(posted 2015-12-11 00:00:00+01:00)
Divide into Work : Only visible to company and clients Personal: Public/Private areas Features: Send e-mail to address => creates entry handle attachments Rich text support? Markdown through short codes (maybe) Searchable Auto Tag/Auto Categorize Can create entries through UI Options: MHonArc WordPress + WebMail posting
-
Let's Encrypt
(posted 2015-12-04 00:00:00+01:00)
This is a service that let's you get SSL certificates for HTTPS. These certificates are trusted by major browsers. See Let's Encrypt This is a barebones howto to get SSL certificates: git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt This contains the client software for let's encrypt. ./letsencrypt-auto certonly …
-
undup
(posted 2015-11-30 00:00:00+01:00)
So, after a long while, I wrote a new C language program. As usual, the same things that I dislike about C programming popped up, specifically the need for low level data structures and manual memory management. I did learn some new things: uthash : I have used this library before …
-
Markdown Javascript editors
(posted 2015-11-11 00:00:00+01:00)
VUE JS: Includes a Markdown editor example that allows edit with online preview next to it Embeddable JS Markdown editor : Has a button to preview Editors that edit in preview-like mode editor simplemde markdown (With GFM)
-
Picade Todo
(posted 2015-10-11 00:00:00+02:00)
key mappings look up and label default mappings { KEY_UP_ARROW, UP }, { KEY_DOWN_ARROW, DOWN }, { KEY_LEFT_ARROW, LEFT }, { KEY_RIGHT_ARROW, RIGHT }, { KEY_LEFT_CTRL, BTN_1 }, { KEY_LEFT_ALT, BTN_2 }, { ' ', BTN_3 }, { KEY_LEFT_SHIFT, BTN_4 }, { 'z', BTN_5 }, { 'x', BTN_6 }, { 's', START }, { 'c', COIN }, { KEY_RETURN, ENTER }, { KEY_ESC, ESCAPE }, /* Change these lines to set key bindings for VOL_UP and VOL_DN */ { 'u', VOL_UP }, { 'd', VOL_DN …
-
Centos7/RHEL7 FirewallD -- the least you need to know
(posted 2015-09-21 00:00:00+02:00)
This post is just a simple hints-tips to get something going with FirewallD without going into too much detail. Checking if you are using firewalld: * firewall-cmd --state Check your zones (needed later when opening ports): * firewall-cmd --get-default-zone * firewall-cmd --get-active-zones Checking what is active: * firewall-cmd --zone=public --list-all Opening services: * firewall-cmd …
-
Raspberry Pi Thin Client
(posted 2015-08-17 00:00:00+02:00)
Thin Client project want to create a very low price thin client over Raspberry Pi board! Microsoft RDC, Citrix ICA, VMWare View, OpenNX & SPICE RPITC
-
Raspberry pi notes
(posted 2015-08-11 00:00:00+02:00)
raspberry pi shops NL based sos solutions hackerstore antratek kiwi-electonics UK based the pi hut modmypi pimorni International mouser conrad Hardware to attach/secure Raspberry Pi boards 4 M2 16mm bolts, + nuts, + spacers? moeren bouten verleng kabel USB Connectors Creating a Read-Only root for Raspbian: - read only - ro raspbian - ro …
-
Replacing Emacs with Atom
(posted 2015-07-24 00:00:00+02:00)
As an old UNIX guy I have been using emacs for years. So in a way, I am very comfortable with using it and most of keyboard shortcuts. But, it really is an old animal and I have been thinking that I should be moving to a more modern replacement …
-
Online IDEs
(posted 2015-07-24 00:00:00+02:00)
If you want to move to the cloud and like to code like me, this is kinda of a basic necessity. This applies in particular to Chromebook users. 5 Best online IDEs
-
Lifehacker App Guides
(posted 2015-07-24 00:00:00+02:00)
These two hyperlinks from Lifehacker are quite useful: iPhone App Guide Android App Guide
-
Upload to OpenWRT
(posted 2015-07-11 00:00:00+02:00)
-
organizing notes
(posted 2015-06-11 00:00:00+02:00)
My Documents DOCUMENTS Project Folder old YYYY deliverables clips? category folder expenses? expense reports and digital receipts regs - passwords, registrations, etc... nice notes - thank you letters, etc. Personal folder info or important health account data, friends contacts, etc clips writing - personal writing, notes, letter, drafts, taxes folder logs activity log …
-
Another Markdown Editor
(posted 2015-04-30 00:00:00+02:00)
This one is GitHubFlavored markdown... markdown editor
-
Web Links
(posted 2015-04-19 00:00:00+02:00)
Here a few web-links to interesting web apps. It covers stuff about password security and checking if web sites are down, etc etc. Down For Everyone or Just Me: If you're getting an error when visiting a certain site, it could be down or something could be wrong on your …
-
Fiddle Markdown Tool
(posted 2015-04-18 00:00:00+02:00)
For a quick and simple Markdown Preview: Fiddle
-
Code Kingdoms
(posted 2015-04-17 00:00:00+02:00)
Code Kingdoms is targeted towards six- to 13-year olds and looks very much like your everyday puzzle adventure game. Choose an animal, walk around a kingdom saving animals through puzzles. The difference is most of the puzzles require kids to use code elements to solve the puzzles. At first this …
-
Kerberos Client
(posted 2015-02-06 00:00:00+01:00)
This simple mini how-to goes over the configuration of a linux system so it can use a Kerberos Realm server for authentication. Make sure you have the pam_krb5 rpm files installed. You can check this by running the rpm -qa | grep pam command and seeing whether the pam_krb5 rpm files …
-
HP Envy 4504 Set-up
(posted 2015-02-06 00:00:00+01:00)
I bought a HP Envy 4504. Overall I am happy with it. This is how I configure it so I can use with Linux. This mini howto applies to ArchLinux, void linux and Centos/RedHat distributions. Installation Archlinux: cups, hplip, python2, sane Centos: cups, hplip, hplip-gui, sane Some optional dependancies …
-
RPMGOT
(posted 2015-02-04 00:00:00+01:00)
Software package download proxy rpmgot is a simple/lightweight software package download proxy. It was designed to run on an OpenWRT router with some USB storage. So it is fully implemented as an ash script. The basic idea has been implemented multiple times. For example refer to this article on …
-
SSL Certificates
(posted 2015-01-06 00:00:00+01:00)
So it is is a more dangerous world out there. You can start securing web sites using self signed certificates. Another option is to: Use CloudFlare. This will use a CF certificate from the CF CDN to the web site, while using a self-signed certificate between the CF CDN to …
-
Convert HTML to Markdown
(posted 2015-01-06 00:00:00+01:00)
These web sites convert to Markdown: Mardownifier: Convert the given URL to-markdown: Convert HTML snippets turndown
-
Raspberry Pi - Low cost CCTV
(posted 2014-09-13 00:00:00+02:00)
A good tutorial on creating a low cost surveillance camera using the raspberry Pi camera module and one of thos fake surveillance camera things. Instructables has a good tutorial on creating a low cost surveillance camera. Essentially makes use of a Pi, the Camera module and fitted into one of …
-
Raspberry Pi as a Stratum-1 NTP Server
(posted 2014-09-13 00:00:00+02:00)
This is something I found: http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html Essentially it requires pairing a Raspberry Pi with a NTPI Raspberry Pi GPS addon board On the software side of things you need rpi_gpio_ntp
-
Incredible PBX for RasPBX
(posted 2014-09-13 00:00:00+02:00)
This is a link to IncrediblePBX for RasPBX. Looks like bundles to run Asterisk PBX'es on a Raspberry Pi. Neat.
-
dev notes 2014
(posted 2014-06-26 00:00:00+02:00)
Replacment for Make and Autoconf: MakeMe (If you don't have root but have Android 4+ you can use the command-line program adb from the Android SDK platform tools to make backups via a desktop computer) chromebook ides Dev Tools Alternative languages: D : better than C, but not over-the-top like C …
-
Resizing a Linux RAID
(posted 2014-06-04 00:00:00+02:00)
It is possible to migrate the whole array to larger drives (e.g. 250 GB to 1 TB) by replacing one by one. In the end the number of devices will be the same, the data will remain intact, and you will have more space available to you. Extending an …
-
Wi-Fi Sd Cards
(posted 2014-05-11 00:00:00+02:00)
My latest weekend project. Making a normal digital camera WIFI enabled. With the Transcend Wi-Fi SD Card you can convert any digital camera into a Wi-Fi enable camera. What I did here is to set it up so that it would automatically upload photos whenever I turn the camera on …
-
Raspberry Pi Weekend project
(posted 2014-04-26 00:00:00+02:00)
So finally took the time to try out a Raspberry Pi. For this weekend project wanted to do something relatively simple. Essentially, I wanted to recreate/enhance the functionality of a TL-WR702N. The TL-WR702N Nano Router is a neat device but being closed, can not be customized to what I …
-
DVD archiving
(posted 2014-03-11 00:00:00+01:00)
This is my simple procedure for backing up my DVD movies: Examine the DVD: dvdbackup -i /dev/sr0 -I Create a full backup: dvdbackup -i /dev/dvd -o ~ -M Creating an ISO: mkisofs -dvd-video -udf -o ~/dvd.iso ~/movie_name Testing the newly created ISO: mplayer dvd:// -dvd-device ~/dvd.iso
-
Private vs. Personal
(posted 2014-01-26 00:00:00+01:00)
In Microsoft Outlook has the option to tag e-mails with a sensitivity tag. Technically this is fairly meaningless. However sometimes I like to use them. The confidential tag is quite self explanatory. I always confuse what is the difference between private and personal. So here is one possibility... Personal information …
-
Cleaning-up Outlook Calendar
(posted 2013-12-23 00:00:00+01:00)
This is a procedure I go through at the end of the year to clean-up my Outlook Calendar. Usually the Outlook Calendar gets full of junk over time. So this is something worth doing on a regular basis. Procedure for Outlook 2007 Backup calendar folder Select default calendar Switch view …
-
Chrome Kerberos Authentication
(posted 2013-12-02 00:00:00+01:00)
-
Deploying Chrome Extensions
(posted 2013-11-30 00:00:00+01:00)
The following links outline how to deploy Chrome extensions in a enterprise manner: Installing Chrome Extensions Other Deployment Options Force Installing Extensions
-
My Must Have Android Apps
(posted 2013-11-08 00:00:00+01:00)
This is a list of my favorite Android Apps: Essentials Barcode Scanner - Play Store F-Droid Ghost Commander - F-Droid F-Droid Alternative Application Manager. Usually Open source stuff with significantly less crap ware and ads. Productivity WordPress - PlayS tore KeePassDroid - f-droid GoTasks - Play Store Dropbox - Play Store Quickoffice - Play Store SimpleNote - Play …
-
wp-cron and cron
(posted 2013-11-01 00:00:00+01:00)
-
Using wget with given IP/vhost
(posted 2013-10-31 00:00:00+01:00)
This is one neat trick. For vhosts you can connect with an IP yet provide the right host name with the following: wget http://1.1.1.1/ --header 'Host: www.example.com'
-
Using a NAS200 as a Print server
(posted 2013-10-22 00:00:00+02:00)
Last weekend I had a small weekend project to move my All-In-One Printer/Scanner from my Xen host server to a spare NAS200 I had lying around. Since the NAS200 has a i486 compatible CPU, and I had been able to run a CentOS 5 distro before, I figure it …
-
UNIX find with dates
(posted 2013-10-14 00:00:00+02:00)
-atime/-ctime/-mtime the last time a files's access time, file status and modification time, measured in days or minutes. Time interval in options -ctime, -mtime and -atime is an integer with optional sign. n: If the integer n does not have sign this means exactly n days ago, 0 …
-
Enable local file caching for NFS share on Linux
(posted 2013-10-07 00:00:00+02:00)
In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such as NFS. FS-Cache is built into the Linux kernel 2.6.30 and higher. In order for FS-Cache to operate, it needs cache back-end which provides actual storage for caching. One such …
-
sdf.org
(posted 2013-09-30 00:00:00+02:00)
sdf.org This one is an interesting site. The Super Dimension Fortress is a networked community of free software authors, teachers, librarians, students, researchers, hobbyists, computer enthusiasts, the aural and visually impaired. It is operated as a recognized non-profit 501(c)(7) and is supported by its members. Our mission …
-
Driving Continuous Integration from Git
(posted 2013-09-22 00:00:00+02:00)
Testing, code coverage, style enforcement are all check-in and merge requirements that can be automated and driven from Git. If you're among the rising number of Git users out there, you're in luck: You can automate pieces of your development workflow with Git hooks. Hooks are a native Git mechanism …
-
Off site backup options
(posted 2013-09-19 00:00:00+02:00)
This is my working notes on doing off-site backups to the cloud. Still trying to figure out where to keep Offsite backups. These are the candidates: Site Free Quota 100GB/Yr Notes AltDrive 30 day USD 45 Unlimited, Linux binary iDrive 5GB USD 6 Starts at 1TB, Linux binary, API …
-
No Comment
(posted 2013-09-19 00:00:00+02:00)
This should require no explanation...
-
Alarm Notification
(posted 2013-09-19 00:00:00+02:00)
This tutorial describes how to use the alarm manager to set alarms and how to use the notification framework to display them. In short, the sequence goes like this: In an Activity AlarmManager.set is called with a PendingIntent containing a Uri. When the alarm goes off, the Uri is …
-
DID vendors
(posted 2013-09-13 00:00:00+02:00)
So I have been researching DID vendors with limited success. So far my leading candidates are: Vendor Country Set-up fee Monthly fee Per-Minute Sonetel NL EUR 1.40 EUR 1.40 EUR 0.01 Sonetel Peru EUR 5.50 EUR 5.50 EUR 0.01 Sonetel USA EUR 0.70 …
-
Parsing JSON in Shell scripts
(posted 2013-09-06 00:00:00+02:00)
-
Yealink W52P
(posted 2013-08-28 00:00:00+02:00)
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 …
-
Grandstream GXP1400
(posted 2013-08-28 00:00:00+02:00)
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 …
-
Backing up GMail
(posted 2013-08-28 00:00:00+02:00)
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 It uses IMAP to connect to …
-
BOX.com promotions
(posted 2013-08-26 00:00:00+02:00)
This is a good link to keep an eye on: box.com promotions
-
Alternative to DynDNS
(posted 2013-08-23 00:00:00+02:00)
linuxaria blog article This article has a script how to use Dynamic DNS on afraid.org.
-
assist
(posted 2013-08-22 00:00:00+02:00)
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. It can be deployed from the …
-
SSH Tricks
(posted 2013-08-21 00:00:00+02:00)
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 …
-
Running Windows on Linux for Free
(posted 2013-08-21 00:00:00+02:00)
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 …
-
Remote VirtualBox
(posted 2013-08-21 00:00:00+02:00)
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 …
-
IPv6 testing
(posted 2013-07-04 00:00:00+02:00)
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 http://test-ipv6.com/ Check also DNS
-
PingTool.org
(posted 2013-07-03 00:00:00+02:00)
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/
-
Web Backups
(posted 2013-07-02 00:00:00+02:00)
-
'Mini-Howto: Setup proxy on Ubuntu'
(posted 2013-07-02 00:00:00+02:00)
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: sudo apt-get install squid Edit the Squid config file in /etc/squid adding …
-
Using CloudFlare
(posted 2013-07-01 00:00:00+02:00)
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 filters incoming request for attacks optimize content (i.e. compressing, removing …
-
Askozia Desktop Appliance
(posted 2013-07-01 00:00:00+02:00)
-
CipherUSB
(posted 2013-06-24 00:00:00+02:00)
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.
-
Upgrading pacman config files
(posted 2013-06-06 00:00:00+02:00)
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 …
-
libmspack
(posted 2013-06-05 00:00:00+02:00)
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 …
-
atratus project
(posted 2013-06-05 00:00:00+02:00)
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 …
-
Media Tips
(posted 2013-06-02 00:00:00+02:00)
This is an article about different media (and more specifically) video files can be manipulated. This is just for historical purposes as now almost everything can be done using ffmpeg and the right options. libmp4v2 contains: * mp4art - to extract a picture (or coverart from mp4) * mp4info - to get meta data …
-
Diskless Archlinux
(posted 2013-06-01 00:00:00+02:00)
I am still to test this recipe Server Configuration First of all, we must install the following components: A DHCP server to assign IP addresses to our diskless nodes. A TFTP server to transfer the boot image (a requirement of all PXE option roms). A form of network storage (NFS …
-
OpenWRT web
(posted 2013-05-30 00:00:00+02:00)
Some useful tidbits to use when using the OpenWRT embedded web server (uHTTPD). Embedded Lua uHTTPd supports running Lua in-process, which can speed up Lua CGI scripts. It is unclear whether LuCI supports running in this embedded interpreter. LuCI seems to work fine (if not better) with the embedded Lua …
-
Program Documentation
(posted 2013-05-29 00:00:00+02:00)
So these are my ideas on how to document projects. There are three types of documentation types: User guides Targetted and end-users of the software and people who want a brief overview. Man pages Again targetted at end-users but also sysadmins. Usually to address a specific feature. API level documentation …
-
Git Tutorials
(posted 2013-05-28 00:00:00+02:00)
Reference for Git tutorials http://linux.yyz.us/git-howto.html http://git.or.cz/course/svn.html http://spheredev.org/wiki/Git_for_the_lazy http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html http://www.kernel.org/pub/software/scm/git/docs/everyday.html https://git.wiki.kernel.org/index …
-
Remote Bridging
(posted 2013-05-27 00:00:00+02:00)
Sometimes we need to connect two or more geographically distrubuted ethernet networks to one broadcast domain. There can be two different office networks of some company which uses smb protocol partially based on broadcast network messages. Another example of such situation is computer cafes: a couple of computer cafes can …
-
Network wiring notes - 8P8C / RJ45
(posted 2013-05-27 00:00:00+02:00)
What you were probably looking forT568A/B (10-BASE-T and 100-BASE-TX): With pin positions are counted from left to right with the contacts facing you (clip on the back) and pointing up (cable coming out the bottom): Color (568B) Pin Color(568A) Orange-white 1 Green-white Orange 2 Green Green-white 3 Orange-white …
-
Native Kerberos Authentication with SSH
(posted 2013-05-27 00:00:00+02:00)
This article is about integrating OpenSSH in a kerberos environment. Allthough OpenSSH can provide passwordless logins (through Public/Private keys), it is not a true SSO set-up. This article makes use of Kerberos TGT service to implement a true SSO configuration for OpenSSH. Pre-requisites First off, you'll need to make …
-
My new 0ink.net site
(posted 2013-05-27 00:00:00+02:00)
So one weekend went by and managed to finish up my 0ink.net web site. So now I have: wordpress For main content. tt-rss This is my answer to Google's shutdown of the Reader service. Automated backups Through my own custom scripts. New e-mail server sitecopy To manage the web …
-
Mirroring a Gitorious repository to GitHub
(posted 2013-05-27 00:00:00+02:00)
There is nothing special with GitHub and Gitorious here. This technique would work exactly the same the other way around or with other servers. In a nutshell # Inital setup git clone --mirror git://gitorious.org/weasyprint/weasyprint.git weasyprint GIT_DIR=weasyprint git remote add github [email protected]:SimonSapin/WeasyPrint …
-
Kerberos howtos
(posted 2013-05-27 00:00:00+02:00)
-
Emacs Cheat Sheet
(posted 2013-05-27 00:00:00+02:00)
Quick reference article for how to use Emacs. Yes, it is really old skool! Cursor Motion Key Cursor Motion C-f Forward one character C-b Backward one character C-n Next line C-p Previous line C-a Beginning of line C-e End of line C-v Next screenful M-v Previous screenful M-< Beginning of …
-
ArchLinux tips
(posted 2013-05-27 00:00:00+02:00)
A bunch of recipes useful for an ArchLinux system environment. Mostly around system administration. Custom Repos and Packages In the repo directory, put all the packages in there. repo-add ./custom.db.tar.gz ./* Add to pacman.conf: [custom] SigLevel = [Package|Databse]Never|Optional|Required Server = path-to-repo See also repo-remove. A …
-
PHP notes
(posted 2013-05-23 00:00:00+02:00)
Notes on doing different things within the PHP language. Object oriented introspection property_exists(obj,prop_name) method_exists(obj,method_name) is_a(obj,'clas_name') or ($obj instanceof ClassName) Dynamic coding Call a method: call_user_func(array($obj,'method',...args...) You can simply $obj->prop = value to add properties. or you can use __set and …
-
Git recipes
(posted 2013-05-23 00:00:00+02:00)
A collection of small useful recipes for using with Git. Rewriting history Rolling back the last commit if nobody has pulled your remote repo yet, you can change your branch HEAD and force push it to said remote repo: git reset --hard HEAD^ git push -f Restoring changes So in …
-
Getting rid of DRM on e-books and videos
(posted 2013-05-22 00:00:00+02:00)
Instructions on how to remove DRM from E-Books and videos. How to Remove DRM from Ebooks (and Back Up Your Library Permanently) The easiest way to strip DRM from Kindle books (and Barnes and Noble, Adobe Digital Content, etc) is with the free ebook software Calibre, DRM removal plugins, and …
-
Wordpress links
(posted 2013-05-21 00:00:00+02:00)
This article describes how you creeate hyperlinks within Wordpress. There are a number of ways to do this, depending on the configuration and the types of data we are linking to. Linking Without Using Permalinks This actually works whether or not Permalinks are active. Using the numeric values found in …
-
International Phonetic Alphabet
(posted 2013-05-21 00:00:00+02:00)
Phonetic Alphabet 1 2 3 4 Alpha Kilo Uniform 0 - Zero Bravo Lima Victor 1 - Wun Charlie Mike Whiskey 2 - Two Delta November X-Ray 3 - Tree Echo Oscar Yankee 4 - Fower Foxtrot Papa Zulu 5 - Fife Golf Quebec . decimal 6 - Six Hotel Romeo (point) 7 -Seven India Sierra . (full) 8 …
-
Makefiles
(posted 2013-05-20 00:00:00+02:00)
Some notes on GNU Make. I always have to look-up these in the manual. Here now for my own convenience. GNU Make automatic variables: From http://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html. [email protected] The file name of the target of the rule. $% The target member name $< The name …
-
Issue Tracker
(posted 2013-05-19 00:00:00+02:00)
Use DVCS as backend (GIT) Output html markdown Prefer perl/python Mostly RO so to avoid merge conflicts. DITZ + git integration Adding Markdown lib/html.rb contains the functions that generate HTML *.rhtml contain templates and call functions in lib/html.rb to generate (and format) output. Note, if working …
-
Cleaning up Google Calendar
(posted 2013-05-19 00:00:00+02:00)
-
Automatically adding systems to an AD domain
(posted 2013-05-19 00:00:00+02:00)
When using virtualisation it is very common to create template VMs that can be cloned from. This makes deployment much easier than having to install a new VM from scratch. Unfortunately, the cloned VMs lack any Active Directory memberships and the VMs have to be manually added to the AD …
-
SATA/IDE warm plug/unplug
(posted 2013-05-18 00:00:00+02:00)
-
Icons
(posted 2013-05-17 00:00:00+02:00)
Finding icons: iconfinder.
-
On-line Web Authoring Resources
(posted 2013-05-16 00:00:00+02:00)
A collection of links for Web-Authoring. This focuses on using Web (HTML and CSS) technologies directly and not through a CMS like Wordpress. http://www.webestools.com/ Free online tools, generators, services, scripts, tutorials. http://www.google.com/webmasters/tools Google Webmaster tools, gives you a peek of how your …
-
First steps...
(posted 2013-05-16 00:00:00+02:00)
So finally took the time to re-launch the 0ink web site. This time used more off-the shelf software. So this site is just a another plain wordpress powered site. Actually I have to thank my son for introducing me to wordpress. What happened is that my son, who is only …
-
We are back...
(posted 2013-05-15 00:00:00+02:00)
After a long time in Limbo we are back with 0ink.net as a live site.
-
Local Perl packages
(posted 2013-05-15 00:00:00+02:00)
Determine what is the local PERL5LIB configuration: LIB=$( for d in `tr : ' ' <<<$PERL5LIB do if [ -w $d ] ; then echo $d break fi done) PREFIX=`dirname $LIB` Install sequence #PREFIX=$HOME/cpan #LIB=$HOME/cpan/lib tar zxvf $perl-mod-tar cd $unpacked-src-dir perl Makefile.PL PREFIX=$PREFIX LIB …
-
Linux Keyboard Tips
(posted 2013-05-13 00:00:00+02:00)
Miscellaneous hacks to use the keyboard under Linux. Special Characters on X11 The compose key, when pressed in sequence with other keys, produces a Unicode character. E.g., in most configurations pressing Compose e ``` produces é. Compose keys appeared on some computer keyboards decades ago, especially those produced by Sun …
-
Bash Tips
(posted 2013-05-13 00:00:00+02:00)
Some bash one-liners: echo ${!X*} Will print all the names of variables whos name starts with X. To output the contents of a variable so it can be parsed by bash declare -p VARNAME Pattern Matching Operator: ${foo#t*is} Function: deletes the shortest possible match from the left Operator …
-
Keep e-mail private
(posted 2013-05-09 00:00:00+02:00)
This is a handy tip. If you don't want to give out your real email address to register for a site and don't want to go through the hassle of creating a spam email address, just point your browser to Guerrilla Mail upon loading the page you'll have an automatically …
-
Git Workflows
(posted 2013-05-09 00:00:00+02:00)