Articles posted on 2017

VNC desktop

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 …

Rollback with YUM History Command

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

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

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

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 …

Desktop environments on Centos 7

These are commands to install different Desktop environments on Centos7

Gnome

yum groupinstall 'GNOME Desktop'

KDE

yum groupinstall "KDE Plasma Workspaces"

Cinnamon

yum install epel-release
yum --enablerepo=epel install cinnamon

MATE

yum install epel-release
yum --enablerepo=epel groupinstall "MATE Desktop"

XFCE

yum install epel-release
yum --enablerepo=epel groupinstall XFCE

Telegram

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

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

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 …

manage busyness

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 …

stop procrastinating

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 …

Mail Archiver ideas

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 …

Portable Console

portable console

Set scrolling region:

printf "\033[1;24r"

Reset scrolling region:

printf "\033[r"

However, it is easier/better to do:

stty rows 24 cols 80

Xnest

This trick lets you run X-Windows within an X-Windows session.

This is kinda like running VNC. It is useful for testing scenarios.

1
2
3
4
5
#!/bin/sh
Xnest :1 -name "Bla" -ac -geometry 800x600 &amp;
sleep 1
export DISPLAY=:1
exec xterm

CyberWorld 2017.1

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 …