Some website does not load in ACT Broadband India

Check your router for DNS server configuration. I am using act broadband in india and i need to change the router settings. By default, it is configured to get DNS server configuration from ISP which is ACT Broadband. I changed it to manual and used google public DNS IP address

Now all the websites opening fine.

Businessdays calculation lotus script

@buainessdays is very usefull in calculating business days between two dates. But could not find a function in lotus script. But we can make use of evaluate function.

result = evaluate(|@businessdays(startdate; enddate; daystoexclude;datestoexclude)|)

Also make sure you are passing date values in string and not as notesdatetime object.

Set dtStart = New NotesDateTime(StartDate)
Set dtEnd = New NotesDateTime(EndDate )

busdays = Evaluate({@BusinessDays([ } & Cdat(dtStart.DateOnly) & {]; [} & Cdat(dtEnd.DateOnly) & {]; 1:7)})

Some website is not loading in home wifi in archlinux os

I had this issue in my home wifi router. I am not able to browse my own website after installing archlinux in my laptop. I had struggled quite a bit to find what is the issue. My router is working fine and most of the websites are working fine.

I had finally found the issue with /etc/resolv.conf and resolved it by adding google public name server ipaddress in that file.

sudo nano /etc/resolv.conf


some website does not load in archlinux,
some website does not load in archlinux,

Also check your router for DNS server configuration. I am using act broadband in india and i need to change router settings. By default, it is configured to get DNS server configuration from ISP which is ACT Broadband. I changed it to manual and used google public DNS IP address

Now all the websites opening fine.

Conky themes for archlinux Desktop

I have downloaded a conky themes from website but had to work on the script to make it work for my arch linux desktop

WIFI download and upload speed is not showing correctly in that theme and solved it after some struggle. use ifconfig to find the wifi port number and update the script. in my case it is wlp3s0 instead of wlan0

conky theme
save below script in /home/<username>/.conky folder. file name should be _.conkyrc

download conkyrc

#!/usr/bin/conky -d -c
##    .conkyrc configuration
alignment top_right
background yes
border_margin 5
border_width 5
color0 555555            #
color1 FCAF3E            # zolty
#color2 64574e            # braz
color2 FFFF00            # braz
color3 a82553            # rozowy f71f84
color4 5e1014            # bordowy
color5 64574e            # braz
color6 a7a7a7            # szary
color7 8888CC            #  (COOL)
color8 9d9c61            # zolto-szary
color9 525276            # niebiesko-szary
cpu_avg_samples 2
default_color e1e1e1        # szary a7a7a7
default_outline_color 000000     # Black
default_shade_color 000000    # Black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 5
gap_y 40
max_specials 1024
max_user_text 10000
maximum_width 180
minimum_size 850
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_colour 000000    # Black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type override     ## normal
pad_percents 2            # to co nizej, miejsc po przecinku
short_units yes            # krotka wersja podawania wielkosci dyskow np. 612.21M/3.80G
stippled_borders 3
text_buffer_size 8000
total_run_times 0
update_interval 1.0
uppercase no
use_spacer right
use_xft yes
xftalpha 0.75
xftfont sans:size=7

${color2}${goto 10}${font DejaVu Sans Mono:size=44}${time %H}${font DejaVu Sans Mono:size=20}${voffset -25}'${time %M}${font DejaVu Sans Mono:size=8}${voffset -12}${time %S}
${color2}${goto 85}${voffset 10}${font :size=8}${time %A}
${color2}${goto 85}${voffset 1}${font :size=8}${time %d %B %Y}
${color}${font RsbillsDng:size=14}O${font}${font DejaVu Sans Mono:size=8}${execpi 3600 DJS=`date +%_d`; cal -m | sed '1d' | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}${font}

${voffset -20}${color2}${font led:size=10}SYSTEM ${font}$hr
${color}${sysname} Kernel: ${alignr}$kernel

${voffset -10}${color2}${font led:size=10}CPU ${font}$hr
${color}Core 1:  ${cpu cpu1}% $alignr ${freq_g (1)} GHz / ${exec sensors | grep "Core 0" | cut --bytes=14-21}
${color}Core 2:  ${cpu cpu2}% $alignr ${freq_g (2)} GHz / ${exec sensors | grep "Core 1" | cut --bytes=14-21}

${voffset -7}${color}${font}NAME ${goto 90}PID${goto 120}CPU% ${alignr}MEM%
${color}${font :size=6}${goto 9}${top name 1}${goto 85}${top pid 1}${goto 120}${top cpu 1}${goto 156}${top mem 1}
${color}${font :size=6}${goto 9}${top name 2}${goto 85}${top pid 2}${goto 120}${top cpu 2}${goto 156}${top mem 2}
${color}${font :size=6}${goto 9}${top name 3}${goto 85}${top pid 3}${goto 120}${top cpu 3}${goto 156}${top mem 3}
${color}${font :size=6}${goto 9}${top name 4}${goto 85}${top pid 4}${goto 120}${top cpu 4}${goto 156}${top mem 4}
${color}${font :size=6}${goto 9}${top name 5}${goto 85}${top pid 5}${goto 120}${top cpu 5}${goto 156}${top mem 5}

${voffset -6}${color2}${font led:size=10}MEMORY / HDD / USB ${font}$hr
${color}ram: ${mem} / ${memmax} ${alignr} ${memperc}%
${color}swap: ${swap} / ${swapmax} ${alignr} ${swapperc}%
${color}root: ${fs_used /} / ${fs_size /} ${alignr} ${fs_used_perc /}%
${color}home: ${fs_used /home} / ${fs_size /home} ${alignr} ${fs_used_perc /home}%
#${color}${voffset -12}${execpi 5 ~/.conky/}

