Before you declare me an insane old man, I have to say that I needed it for an embedded board with only 64MiBs of RAM. And (mostly due to the specifics of the tasks), I ended up using bash hooked to lighttpd via cgi. Bringing on heavy artillery (php or python) really complicated the task, […]
Category: software
-
-
android and dnsmasq: making a better dnsmasq wrapper
A few posts ago, I wrote about making android’s dnsmasq more usable by turning on local hostname resolution. Since I use my android phone as a pocket server, dnsmasq plays a vital role here. However, one thing was bad – whenever I used usb tether connection to my PC, the whole dns thingie did not […]
-
Getting newer 2g/3g/4g dongles to work in debian.
Okay, this is just a small tip. All newer dongles, instead of having you to undergo some nasty sex with pppd over serial to make them work, have an ethernet interface, like cdc-ncm, sierra_net and etc. So, once you plug those, you usually see an extra interface when doing ifconfig -a. So, how should we […]
-
There’s a server in my pocket!
I’m not a psychopath, I’m just very creative. (c) Harry Potter and the Methods of Rationality Taking part in competitions like “eurobot”, where you have to do some coding in extreme conditions, on/under a table, on the floor, etc. and a few other trips like that convinced me that I should definitely make something more […]
-
Работаем с мегафоном через PhantomJS (часть 1)
Итак, валяется у меня на даче на чердаке модем, который подцеплен к серверу, и через который ко мне идут интернеты. И через интернеты я иногда заглядываю как там и что без меня происходит. И все бы хорошо, но иногда хочется узнать, сколько осталось там траффика. Вариантов тут было несколько. USSD запрос до провайдера. Чревато занятиями […]
-
bash + javascript + html + css = gpiohttpd
magic people, voodoo people (c) Prodigy I recently saw a post on HaD where a guy on (sic!) Raspberry Pi blinks leds using apache2 + php + mysql. I didn’t even want to find out what the heck did he need mysql for, since a more insane idea immediately came to my mind…
-
openwrt-sunxi: progress report
I finally managed to find a few spare minutes and make some serious progress on this port. So, what’s new: Rebased against the current openwrt trunk Initial router name/model stuff support via uboot env. Now with stable 3.4 kernel from sunxi-3.4 branch. OpenWRT compiles kernel and working module packages sun4i-specific modules like ahci, ir, i2c, […]
-
Simple things that look complex: ping from android
Coding for a mobile platform has always been a frustrating experience ever since J2ME. Right now I really hope that Jolla Mobile will succeed and roll their thingie to the market, since both iOS and android are smoking crap. But for now – I choose droid as a lesser evil. So, a few days ago […]
-
OpenWRT on cubieboard (Allwinner A10)
Well, for now it’s proof-of-concept only.
-
Windows XP: transferring an installation from one partition to another (worst case)
Okay, a lot of people hate windows these days, few can say why. I have quite a few reasons to do so. Especially, since quite a few retarted developers write software that I _have_ to use, to get some of the work done, I eventually have to boot it, and, even, work in it. Luckily, […]