Backing up Unify router config without Remote Access

For those who decided ‘Remote Access" feature of Uniyfy isn’t worth the security risks associated with it, but still want a local backup of the config, I’ve found a decent solution. Sharing this here, since it’s not readily searchable on the internet nor would AI give you a good answer if you ask about it. And if you run into this head-first, you’ll quickly discover that router doesn’t have samba(cifs) mount support router doesn’t have sftp/fuse mount so your usual rsync options of backup fall apart....

07/30/2024 · 1 min · Viktor Halitsyn

SNB: Unify Dream Router vs. Merlin-Compatible Router

In this post I go over my move to Unify router, over a top-of-the-line Asus one, even though I got a new one just about a month ago. I used to like my Asus routers: they stroke a balance between performance, reliability user-friendliness and maintenance. “Balance” is a very important word here, because they did neither well. In fact, as my routing needs grew, even “well” became an issue. Commonly I’d need to run a couple networks: main network for all secure devices, guest network for, well, guests :), isolated guest network for all the non-US-made IoT thingies and one for gaming/mining/whatever....

12/11/2023 · 3 min · Viktor Halitsyn

DiskTest in go and Synology NAS

Back in 2013 I got myself a Synology DS413j, which has proven to be a reliable companion for me though these 7 years. I used it for file backup, media streaming and as a TimeMachine destination pretty successfully. Any such station needs good drives to provide value, and drives, as many of us know, are pretty unreliable. In 7 years I replaced about 6: 2 were bad right after arrival, and another 4 went bad as the years went by....

05/31/2020 · 4 min · Viktor Halitsyn

java.net.MalformedURLException: no protocol: and]

Had a problem with injecting JMSFactory for JBoss MQ using spring(for Camel :)). The problem had the next StackTrace: Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.net.MalformedURLException: no protocol: and] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:780) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154) I was sure I configured it right as I have <jee:jndi-lookup id="JBossMQ" jndi-name="XAConnectionFactory" proxy-interface="javax.jms.ConnectionFactory" environment-ref="jndiProps" resource-ref="true"/> <util:properties id="jndiProps" location="META-INF/spring/jndi....

09/06/2011 · 1 min · Viktor Halitsyn

String.split() VS String.startsWith() VS Regex simple performance comparison.

Now really, what would be faster/more reliable for a typical not so complicated and not over-simple case? Yes the one we tend to deal with in our day-to-day work? For those impatient benchmarks are here.Reading a 100/1000-line file is not fun and I really think you shouldn’t bother choosing if you’re dealing with such volumes of data. But if you have to parse 320k-500k records lines, which, in fact, is not that large – 320k of CSV data is ~ 12MB performance is considerable....

04/19/2011 · 6 min · Viktor Halitsyn

907: Invalid cod and other BlackBerry OTA problems.

Most of us, who developed any BlackBerry app that had to be shipped OTA had seen this &#8220;descriptive&#8221; error. It might be anything from invalid jad to signing problems. The one I&#8217;m going to describe here is when the size of the cod file is more than 64K. Finding out if you have this problem is fairly easy: just look into the final cod and see if there are actually 2 cod files packaged in one cod....

03/10/2010 · 3 min · Viktor Halitsyn

Switching to container based datasource…

Quite a time ago had to do this but had no time for posting a complete solution. Read a few articles on that so that I got the idea. Although it looks quite simple you might run into several configuration issues firing weird and long stacktraces. To get rid of those I&#8217;ll describe the way it worked for me with some additional comments. First of all lets assume we use JBoss app server....

01/11/2010 · 2 min · Viktor Halitsyn

Creating dynamic plugin architecture with C#.NET

There are a few articles on the web describing how to load assemblies using reflection, thus allowing you to execute third-party code inside your own application. While applicable in most cases, my customer wanted those plugins to be replaceable on-the-fly. Keep mind that once an assembly has been loaded into an application domain it cannot be unloaded unless you unload the domain(which is you main app domain by default)=close the application....

12/12/2009 · 5 min · Viktor Halitsyn

Blogger code formatting.

Finally I found a nice code formatter for google blogs. Thanks to PleaseMakeAnote now I can make such fancy posts as: using System; /// <summary> /// Summary description for Class1 /// </summary> public class Class1 { public Class1() { // // TODO: Add constructor logic here // int x = 10; } }

09/14/2009 · 1 min · Viktor Halitsyn

Trying out Google base

Subj is only at beta but is really nice! Though not very complicated and lots of info on google sites i found it still quite time consuming to write a single posting app… But when finished everything looked very nice! class Program { const string GOOGLE_LOGIN_SECTION = "googleLogin"; const string BATCH_COUNT_SETTING = "batchCount"; const string CHECK_EXISTANCE_SETTING = "checkExistance"; const string MyItem_ITEMTYPE_SETTING = "MyItemItemType"; const string MyDB_CONNECTION_STRING = "MyDBConnectionString"; static void Main(string[] args) { string appNameG = Utils....

06/10/2008 · 3 min · Viktor Halitsyn