${voffset -10}${color2}${font led:size=10}WIFI ${font}$hr
${color}gateway IP: ${alignr}${gw_ip}
${color}local IP: $alignr${addr wlp3s0}
${color}public IP: ${alignr}${execi 3600 wget -q -O /dev/stdout | cut -d : -f 2- | cut -d \< -f -1}
${voffset 5}${color}${goto 10}${font pizzadude bullets:size=16}S${font}${color}${voffset -12}${goto 40}Down: ${downspeedf wlp3s0}kb/s ${color}
${goto 40}Day: ${totaldown wlp3s0}${voffset -12}${alignr}${downspeedgraph wlp3s0 25,50 color color}
${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $3 $4}'}

${color}${goto 10}${font pizzadude bullets:size=16}M${font}$color${voffset -12}${goto 40}Up: ${upspeedf wlp3s0}kb/s${color}
${goto 40}Day: ${totalup wlp3s0}${voffset -12}${alignr}${upspeedgraph wlp3s0 25,50 color color}
${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $6 $7}'}

${voffset -10}${color}${font}${alignc}WIFI online:$alignr${wireless_essid wlp3s0}
#${color}${font}${alignc}${execi 60 ~/.conky/}

Manjaro Linux Review

Manjaro is an arch Linux based distribution. It is working fine with both UEFI and bios booting mode. Their community is very much active and has good documentation. If you interested in Manjaro, I recommend creating live dvd instead of live USB. The software used for creating liveusb(unetbootin, lili, yumi, multiboot) is not working perfect with Manjaro. When you boot from live DVD, it shows menu (for me) to select either UEFI or BIOS.

Manjaro is a rolling release distribution. It seems like they have separate release cycle even though it is based on Arch Linux. It having it’s own repositories and support for AUR (Arch User Repository).

Manjaro comes with XFCE and KDE desktops. You can use which one suites you but you have community build with other desktop environments like gnome, cinnamon, MATE, LXDE, etc,

The Package manager Pamac hving simple and clean interface and easy to use. you can search for particular package and it is having support for AUR as well.

Installing softwares like citrix receiver (ica client) is very easy and it is available in AUR. The software selection is very good and you are not just limited to Manjaro repositories, that is good.

Tamil and other Indian languages are officially supported in CyanogenMod 12

I am glad to see that CyanogenMod officially supporting Tamil and some other Indian languages. CyanogenMod 12 brings android L to many devices. It is still in early stages but I got a chance to try it out in my nexus 4. They have done a great job in supporting Tamil. But still some of the system apps are in English. This is still work in progress, it will get updated over the time. We need other application developers thing about localization in their application.






How to increase size of virtual box hard disk size

You can increase size of the hard disk of an installed OS in virtual box using below command.

VBoxManage modifyhd YOUR_HARD_DISK.vdi –resize SIZE_IN_MB

YOUR_HARD_DISK.vdi – Path to your hard disk file. You can get it from the virtual box. Open the virtual box and select the VM you would like to increase the size. Click settings and goto storage. Select the VDI file under the controller. you will see the path to your vdi on the right hand side.

SIZE_IN_MB – Specify new size of the file in MB, 1024 MB is 1 GB. for 10 GB specify 10240

Example command

VBoxManage modifyhd “C:\Users\IBM_ADMIN\VirtualBox VMs\RHEL\RHEL.vdi” –resize 10240

Lotus Notes/Domino9 is Released

Lotus Notes/Domino 8.5.4 is coming soon

It is Scheduled maintenance release, containing several bug fixes and some new features. for more information Click Here

IBM Lotus Social Edition Notes/domino 9 has beed released.

Xpage and Mobile Application

Mobile application can be divided into three types.
1. Native
2. Web
3. Hybrid

Native mobile application can intract with built in mobile features like camera and stored on mobile. Accessing the application in Offline is possible . But it is not the case in web applications. It can’t access the mobile phones built in features.

We can’t develope native mobile application using xpage. But with the help of Hybrid application we can achive this. By using the special java script libraries like PhoneGap, worklight. With the help of these js libraries, we can access mobile phone features like camera.

IBM recenly acquired the worklight product. It has supports for various mobile applications like iOS, Android.

If you want to try Worklight, you can download the developer edition of worklight.
Evaluate: IBM Worklight Developer Edition 5.0

Export to symphony from xpage

Lotus Symphony is the open source alternative for Microsoft Excel. It uses the odf format. It is calculating speed is faster than the MS Excel.

The main difference between exporting to excel and symphony is a matter of 3 lines of code

response.setHeader("Cache-Control", "no-cache");
response.setHeader("Content-Disposition","attachment; filename=export.ods");

Here we are creating the writter object for getResponseWriter and formatting the data using html table tags.

var writer = facesContext.getResponseWriter();
Your Header
Your Data for column1


Source code for the xpage

output += "" + viewEnt.getColumnValues()[0]; + "";
output += "" + viewEnt.getColumnValues()[1] + "";
output += "" + viewEnt.getColumnValues()[2] + "";
output += "" + viewEnt.getColumnValues()[3] + "";
output += "" + viewEnt.getColumnValues()[4] + "";
output += "";
viewEnt = viewNav.getNext(viewEnt);
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Content-Disposition","attachment; filename=export.ods");
Branch IdCompany NameShare valueCityCountry
"); writer.endDocument();}]]>