Friday, April 22, 2016

Upgrading Uniform Server

As there is no official guide on how to upgrade Uniform Server from one version to another I decided to compile one myself, keep in mind that I might miss something and update this guide from time to time when I run into an issue:
  1. Export Your databases using phpMyAdmin
  2. Export Your databases users using phpMyAdmin because databases export does not do that
  3. Stop Apache and MySQL, if You are running them as Windows services - uninstall them
  4. Rename Your UniServerZ folder to UniServerZ-backup or something
  5. Put Your new UniServerZ folder where Your old one used to be
  6. Check .httaccess files for stuff that might conflict
  7. If everything is OK copy www folder from UniServerZ-backup to UniServerZ
  8. If You use VHosts copy vhosts folder from UniServerZ-backup to UniServerZ compare \core\apache2\conf\extra\httpd-vhosts.conf files and copy extra lines at the end from UniServerZ-backup to UniServerZ - this one did not work for me, I had to recreate vhosts in UniController and after that do the copying, might have something to do with hosts file
  9. If You use SSL copy ssl folder from UniServerZ-backup to UniServerZ, compare \core\apache2\conf\extra\httpd-ssl.conf files and copy extra lines at the end from UniServerZ-backup to UniServerZ
  10. Compare \core\mysql\my.ini files and copy settings from UniServerZ-backup to UniServerZ if needed
  11. Compare \core\php70\php_production.ini files and copy settings from UniServerZ-backup to UniServerZ if needed
  12. Start the new UniController.exe (as administrator if You need to edit start-up settings)
  13. Enter the root MySQL password, preferably same as the old one for simplicity
  14. Edit start-up settings if needed
  15. Reinstall Windows services if needed, start the Apache and MySQL
  16. Import (or recreate) Your databases users using phpMyAdmin
  17. Import Your databases using phpMyAdmin
Bonus:
  • If You need to access Your databases from outside:
    1. Comment the "bind-address=127.0.0.1" line in UniServerZ\core\mysql\my.ini file (it might be already done in 10th step)
    2. Change the hostname for database users using phpMyAdmin

Wednesday, March 30, 2016

IPTV M3U players

If You have a IPTV playlist in M3U format and want a convenient way to watch it, there are quite a few different solutions for it and not all of them might be suitable for every circumstance, and as I have quite an experience with this situation, I'll try to list all the useful stuff I had a chance to try out.

Before I begin, Your playlist might be compiled from multicast streams and Your router might forbid multicast packets to pass through it, so You either need to enable multicast in Your router or use udpxy, but this post is not about that, so lets assume that router is set up and streams reach the device You want to watch on, here is a list of players tested by me:

Simple stand alone players:
Media Centers - most feature packed solutions:
  • Kodi + IPTV Simple Client - my personal favorite, works great on Windows, should be same on Mac and Linux, however did not test it on Android
  • MediaPortal - another very powerful media center package with great EPG support, but quite hard to set up compared to Kodi or Plex
  • Plex + IPTV.bundle - plugin made by me, EPG is much humbler and playback capabilities are quite limited compared to Kodi or MediaPortal, but devices supports is wider, check github repository for more information retired by Plex
  • New! Emby - did not test much but it has IPTV support out of the box
  • New! Jellyfin - needs testing
DLNA servers - when You are limited to DLNA:
  • xupnpd - ultra compact DLNA server, no EPG but completely free, can be installed on a router!
  • Serviio - very powerful DLNA server, lacks EPG and free version is limited
Smart TV apps and widgets - when you can't run a dedicated server, these are hosted solutions:
Links for further research:

And finally my choice of EPG "grabing" is WebGrab+Plus.

Thats it for now, If You have a solution not listed in here, please share it in the comments bellow.

Friday, March 4, 2016

Removing Skype adds

Hit Win+S, type "internet options" without quotes, choose Security tab, click Restricted Sites, click Sites and add "apps.skype.com" without quotes, enjoy:


Monday, June 22, 2015

Blog update

Some changes happened here:
  • English language - first of all from now on I will I think I will write in English, and as nobody reads it anyway I will give no reasons why. And I think I will skip on long stories, just essential information that might be useful to somebody, but mostly will be useful to me.
  • New home - domain cigaras.tk got disabled as a result fraud that I know nothing about, I tried contacting freenom.com for more details but they could not give me the exact reasons, so as I was forced to change the domain, I decided to change the blog location also, and here I am at blogspot.com, also reachable by valdas.ml valdas.ax.lt.
And that is all, If anyone stumbles across this page do not hope to get regular post here, it might look deserted, it might even be deserted, I still did not figured out why I even started this blog :) You can find more silly stuff shared by me on my Google+ profile, but again do not hope for regular post there either.

Thursday, April 16, 2015

Suntour suspension fork hierarchy and features

From best to worst:
  • Axon
  • Epixon
  • Raidon
  • XCR
  • XCM
  • XCT
Features:
  • P = Post-mount brakes
  • D = Disc brake mounts
  • D-P = Disc mount and Post-mount brakes
  • MLO = Mechanical Lock Out
  • HLO = Hydraulic Lock Out
  • RLO = Remote Lock Out
  • LOD = Lock-out with Rebound Damping
  • E = chromoly stanchions and steerer
  • D (vs E) = STKM stanchions and steerer
  • DS = ?
Source: MTBR forum, sesuntour-cycling.com

Tuesday, April 14, 2015

Shimano MTB XC parts hierarchy

From best to worst:
  • XTR
  • Deore XT
  • SLX
  • Deore LX
  • Deore - lowest for mountain biking
  • Alivio - highest for recreational biking
  • Acera
  • Altus
  • Tourney
Source: Wikipedia

Tuesday, March 31, 2015

UDPXY command line arguments

usage: udpxy [-vTS] [-a listenaddr] -p port [-m mcast_ifc_addr] [-c clients] [-l logfile] [-B sizeK] [-n nice_incr]
-v : enable verbose output [default = disabled]
-S : enable client statistics [default = disabled]
-T : do NOT run as a daemon [default = daemon if root]
-a : (IPv4) address/interface to listen on [default = 0.0.0.0]
-p : port to listen on
-m : (IPv4) address/interface of (multicast) source [default = 0.0.0.0]
-c : max clients to serve [default = 3, max = 5000]
-l : log output to file [default = stderr]
-B : buffer size (65536, 32Kb, 1Mb) for inbound (multicast) data [default = 2048 bytes]
-R : maximum messages to store in buffer (-1 = all) [default = 1]
-H : maximum time (sec) to hold data in buffer (-1 = unlimited) [default = 1]
-n : nice value increment [default = 0]
-M : periodically renew multicast subscription (skip if 0 sec) [default = 0 sec]


More info: mankier.com

Bonus, reading the multicast ip from ifconfig:
udpxy -m $(ifconfig vlan2 | grep 'inet addr:' | sed -e 's/.*inet addr://' -e 's/ *Bcast.*//')