Resque.workers.each {|w| w.unregister_worker} Thursday, August 29, 2013
Saturday, March 30, 2013
GSM MCC MNC FOR MALAYSIA TELCO
Malaysia - MY
| MCC | MNC | Brand | Operator | Status | Bands (MHz) | References and notes |
|---|---|---|---|---|---|---|
| 502 | 01 | ATUR 450 | Telekom Malaysia Bhd | Operational | CDMA2000 450 (depreciated)011-(6digits) | |
| 502 | 10 | DiGi Telecommunications | [85] | |||
| 502 | 11 | TM Homeline | Telekom Malaysia Bhd [86] | [85] | ||
| 502 | 12 | Maxis | Maxis Mobile Services SDN Berhad | Operational | GSM 900 / GSM 1800 / UMTS 2100 | [87] |
| 502 | 13 | Celcom | Celcom Axiata Berhad | Operational | GSM 900 / GSM 1800 / UMTS 2100 | Formerly TMTouch [88] |
| 502 | 14 | Telekom Malaysia Berhad for PSTN SMS | [85] | |||
| 502 | 16 | DiGi | DiGi Telecommunications | Operational | GSM 1800 / UMTS 2100 | |
| 502 | 17 | Hotlink | Maxis Prepaid | Operational | GSM 900 / GSM 1800 / UMTS 2100 | Formerly TimeCel Adam017 |
| 502 | 18 | U Mobile | U Mobile Sdn Bhd | Operational | UMTS 2100 | Domestic Roaming with Celcom |
| 502 | 18 | TM Homeline | Telekom Malaysia Bhd | Operational | CDMA 850[89] | On MCMC website, 502-18 is allocated to U Mobile [85] |
| 502 | 19 | Celcom | Celcom Axiata Berhad | Operational | GSM 900 / GSM 1800 / UMTS 2100 | [90] |
| 502 | 20 | Electcoms Wireless Sdn Bhd | Operational | CDMA | PTT and CDMA Technology. Uses TM CDMA [85] | |
| 502 | 150 | Tune Talk | Tune Talk Sdn Bhd | Operational | MVNO | uses Celcom [85] |
| 502 | 151 | Baraka Telecom Sdn Bhd (MVNE) | Operational | MVNO | SalamFone[91] (MVNO)-MAXIS,[85]Previously using DiGi. | |
| 502 | 152 | Yes | YTL Communications Sdn Bhd | Operational | WiMAX 2.3 GHz / LTE 4G | [85] |
Thursday, March 28, 2013
Ruby: Get Value from Collection
TITLETYPE = [['Prof.', '4'], ['Dr.', '3'], ['Mrs.', '2'], ['Ms.', '1'], ['Mr.', '0']] TYTLETYPEHASH = Hash[TYTLETYPE]TYTLEHASH.key('1') # => 'Ms.'
Wednesday, March 27, 2013
Extract File Basename Without Path and Extension in Bash
$ s=/the/path/foo.txt $ echo ${s##*/} foo.txt $ s=${s##*/} $ echo ${s%.txt} foo $ echo ${s%.*} foo
Thursday, March 21, 2013
Wednesday, March 20, 2013
Tuesday, March 19, 2013
ERROR: Failed to build gem native extension
# sudo gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:1:in `<main>'
# ruby -v
ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-linux]
# sudo apt-get install ruby1.9.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ruby1.9.1-dev
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 1,218 kB of archives.
After this operation, 4,119 kB of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu/ quantal-security/main ruby1.9.1-dev amd64 1.9.3.194-1ubuntu1.3 [1,218 kB]
Fetched 1,218 kB in 2s (456 kB/s)
Selecting previously unselected package ruby1.9.1-dev.
(Reading database ... 277339 files and directories currently installed.)
Unpacking ruby1.9.1-dev (from .../ruby1.9.1-dev_1.9.3.194-1ubuntu1.3_amd64.deb) ...
Setting up ruby1.9.1-dev (1.9.3.194-1ubuntu1.3) ...
razimi@Dell-NSeries:~$ sudo gem install rails
Building native extensions. This could take a while...
Fetching: rdoc-3.12.2.gem (100%)
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Fetching: railties-3.2.13.gem (100%)
Fetching: rails-3.2.13.gem (100%)
Successfully installed json-1.7.7
Successfully installed rdoc-3.12.2
Successfully installed railties-3.2.13
Successfully installed rails-3.2.13
4 gems installed
Installing ri documentation for json-1.7.7...
Installing ri documentation for rdoc-3.12.2...
Installing ri documentation for railties-3.2.13...
Installing ri documentation for rails-3.2.13...
Installing RDoc documentation for json-1.7.7...
Installing RDoc documentation for rdoc-3.12.2...
Installing RDoc documentation for railties-3.2.13...
Installing RDoc documentation for rails-3.2.13...
# sudo gem install rails
Building native extensions. This could take a while...
Fetching: rdoc-3.12.2.gem (100%)
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Fetching: railties-3.2.13.gem (100%)
Fetching: rails-3.2.13.gem (100%)
Successfully installed json-1.7.7
Successfully installed rdoc-3.12.2
Successfully installed railties-3.2.13
Successfully installed rails-3.2.13
4 gems installed
Installing ri documentation for json-1.7.7...
Installing ri documentation for rdoc-3.12.2...
Installing ri documentation for railties-3.2.13...
Installing ri documentation for rails-3.2.13...
Installing RDoc documentation for json-1.7.7...
Installing RDoc documentation for rdoc-3.12.2...
Installing RDoc documentation for railties-3.2.13...
Installing RDoc documentation for rails-3.2.13...
# ruby -v
ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-linux]
DONE
Monday, March 18, 2013
Nginx 413 Request Entity Too Large
I got Nginx error 403: Request entity too large. How do I fix this problem and allow file upload upto 2MB in size?
# vi /usr/local/nginx/conf/nginx.conf
Add client_max_body_size in http section
http { .... client_max_body_size 2M; .... }Save and close the file. Reload the nginx
# /usr/local/nginx/sbin/nginx -s reload
Subscribe to:
Posts (Atom)
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
Original Source :: http://en.irfanview-forum.de/viewtopic.php?t=490 /one - force 'Only one instance' /fs - force Full Screen displa...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...