TC65 HTTP POST request
This is just a quick code to show how to do a simple http POST request from a TC65 chip.
This is just a quick code to show how to do a simple http POST request from a TC65 chip.
I made this simple test website for those of you who would want to check if their HTTP request made from a simple equipment like the TC65 are sent correctly. The idea is simple : You choose an id like “ThisIsMe” You access the test website with this id : http://test.webingenia.com/ThisIsMe You check what was the content of the request at this address : http://test.webingenia.com/read/ThisIsMe You can contact me if you don’t understand something, if something doesn’t work or if you would like me to add a feature.
If you encounter a “Transaction Check Error” on yum on a x64 system during an install, an update or an upgrade, you will find out that most of the time, you can’t remove the problematic packages. But it’s very likely that the problem comes from a i386 version of a package. The easiest way to proceed is just to remove the i386 version of each software or library as it appears on the Transaction Check Error. ...
I’ve been working on a project where we had to use Flex on a .Net environment and it had to be realtime. I was a little worried at first that it could be tricky to set up. But with WebORB.Net it’s pretty easy. We used the integrated RTMP (Real Time Messaging Protocol) messaging server. It’s almost like using WCF. The most important differences are that, by default, objects are transmitted as Hashtable and calls can’t be synchronous. We can bind the object to right .Net object within the WebOrb management console but we decided to do it ourself using reflection (because we don’t like to depend too much on the management console). ...
I wanted to some simple join in LinQ on multiple criteria. And coming from standard SQL it’s not as straightforward as I thought it would be. The little disturbing thing is that you lose auto-completion. Here is my database schema : User: * UserId int (PK) * Login String * DateOfBirth DateTime Parameter: * ParameterId int (PK) * Name String User_Parameter: * UserId int (FK User:Userid) * ParameterId int (FK Parameter:ParameterId) * Value String If you want to fetch the “PreferredSuperHero” parameter, you have to execute : ...
This is a stream ripping program I did in order to read and rip streams (like Frequence 3) sending frequent advertising messages that usually prevent users from ripping them. It’s somehow like a protection bypass ripper. What it does : Saves shoutcast streams in MP3 files Saves shoutcast streams in one MP3 file with its cue sheet file Doesn’t consider text information that have seen recently (this is why I did it) Adds MP3 ID3 tags (ID3v1 and ID3v2) using [TagLib#][1] Reads M3U playlist streams Here are the command line options : ...
Overview To make it short : LinQ to SQL only works with SQL Server but it’s working great. It’s simple, supports all LinQ operations and optimizes the generated SQL queries. LinQ to Entities on ADO.Net works with lots of database but it doesn’t behave like LinQ to SQL and doesn’t support some key LinQ features. Now the long story : For the last project I’ve been working on, we wanted to use LinQ and still be able to switch to one database to an other (MSSQL to MySQL for instance). So we decided we would use LinQ to entity. The generated object are roughly the same, the code to Create/Read/Update/Delete data is roughly the same. So we were quite happy. ...
WARNING: All the Cinterion related content from this blog will be removed to go to the javacint wiki soon. Please get used to going there. Update (2011-06-28): You should look at the jOBEXFtp program if you don’t want to spend hours fixing a problem with a crappy software. When you want to locally deploy software on your TC65 chip, you need the Module Exchange Suite (MES). If it doesn’t work, it won’t tell you why, finding out why can be quite tricky. ...
PHP 5.2 brings lots of little useful features and CentOS 5.3 comes with PHP 5.1. So most of my PHP apps failed. The easiest way to solve this is to : Edit /etc/yum.repos.d/CentOS-Testing.repo and put this: [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/5/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing Launch: yum update php Source : Fresh Blurbs
I switched from Debian to CentOS because I had the choice between an old 32 bits Debian 4.0 or a brand new 64 bits CentOS 5.3. And I have some scripts that use the great start-stop-daemon tool, which isn’t available on CentOS. The easiest way to solve this problem is to get dpkg from Debian and then try to compile it. It’s likely that it will fail because libselinux (and it’s subsidiary library libsepol) won’t be registered in the pkgconfig dir. But we don’t really care as we only need start-stop-daemon, not dpkg. ...