tag:blogger.com,1999:blog-60596294155635216982023-11-15T22:25:19.565+08:00@Chiq & StuffMy New World Now Begins.Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6059629415563521698.post-28969738957118266742016-08-19T19:19:00.001+08:002016-08-19T19:19:54.883+08:00Auto-mount of .Sparsebundle Image (Network Share)Today i was at client site. Had to set the .sparsebundle used by Time Machine Backup to be auto-mounted after server reboot on Mac OS X.
I referred to the tutorial below;
<br>
<a href="https://dillieodigital.wordpress.com/2013/08/02/quick-tip-how-to-mount-a-timemachine-network-drive-at-login/">Quick Tip: How to Mount a Time Machine Network Drive at Login</a>
</br>
When i used the script exactly the same (of course the path has to be changed accordingly), it was throwing out errors like directory not found, image not recognized etc.
What i did was i went back to basically running the script one by one the terminal and saw how it came about. So here below is the final script to make it happen:
<br>
<blockquote>try
<br>mount volume "smb://servername/dir"</br>
end try
<br>do shell script "hdiutil attach /Volumes/dir/filename.sparsebundle"</br></blockquote>
Then, do these;<br></br>
Applescript Editor -> Export as App to Documents -> Drag and drop to Login Items<br></br>
Try restarting the server and verify if the .sparsebundle is mounted automatically.
Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0tag:blogger.com,1999:blog-6059629415563521698.post-4374237793982057032016-03-15T17:21:00.000+08:002016-03-15T17:21:08.383+08:00SQL Server Configuration Manager Missing After Windows Server 2012 Upgraded to 2012 R2<p>I had this issue after I upgraded the operating system from Windows Server 2012 to 2012 R2. The SQL Server 2012 on the same server worked fine until I needed to access to SQL Server Configuration Manager for troubleshooting on some issue related to using SCCM 2012. That was when I realized SQL Server Configuration Manager was now missing.</p>
<p>The solution for the issue is as below:
<br>1. On a SQL server running the same version of SQL Server (2012 SP1) and installation features, I opened the folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft SQL Server 2012; (please take note that this is hidden folder)</br>
<br>2. Copied the folder Configuration Tools to the same folder on the SQL Server with the missing link to SQL Server Configuration Manager.</br>
</p>
<p>Reference: http://thoughtsonopsmgr.blogspot.my/2014/01/quick-trick-where-is-sql-server.html </p>Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0tag:blogger.com,1999:blog-6059629415563521698.post-53353182534186351992016-03-15T16:08:00.001+08:002016-03-15T16:08:43.012+08:00KVM Switch<p>Keyboard, Video, Mouse. Abbreviated to KVM.</p>
<p>Since last three weeks ago, when i went into the server room at my co., i thought i saw a magical monitor (but it was actually a KVM, not monitor) that could switch displays of different computers in one key press. And i was like, 'Uh what is this? How can it work this smart. Waah kagum.' :D I was curious on how it actually works since, but did not get a chance to ask and know what it exactly was.</p>
<p>However, yesterday, surprisingly i got the opportunity to see, touch and actually play with KVM switch when my boss told me to try setting up the device to connect few servers in our unit room. So basically KVM switch is used to control multiple computers/servers from one or more, keyboard, monitor and mouse. :) On the switch, you have the buttons to change the display of the computers you desire. So you no longer have to connect and reconnect different servers to a monitor, keyboard and mouse each time you want to use them.</p>
<p>Nice. :D</p>
<p>P/s: Drafted in 2011 and posted only today :)</p>Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0tag:blogger.com,1999:blog-6059629415563521698.post-30777247717014801402016-03-15T15:55:00.000+08:002016-03-15T15:55:32.956+08:00Disk (E:) Missing in Virtual Machine<p>I encountered an issue with my VM today where when I wanted to open an application console (Configurations Manager Console), the icon and everything were missing. I even tried to basically double-click on the menu with the missing icon, but nothing happened. So i checked the partition and found out that there was only system disk available which is (C:). And i know that all the application files and configurations are all in separate disk.</p>
<p>I looked at the VM setting in the Hyper-V Manager and things just looked good. So i continued checking on the Disk Management and saw that the (E:) disk was offline. What i did was then right-clicked, and select Online and afterward rebooted the VM.</p>
<p>When the VM was up again, now i could find all the disks that are supposed to be there and the Configurations Manager application is running fine.</p>
<p>To wrap it up, one of the things to be done when you encounter this kind of issue, try to look into Computer Management -> Disk Management and check if all the disks are online or offline.</p>
That's all.Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0tag:blogger.com,1999:blog-6059629415563521698.post-37458896711553468512011-03-29T00:47:00.002+08:002011-03-29T00:52:19.337+08:00Error solved at 00:17<b>jr@Ellen:~/Desktop/Finalized$ ruby finish.rb -f ~/Desktop/Malwarefortest/test3.\{OVL\}\{PE\} <br />./ssdeep.rb:8: uninitialized constant Ssdeep (NameError)<br /> from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'<br /> from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'<br /> from finish.rb:6 </b><br /><br />I renamed my older file in the same directory with "finish.rb" from "ssdeep.rb" to "newly.rb". :)<br /><br />Or i could have just dumped that "ssdeep.rb" to trash. :DAchixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com1tag:blogger.com,1999:blog-6059629415563521698.post-51038474998708499962011-03-12T01:37:00.005+08:002011-03-12T02:23:20.712+08:00Errors with 'require' in Ruby - Ubuntu 10.04I encountered some errors when running my code, just out of the blue; so i googled but didn't manage to find answers for the problem. <br /><br />./curb.rb:17:in `gets': No such file or directory - 6fd9c1c6b63137c7d93139472696b2e3 (Errno::ENOENT)<br /> from ./curb.rb:17<br /> from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'<br /> from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'<br /> from main.rb:18<br /><br />I had a hunch though, that it might have something to do with my gem, that i tried my luck updating it using the command;<br /><br /><b>$ sudo gem update -- system</b><br /><br />And here is the list of newly updated gems;<br /><br /><b>$ gem list<br /><br />*** LOCAL GEMS ***<br /><br />aaronh-chronic (0.3.9)<br />abstract (1.0.0)<br />actionmailer (3.0.5, 2.3.5, 2.3.4)<br />actionpack (3.0.5, 2.3.5, 2.3.4)<br />activemodel (3.0.5)<br />activerecord (3.0.5, 2.3.5, 2.3.4)<br />activeresource (3.0.5, 2.3.5, 2.3.4)<br />activesupport (3.0.5, 2.3.5, 2.3.4)<br />arel (2.0.9)<br />builder (2.1.2)<br />bundler (1.0.10)<br />chronic (0.3.0, 0.2.3)<br />columnize (0.3.2, 0.3.1)<br />curb (0.7.12, 0.6.6.0)<br />erubis (2.6.6)<br />gemcutter (0.7.0, 0.3.0)<br />haml (3.0.25, 2.2.17)<br />hoe (2.9.1, 2.5.0)<br />hpricot (0.8.4)<br />i18n (0.5.0)<br />json_pure (1.5.1, 1.2.0)<br />linecache (0.43)<br />mail (2.2.15)<br />mime-types (1.16)<br />mysql (2.8.1)<br />parseconfig (0.5.2)<br />polyglot (0.3.1)<br />rack (1.2.1, 1.0.1)<br />rack-mount (0.6.13)<br />rack-test (0.5.7)<br />rails (3.0.5, 2.3.5, 2.3.4)<br />railties (3.0.5)<br />rake (0.8.7)<br />RedCloth (4.2.7, 4.2.2)<br />ruby-debug (0.10.4, 0.10.3)<br />ruby-debug-base (0.10.4, 0.10.3)<br />rubyforge (2.0.4, 2.0.3)<br />rubygems-update (1.6.2, 1.5.0)<br />sprockets (1.0.2)<br />system_timer (1.0)<br />thor (0.14.6)<br />tlsmail (0.0.1)<br />treetop (1.4.9)<br />tzinfo (0.3.24)<br />whenever (0.6.6, 0.4.1) </b><br /><br />And taraaa... Everything works fine now~ :)Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com2tag:blogger.com,1999:blog-6059629415563521698.post-51871558054591382182010-02-22T10:00:00.004+08:002010-02-22T10:24:09.837+08:00Installation of Curb<div align="justify">Again, this morning i had a problem in installing the curl library onto my desktop@office. Thanks for not bringing the power charger for Ellen, Achiq. <br /><br />But it was good anyways. Since now i figured out the exact commands to install curb, not like yesterday when installing it on the laptop. So many installation commands had been used yet errors kept flooding in, till finally a miracle (?? ahaha) happened. :D<br /><br />So, basically when you typed;<br /><br /><b>$ sudo gem install curb</b><br /><br />And this produced error like;<br /><br /><b>Building native extensions. This could take a while...<br />ERROR: Error installing curb:<br /> ERROR: Failed to build gem native extension.<br /><br />/usr/bin/ruby1.8 extconf.rb<br />"-fno-strict-aliasing -g -g -O2 -fPIC $(cflags)"<br />checking for curl-config... no<br />checking for main() in -lcurl... no<br />*** extconf.rb failed ***<br />Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.</b><br /><br />Then, do this where you will type in;<br /><br /><b>$ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</b><br /><br />and,<br /><br /><b>$ sudo gem install curb</b><br /><br />Nanikore?? TBC.<br /></div>Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0tag:blogger.com,1999:blog-6059629415563521698.post-47081244325876357722010-01-10T01:23:00.009+08:002010-02-08T17:04:40.920+08:00JavaScript<div align="justify">JavaScript; people usually mistake it as same as Java programming language. Actually, both of Java and JavaScript are completely different. JavaScript is in fact another programming or computer language which is used to make the web pages interactive to users. <br /><br />There is no special program required for you to be able to create usable code. Any plain text editor such as Notepad is quite satisfactory for being able to write JavaScript. For a beginning, let us try writing some code to look at. :)<br /><br />1) Open the Notepad or any other text editor.<br />2) Write the code as below (Remember that JavaScript must always have the 'script'<script>...</script> tags):<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_tl4lzOKJ0x0/S02UKzzHBTI/AAAAAAAAAD8/3RVERi4nx2M/s1600-h/Untitled.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 185px;" src="http://2.bp.blogspot.com/_tl4lzOKJ0x0/S02UKzzHBTI/AAAAAAAAAD8/3RVERi4nx2M/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5426156039475496242" /></a><br /><br />3) Save it as test.html.<br />4) Try to run the file in any browser. Would you get it appear like this?<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_tl4lzOKJ0x0/S02UYC2GKtI/AAAAAAAAAEE/IiK_HFJHACw/s1600-h/Untitled2.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 140px;" src="http://2.bp.blogspot.com/_tl4lzOKJ0x0/S02UYC2GKtI/AAAAAAAAAEE/IiK_HFJHACw/s320/Untitled2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5426156266852854482" /></a><br /><br />See, the pop-up box appears as the result of the JavaScript code.<br /><br />So, that is an example of how interactive a web page can be. :)<br /><br /></div>Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0tag:blogger.com,1999:blog-6059629415563521698.post-37053219341417737862010-01-07T09:26:00.003+08:002010-01-07T21:29:52.458+08:00Using Huawei E1762 in Karmic Koala<div align="justify">I'm now happily using Huawei E1762 of broadband modem in my newly Jaunty-upgraded-to-Karmic. :D<br />
<br />
After having problems configuring it in Jaunty (and that i surrendered from trying it there), my senior colleague asked me to try doing the configuration in Karmic, instead. Actually it has been one or almost two weeks after the instructive command made, but only this evening i pulled the will to give it some more try. I NEED to use my Ubuntu anyway, and of course with the Internet connection available.<br />
<br />
I googled about Huawei E1762 in Karmic Koala and, yes, i got some helpful manuals for installing it. Perhaps the problem of using this new model of Huawei modem has just been fixed, because i remember during the past weeks when i was still having Jaunty Jackalope on my laptop, there were not much information on installing it on neither Jaunty nor Karmic.<br />
<br />
So now, what i did previously today was that;<br />
<br />
1. I downloaded a new <a href="http://gameornot.net/umarzuki/?attachment_id=209">usb_modeswitch.conf</a (copied everything into the text editor and saved it with extension of .conf>, and put it in <span style="font-weight:bold;">/etc</span><br />
2. I opened the terminal, and typed; <br />
<span style="font-weight:bold;">sudo usb_modeswitch idProduct=1446 idVendor=12d1</span> <br />
(this was when the modem seemed not to give any response, so after i typed the command, i unplugged the modem and then replugged it again and yeay, 'Mobile broadband connection 'Maxis E1762' active'!)<br />
<br />
Thanks to <a href="http://gameornot.net/umarzuki/?p=174">Br. Umarzuki Mochlis</a>! :)</div>Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com5tag:blogger.com,1999:blog-6059629415563521698.post-22242539983947804522010-01-07T09:22:00.000+08:002010-01-07T11:05:55.596+08:00Special for Technical Writings (?)<div align="justify">Assalamu'alaykum.<br />Welcome to my new blog, specially created for other than personal thingies to be written here. Hopefully there will be lots of beneficial posts uploaded in the future, insyaAllah. (^_^)</div>Achixhttp://www.blogger.com/profile/01256582118178284134noreply@blogger.com0