Category: How To

Various howtos

Silence Noisy Speaker
Posted in Featured on Home Page Hardware How To Other

How to silence a piezo buzzer in your microwave, alarm clock etc

Almost every time I buy a piece of electronics with some sort of alarm it always includes a super loud and mega annoying buzzer notifying about the end of cycle. Though tuning it off completely is an easy operation (just open the case and cut the wire) making it just…

READ MORE
Browser Offline
Posted in How To Web

How to make browser offline cache retrieve new version of the page when browser is online, but keep using cache when it is offline

Offline cache is awesome! For certain things. For most regular web pages it is unfortunately not. Here is web developer’s most frequent use for the offline cache: make browser use cached version of the page when browser is offline but refresh it when it gets online. What could be simpler…

READ MORE
Posted in How To Linux Web

AWS EC2 ssh not responding in RHEL 6.4 AMI

I was fighting with an AWS bug today seeming just ridiculous for a system that makes ssh the only way to access the server. With no console login EC2 users are completely dependent on flawless sshd operation and Amazon team just did a really bad job preparing the RHEL 6.4…

READ MORE
Posted in How To Tools

How to use large / multiline text as a field in mongodb

I’m working on a project that requires storing large multiline chunks of text in MongoDB. The chunks should be inserted in the database during initial database population, so I need to enter them somewhere in db population script. Unfortunately you can’t just put something like this: db.tests.insert( { name: ‘test’,…

READ MORE
Posted in How To Other

Oracle Policy Automation Modeler Debugger 10.4.3 is not working with Internet Explorer 10

Oracel Policy Modeler Debugger is not working with Internet Explorer 10. You can still use it to author and compile rules, but debugger with windows just hangs. There is no official fix for this yet, so your only option is to uninstall IE10 if you can. In windows 7 go…

READ MORE
Posted in Hardware How To

FPV Japan / BEVRC Cable pinout

If you don’t hear about it FPV Japan is a small device that records standard definition video from analog sources. This is an indispensable device for FPV RC pilots and the ones who want to digitize old analog video tapes. I fall into both categories, but unfortunately the video cable…

READ MORE
Posted in How To Linux

make: /opt/local/bin/ginstall: No such file or directory

make: /opt/local/bin/ginstall: No such file or directory This happened to me while running bundle install on json v1.7.7. The fix is # sudo if necessary ln -s /usr/bin/install /opt/local/bin/ginstall

READ MORE
Posted in How To Linux

Installing Oracle XE 11g on OpenSuSE 12.2 and similar

Overall the installation is pretty smooth, just follow the instructions on Oracle website. There are two minor hiccups though: 1. cannot touch `/var/lock/subsys/listener’: No such file or directory This error is cause by the fact there is no /var/lock/subsys directory in some Linux distros, so you need to create one….

READ MORE
Posted in How To Other

How to call Oracle Policy Automation via SOAP/WSDL

As you probably read in my other post, OPA is a great alternative to the Oracle Business Rules (OBR) as all the business logic could be exposed via web services. Unfortunately Oracle didn’t leave us much documentation about how to do that. So if you’re wondering how do you call…

READ MORE
Posted in How To Other

Configuring Oracle Policy Automation Determinations Server runtime pluggability as an alternative to Oracle Business Rules

It looks like not many people know about this, but Oracle actually has two business rule engines. One is called OBR (Oracle Business Rules) and it is bundled with SOA suite. The other one has less meaningful name OPA (Oracle Policy Automation) and at the first glace serves totally different…

READ MORE
Posted in How To Linux Other

GIT: ! [remote rejected] master -> master (n/a (unpacker error))

I’m working on multiple machines under multiple accounts on the same project and using git to sync between the codebases. The program by its nature has to run under root account, so no wonder at some point permissions got screwed up and I’ve got stuck with this error: ! [remote…

READ MORE