Fulltext results:
- Dice Roller @blog:2009
- ascript> function roll() { var count = parseInt(document.rolldice.n.value); var sides = parseInt(document.rolldice.s.value); var offset = parseInt(document.rolldice.o.value); var result = offset; ... i < count; i++) { roll = 1+Math.floor(Math.random()*sides); result += roll; rolls += " "+r
- IPS Repository Appliance @blog:2010
- If you are in a hurry, it's good to know that you don't need to copy the entire repository of about 8G... he repository image directly. Here is how you can do that. ===== Download the ISO Images ===== You need to download two ISO images. The Live CD to boot the repository s
- Hello Drupal @blog:2010
- o, I decided to migrate my blog from [[http://www.dokuwiki.org/|DokuWiki]] to [[http://drupal.org/|Drupal]]. Blogging with DokuWiki was OK using the plugins from the [[http://dokuwiki.foosel.org/blogsuite/index.php|DokuWiki Blo
- Drupal: Reverse Proxy @blog:2010
- d also enables mutliple logins, if using multiple domain names for one installation. It has also a ni... log in with both accounts at the same time, I can do this using different domains. <code php> $request_type = ($_SERVER['HTTP_X_FORWARDED_HOST'] == 'ssl.... ['SERVER_NAME']; // NO trailing slash! $cookie_domain = $_SERVER['SERVER_NAME']; } else { $base_u
- Welcome Back @blog:2013
- og:2010:welcome|moved my blog]] from [[http://www.dokuwiki.org/|DokuWiki]] to [[http://www.drupal.org/|Drupal]]. Today, I moved it back to DokuWiki. The reason for switching to Drupal was fo... ing this site more as Knowledge Base than a Blog, DokuWiki is the better alternative. <del>You can st
- Virtual Network Visualization @blog:2009
- kes the output of dladm show-link and generates a dot-File, which then can be rendered using [[http://www.graphviz.org/|Graphviz]]. Update: The dladm2dot.pl script now also shows the non-global zones of the interfaces. {{:blog:2009:dladm2dot.png?nolink|Example Output}} -> [[info:solaris:dladm2dot|Read more...]]
- Memory Usage of a Solaris Container (Zone) @blog:2010
- <code bash> prstat -Z </code> From the [[http://docs.oracle.com/cd/E19082-01/819-2240/prstat-1m/inde... prstat -z zone -s size </code> From the [[http://docs.oracle.com/cd/E19082-01/819-2240/prstat-1m/inde... a zone name or a numerical zone ID. See [[http://docs.oracle.com/cd/E19253-01/816-5175/zones-5/index.... rmation about ''prstat'', see the manual [[http://docs.oracle.com/cd/E19082-01/819-2240/prstat-1m/inde
- ReLAX @blog:2009
- ery interesiting concepts, but, unfortunately, it doesn't fit my needs. So I decided to take some of t... is the building of an API with shell-scripts. I adopted this from LAX. * LAX uses an LDAP server to... RLs. That's it for now, stay tuned... I started documenting the API, so you might want to have a loo
- OpenSolaris / VirtualBox: Mount Shared Folder @blog:2009
- h ''pfexec''. First, create the mountpoint if it doesn't exist. You will have to do this only once. <code bash> pfexec mkdir /share </code> Now, mount ... hen add this to the file ''/etc/vfstab''. You can do this by executing ''pfexec vi /etc/vfstab''. <co
- Simulating slow network connections with trickle @blog:2014
- onnections with trickle ====== You can limit the downlink of a Firefox browser to 512 KB/s with this ... of trickled -d <rate> Set maximum cumulative download rate to <rate> KB/s -u <rate> Set maxim... e upload rate to <rate> KB/s -w <length> Set window length to <length> KB -t <seconds> Set default
- Home Server Goals @blog:2010
- Europe, but there are some apps which I can't or don't want to host there. This includes PHP and JEE ... R solution for OpenSolaris yet. This is currently done using an Mac mini with Mac OS X and running an
- ZFS Playground @blog:2009
- , which will bring us back to what we should have done in the step before. <code bash> pfexec zpool a... and remove the files. Note that ''zpool status'' doesn't show the pool any more. <code bash> pfexec
- How To Create a Moveable VM with VirtualBox @blog:2010
- ill put it in the default directory. Second, you don't have an option to specify where to put the VM ... VM must not have snapshots. * You have to shut down the VM. If you suspend it, it won't detach. *
- Start and Stop the Apple File Server from Command Line @blog:2011
- Server ("Personal File Sharing"): <code bash> sudo /sbin/service com.apple.AppleFileServer start </code> And likewise stop it: <code bash> sudo /sbin/service com.apple.AppleFileServer stop </co
- Upgrade Solaris 11/OpenSolaris from Text to Graphical @blog:2010
- e. Here is how to upgrade to a graphical system. Do the following as root (''su'') or with appropriate permissions (''pfexec/sudo''). <code bash> echo Existing boot environments: