So, that happened and I had to spend a considerable amount of time choosing new passwords. I really didn’t write about how I manage my passwords. I thought about writing this tip because it’s a game of battle between convenience and confidentiality. People choose weak passwords because they are easy to remember. But easy to guess at the same time. ...

I screwed it up again. I logged into one of my e-mail accounts from a shared computer owned by someone else. This is something I never do (unless there’s a top urgency) because I fear keyloggers. So now, time has come to change the passwords. Next factor of two factor authentication will keep me protected, but still need to fix ...

These days I’m working on a JIRA project which may require working with XML backups and project import tool. The JIRA instance I’m currently working on has over one million issues in thousands of projects (including defunct) – that collectively make the XML backup gigantic. Have you ever come across the situation where you want to delete some of the ...

Today, I encountered a problem when the edits I made to ‘/etc/hosts’ file on a Linux box didn’t work as expected. In the /etc/hosts file I added the following line, 192.168.50.2 shaakunthala.com And to test, issued the following command, $ ping shaakunthala.com And the result was, PING shaakunthala.com (184.168.221.17) 56(84) bytes of data. That’s not the IP address I wanted ...

Today, I encountered a problem when the edits I made to ‘/etc/hosts’ file on a Linux box didn’t work as expected. In the /etc/hosts file I added the following line, 192.168.50.2 shaakunthala.com And to test, issued the following command, $ ping shaakunthala.com And the result was, PING shaakunthala.com (184.168.221.17) 56(84) bytes of data. That’s not the IP address I wanted ...

රටේ දැන් දැන් සිද්ධ වෙන බරපතල සිද්ධිත් එක්කම මට එකපාරටම පරණ යමක් මතක් වුණා. 2005 අවුරුද්දෙ උසස්පෙළ නිමා කරල රජයේ විශ්වවිද්‍යාලයකට යන්න සුදුසුකම නූලෙන් මිස් වෙලා රාජගිරියෙ රසායන විද්‍යා ආයතනයෙ උපාධිය හදාරන්න යන කාලෙ ඇහිච්ච, හිත කලකිරවන වචන කීපයක්. එක දවසක් අකාබනික රසායනය පිළිබඳ දේශන පවත්වපු මහාචාර්ය වරයෙක් දේශනයෙ කොටසක් ඉවර වෙලා පොඩි අතුරු කතාබහක් පටන් ගත්තා. පොඩි බ්‍රේක් එකක්. ...

රටේ දැන් දැන් සිද්ධ වෙන බරපතල සිද්ධිත් එක්කම මට එකපාරටම පරණ යමක් මතක් වුණා. 2005 අවුරුද්දෙ උසස්පෙළ නිමා කරල රජයේ විශ්වවිද්‍යාලයකට යන්න සුදුසුකම නූලෙන් මිස් වෙලා රාජගිරියෙ රසායන විද්‍යා ආයතනයෙ උපාධිය හදාරන්න යන කාලෙ ඇහිච්ච, හිත කලකිරවන වචන කීපයක්. එක දවසක් අකාබනික රසායනය පිළිබඳ දේශන පවත්වපු මහාචාර්ය වරයෙක් දේශනයෙ කොටසක් ඉවර වෙලා පොඩි අතුරු කතාබහක් පටන් ගත්තා. පොඩි බ්‍රේක් එකක්. ...

If you are into software development, you may have wanted to drop all tables of an Oracle database schema in a single shot. How do you do it? Here’s how I do it with a simple PL/SQL procedure. begin for i in (select * from tabs) loop execute immediate ('drop table ' || i.table_name || ' cascade constraints'); end loop; ...

If you are into software development, you may have wanted to drop all tables of an Oracle database schema in a single shot. How do you do it? Here’s how I do it with a simple PL/SQL procedure. begin for i in (select * from tabs) loop execute immediate ('drop table ' || i.table_name || ' cascade constraints'); end loop; ...

ලංකාවේ එක්තරා විශ්වවිද්‍යාලයක උපාධි අපේක්ෂක (undergraduate) මිත්‍රයෙක් දවසක් Java සම්බන්ධ assignment එකක් කරගන්න බැරුව මගෙන් උදව් ඉල්ලුවා. පරිගණක විද්‍යාව හදාරපු ඕනම කෙනෙක් දන්නවා sorting algorithms ගැන. මේකත් අන්න එහෙම sorting algorithm එකක්. ඒකෙ එක තැනකදි මම enhanced for loop පාවිච්චි කරලා array එකක් iterate කරන හැටිත් කියල දුන්නා. ඒ කිව්වෙ මෙන්න මෙන්න මේ වගේ එකක්, // x is an array ...

ලංකාවේ එක්තරා විශ්වවිද්‍යාලයක උපාධි අපේක්ෂක (undergraduate) මිත්‍රයෙක් දවසක් Java සම්බන්ධ assignment එකක් කරගන්න බැරුව මගෙන් උදව් ඉල්ලුවා. පරිගණක විද්‍යාව හදාරපු ඕනම කෙනෙක් දන්නවා sorting algorithms ගැන. මේකත් අන්න එහෙම sorting algorithm එකක්. ඒකෙ එක තැනකදි මම enhanced for loop පාවිච්චි කරලා array එකක් iterate කරන හැටිත් කියල දුන්නා. ඒ කිව්වෙ මෙන්න මෙන්න මේ වගේ එකක්, // x is an array ...

As per the documentation provided in the following page, once you query ALL_TAB_COLUMNS, database views and view columns are also included. There’s nowhere specified whether the table is actually a table or a view. http://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_2094.htm However, with the following SQL it’s easy to exclude views and retrieve table columns only. select   table_name,   column_name,   data_type,   data_length,   ...

As per the documentation provided in the following page, once you query ALL_TAB_COLUMNS, database views and view columns are also included. There’s nowhere specified whether the table is actually a table or a view. http://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_2094.htm However, with the following SQL it’s easy to exclude views and retrieve table columns only. select   table_name,   column_name,   data_type,   data_length,   ...

Yipee! Got a new job; got a new job! :) I’ll be in touch with different set of articles,… how could it be like being a JIRA administrator. During last few months I had nothing special to blog. I don’t do politics, rarely gossip, and I’m a tech-blogger.Filed under: blogging, lifestyle, tech Tagged: ආගිය කතා, blogging, jira, tech

Yipee! Got a new job; got a new job! I’ll be in touch with different set of articles,… how could it be like being a JIRA administrator. During last few months I had nothing special to blog. I don’t do politics, rarely gossip, and I’m a tech-blogger. Filed under: blogging, lifestyle, tech Tagged: ආගිය කතා, [...]

A rare mongoose hit my bike’s front wheel few minutes ago while I was riding, just near the entrance of the general cemetery. The shock felt like a severe hit, but luckily that guy survived. I turned back to see any injuries, but the engine’s scream made him run away, even though injured. This shocked me, because, nowadays we don’t ...

A rare mongoose hit my bike’s front wheel few minutes ago while I was riding, just near the entrance of the general cemetery. The shock felt like a severe hit, but luckily that guy survived. I turned back to see any injuries, but the engine’s scream made him run away, even though injured. This shocked me, because, nowadays we don’t ...

My 3-year old laptop’s DVD drive no longer works correctly, so I had to find an alternative method to install the fresh out of the oven Maverick Meerkat. So it’s USB. First I tried unetbootin but it seemed not installing the bootloader properly. Since I’m not familiar with GRUB2 it would’ve been extra workaround for me. Fortunately there was a ...

Previous Page