Category Archives: Uncategorized

Bitcoin hassles

Bitcoin lost it’s steam this year. Not even close to the last year’s levels. People lost faith in it, but big guys got upset with the buzz it created last December and maybe the slump has something to do with that. It was a threat for the financial system as very potent competitor. Even miners are backing off.

On the plus side, some local governments accept tax payments in bitcoin, some banks and financial institutions started to talk and think about providing services based on BTCs, I guess they will need to buy some stock to achieve this and they need it cheap. Governments will try to regulate it. read more

My Accounting program

I’ve made a program for tracking my finances. It is not a big deal, but it does the job for me.

It is web based, works on top of LAMP stack (Linux, Apache, MySQL and Php).

You can try it – the code is available at: GitHub

The install:

1). Drop the source code in a folder at Apache’s document root:


git clone https://github.com/jet-/tinyacc

2). Create a database in MySQL (for example acc_usd), and change the conf.php file accordingly.

3). Tables creation – run:


mysql -p acc_usd < mysql_tables.sql

 

Done! Pont your browser to: https://server/tinyacc/rep1.php?curr=usd

Do an initial data entry to initialise the data – for example loading your bank accounts/cards and cash, I am doing it by: cash — Amount — Other. Or Checking account — Amount — Other

You can start adding your daily transactions as they happen. For example cash withdrawal at an ATM: cash — Amount — Checking account. Paying a bill: Electrical bills — Amount — Checking account. Depositing money in Savings account: Savings account — Amount — Cash

Documents which are not accounted (don’t have the flag “accounted”) are ignored in calculations.

Balances are calculated dynamically and you can account or “un-account” or edit old documents at your will.

You can create more databases – for example for different currencies (I have one for bitcoins or I should say mini Bitcoins) .There are different reports and charts to have a better clue about you finances. Using the program you can also check when you bought something and whether warranty expired or not by searching by text or part of the text.

Hope you will find it useful.

Счетоводната ми програмка

Направих си една програмка за следене на финансите ми. Не е нещо особено, но на мен ми върши добра работа.

Уеб базирана, работи върху LAMP stack – Linux, Apache, MySQL и Php.

Ако някой иска да я ползва – кодът се намира: GitHub

Инсталацията е:

1). Изсипва се кода в Апаче документ руут-а:


git clone https://github.com/jet-/tinyacc

2). Прави се база данни в MySQL (например acc_bgn), и се описват параметрите в conf.php

3). Създават се таблиците:


mysql -p acc_usd < mysql_tables.sql

Готово! Насочвате браузъра към мястото: https://server/tinyacc/rep1.php?curr=bgn

Въвеждате си началните данни – например захранване на банковите сметки/карти и кеш за да се равните с банката си – аз го правя: Кеш — Сума — Други

И почвате да си въвеждате операциите ежедневно. Например теглите пари:  Кеш — сума — Разплащателна сметка.

Влагате пари в депозитната сметка: Деп. Сметка — Сума — Кеш

Операциите които не са осчетоводени (нямат флагчето) не се отчитат.

Салдата се смятат динамично – могат да се осчтоводяват или разсчетоводяват, както и да се редактират стари операции.

Може да си направите повече от една бази – например за различни валути (аз имам например една за Биткоин-ите или по-скоро мили биткоините). Има най-различни справки и графики. С програмката можете да си “спомните” кога сте купили това или онова и дали е изтекла гаранцията като търсите по тескт или част от текста.

Дано на някой му свърши работа.

Windows Nagware Gets Nasty

I have an old laptop running Windows 7. Everything was fine till last week. The moment I run Microsoft updates, CPU utilization jumps to 100% and stays there. Machine is completely unusable. After a while it fills up my hard drive as well.

I scanned for viruses and trojans, but nothing was detected. Only svchost.exe jumps to 100% CPU usage, so that was my first suspicion. Next I cleared Event Viewer as Microsoft suggests in such cases – no luck.

I don’t use this Windows much (the next partition hosts a Linux distribution), so I didn’t alocate too much free space, but so far was ok. Now Microsoft keeps downloading the new Windows 10 without asking for permition, but is stupid enough to check for the free disk space. read more

Struggle with Bell router

In order to host My web site at home or connect to my home network/ server from outside, I needed to open ports in my internet router and do port forwarding (port 80 in my case for http protocol and 22 for ssh).

I have a second router (Linksys) behind Bell router/modem and the problem I hit was my Bell router (Model 1000) didn’t cooperate. I eliminated my second router to make things simple, no matter how many attempts I did – my server was not visible from outside. I did port forwarding using upper port numbers, or lower (<1024) still no avail. I even put the machine under DMZ – same issue. Looked like ports are closed and I didn’t see a spot in the web interface to open them. read more

Hello world!

Starting my blog.