Articles posted on 2015

clipping ideas

  • 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

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

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 …

Picade Todo

  1. 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

This post is just a simple hints-tips to get something going with FirewallD without going into too much detail.

  1. Checking if you are using firewalld: * firewall-cmd --state
  2. Check your zones (needed later when opening ports): * firewall-cmd --get-default-zone * firewall-cmd --get-active-zones
  3. Checking what is active: * firewall-cmd --zone=public --list-all
  4. Opening services: * firewall-cmd …

Online IDEs

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

Replacing Emacs with Atom

atom

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 …

Upload to OpenWRT

Base 64 decoding: coreutils-base64

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/local/bin/haserl --upload-limit=4096 --upload-dir=/tmp 
content-type: text/html

<html><body>
<form action="<% echo -n $SCRIPT_NAME %>" method=POST enctype="multipart/form-data" >
<input type=file …

organizing notes

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 …

Code Kingdoms

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 …

HP Envy 4504 Set-up

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 …

Kerberos Client

This simple mini how-to goes over the configuration of a linux system so it can use a Kerberos Realm server for authentication.

  1. 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 …

RPMGOT

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 …