Sunday, November 22, 2015

My Interview about freelance

Half year ago I was interviewed by RJ Lynna as freelancer. Main question was how to become top rate freelancer on Upwork (it was ODesk). There are couple other freelancers as well. So if you like to know more about freelance welcome to this post.

Here is my part of interview:

  • When did you start working as a freelancer?

    2years

  • What made you want to work as a freelancer?

    I decided to move from my previous job. But it was too hard to find other good job in a short time. So I decided to earn some money for needs. But after 1st year I realised that I don’t really need office work.

  • What jobs have you worked in oDesk?

  • What contributed to your success in being one of oDesk’s Top Rated freelancers?

    None. it is really not important – you can find well payed job ever if don’t have any spending hours on odesk – I have such a friend. It is real.

  • What is your advice to the upcoming freelancers?

    Do short and creative things, follow the best guys. Don’t spend time on what you don’t like there a lot of people that do it with a pleasure. It is better find what do you really passion and do it online. Life is too short to spend it on a messy things.

Sunday, November 1, 2015

Use Wifi Router as Repeater (Draft)

Use your old wifi router as repeater or wifi access point. # Resources: * http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point * use d-link dir-300 as repeater [http://superuser.com/questions/265037/is-it-possible-to-setup-a-d-link-dir-300-wifi-router-as-repeater] * use d-link n150 as repeater [http://superuser.com/questions/342048/using-d-link-wireless-n150-router-as-an-access-point-can-it-be-done] * http://habrahabr.ru/post/136418/ [ru] - Как объединить две Wi-Fi сети, или работа роутера в режимах repeater и repeater bridge

Friday, September 18, 2015

Setup docker for RSyslog

I'm going to talk about setup RSync for python (api_hour) application. But it is also related to any languages, actually I will build my article on docker for php. So you can use it for any service with logging.

As you maybe know docker team decide (??? needed link ???) that it is not good to have more than 1 service inside of docker so if you decide to use well known syslog inside of you app you should launch it separately. Because usually none of docker images comes with syslog inside.

I was playing with brand new engine for async python - api_hour and realize that it requires syslog.

So I have stared from one article that bind mount hosts of syslog docker with your server docker. But there other more easer solution it based on entrypoint, shared volumes and soft links (issue #4).

So in my case I have such launch script (shorten for example case):

you also should change

to

in etc/aggregator/api_hour/logging.ini.

After that you can check log output by

Thanks all.

Monday, September 7, 2015

Untouched TouchScreen for Raspberry PI 2 pt1


And finally I have got a time to setup TouchScreen for my Rpi2. And I shat say that it wasn't easy.

What I have had:
- Rpi2
- 3.5" TFT LCD Touch Screen Module 320*480 RGB Display Board with logo of WaveShare SpotPear
http://www.wvshare.com/product/3.5inch-RPi-LCD-A.htm


I have found one article with tutorial http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/. It uses common custom driver for Touch LCDs https://github.com/notro/fbtft/. But author of this article has different module with different controller.

But my module has XPT2046 controller and it requires slightly different setup command. Lets see those differences

$ sudo nano /etc/modules



$ sudo nano /boot/cmdline.txt


$ sudo nano /boot/config.txt

we use config.txt and device tree overlays because in actually firmware of Rpi2 no longer uses ads7846_device.
https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README


so with those changes LCD screen works fine. But touch interface still doesn’t work I will do more investigations later, when I will get more free time. but if you have had same problem but now fixed it, please put comment here with right solution.

Links

http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A) - FAQ on site of

Tuesday, September 1, 2015

Live streaming of International Space Station video on Raspberry PI

Few days ago I found that there live streaming from International Space Station that available 24h 7 days in a week. It shows earth from a space and looks like brilliant screen saver that you can watch all day long or at least 45 minutes next 45 minutes it is just black screen because it comes to the night side of the earth.

So I have connected my Raspberry PI to TV and setup streaming. There a lot instructions how to archive it:

And maybe because of slow connection my app was always stops playing. But luckily there easy way to fix it (just increase timeout):

Saturday, June 13, 2015

Hurray! I've got Rasberry PI2


It is really holiday! I've got 2 presents from China in once - close-up lens 10x and Rasberry PI2.
So I decide why don't put them together and implement my first Rasberry project - Rasberry PI2 Super Macro

Monday, June 23, 2014

RESTful for Angular / draft

# FAQ ## need to (de)serialize some fields. For example, if your server works only with data in a specific format. And you need to convert it to this format before send and deconvert when you get data from server to receive Date object in your Angular application.