
Archive for the ‘Uncategorized’ Category


WebDev.WebServer Copy to another PC
December 21, 2007You need 3 files
1. \WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXE
2. \WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.exe.manifest
3. \Windows\assembly\GAC_32\WebDev.WebHost\8.0.0.0__b03f5f7f11d50a3a\WebDev.WebHost.dll
no:3. you can’t copy with windows explorer, go to console and copy it

my programming language for web dev
December 21, 2007Okay,
Long time no see ya…
now, my programming language for web dev focus on
1. javascript (jquery)
2. ruby on rails
3. c# (monorails)

JavaScript - prototype shortcut - extending with json
May 15, 2007Mungkin sudah lumrah kalau di javascript kita bikin object dan creating methodsnya menggunakan prototype, dan yang sudah lumrah juga bahwa penulisan di javascript sebisa mungkin minimal (production biasanya di compress menggunakan tools dari Dean Edward), nah disini saya coba tamplikan cara penulisan untuk penambahan methods (contoh untuk object Date) dengan mengunakan function shortcut untuk prototype dan hasil dari pemanggilan function tersebut akan ditambahkan shortcut prototype penambahan methods dan shortcut prototype function penambahan methods menggunakan json.


Link (a href) untuk Delete Record yang aman
May 2, 2007
<a href="#" class="delrec" norec="1">
<img src="del.gif");?>"/>
</a>
- - - - - -
<script type="text/javascript">
$().ready(function() {
$(".delrec").click(function(){
rec = $(this).attr("norec");
if (confirm("Are you sure to delete this record:"+rec)) {
location = "<?php e($this->webroot."ctrls/delete/");?>"+rec;
}
});
});
</script>

Mercurial - adding some file match on ext ( hg - add glob regex -n )
May 2, 2007some of the command are:
hg add -n "glob:**.ctp" // it will show match file, doesnot execute the command hg add "glob:**.ctp" // this one will add to the next commit hg revert -all // this one will revert back to the last commit ( all files ) if you already change the file it will be have add ext .orig

Ruby Code Generator for CakePHP
May 2, 2007Creating CakePHP Code using Ruby Code Generator from PostgresSQL or MySQL database just like scaffolding (but on steroids)
http://rubyforge.org/projects/rubycakephp/
masih dalam taraf bersih-bersih dulu biar ndak kebawa coding yang di kantor en restructure coding biar ruby way gituuu…

DSL can’t access share on Damm Small Linux - N
January 1, 2007You might not have permission to use this network resource.
Contact administrator of this server to find out if you have access permissions.The account is not authorized to log in from this station
this is the result if we try to logon to DSL ( dsl-n-01RC4.iso ) from windows XP
gues what, the problem is realy simple, the “/etc/samba/smb.conf” doesn’t have line in global says:
[global] encrypt passwords = true
Usually I am using Suse 10.1 and also testing on ubuntu 6.10 server, and the configuration was good on that distribution.
Ok I’ll show you the recent configuration of
DSL - N: [global] workgroup = HOME server string = %h server (Samba, DSL) dns proxy = no log file = /var/log/log.%m max log size = 50 syslog = 0 encrypt passwords = true obey pam restrictions = yes invalid users = root socket options = TCP_NODELAY
ubuntu 6.10 - Server: [global] workgroup = HOME server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY

Appfuse - Java Upload file 70MB - OutOfMemoryError
December 20, 2006my friend in the office got this problem and the solution (preliminary) is to increase the heap size to be-come
“java -Xms32m -Xmx512m” .

Upgrade to radrails 0.71
September 12, 2006Yesterday,
I am upgrading my radrails to version 0.71,
nice improvement…



