Sunday, October 09, 2011

Setup mibbit with InspIRCd 2.0

Both Mibbit's and InspIRCd's wikis are incomplete about that. So here is the full set of instructions on setting this up, with a little improvement.

If you have uncommented <module name="m_cgiirc.so"> in your config file then recomment it.
Instead, add the following line to your config :
<include file="conf/cgiirc.conf">

Create a new file called cgiirc.conf in the conf directory.
Inside that file, add the following :

<module name="m_cgiirc.so">

<cgiirc opernotice="yes">

<cgihost type="webirc" password="yourpasswordhere" mask="64.62.228.82">
<cgihost type="webirc" password="yourpasswordhere" mask="207.192.75.252">
<cgihost type="webirc" password="yourpasswordhere" mask="78.129.202.38">
<cgihost type="webirc" password="yourpasswordhere" mask="109.169.29.95">

<connect name="mibbit" allow="64.62.228.82" maxchans="30" timeout="60" pingfreq="120" recvq="8192" localmax="50" globalmax="50" useident="no" limit="5000" modes="+ix">
<connect name="mibbit2" allow="207.192.75.252" maxchans="30" timeout="60" pingfreq="120" recvq="8192" localmax="50" globalmax="50" useident="no" limit="5000" modes="+ix">
<connect name="mibbit3" allow="78.129.202.38" maxchans="30" timeout="60" pingfreq="120" recvq="8192" localmax="50" globalmax="50" useident="no" limit="5000" modes="+ix">
<connect name="mibbit4" allow="109.169.29.95" maxchans="30" timeout="60" pingfreq="120" recvq="8192" localmax="50" globalmax="50" useident="no" limit="5000" modes="+ix">

This provides you with the advantage of having all your configuration related to cgiirc in one file so if you need to change something, it will be much easier.

"yourpasswordhere" is a password that you will set by going to irc.mibbit.com #help and talking to an IRCOP to have your network added to their database. Note that they won't list your network in their server list if you don't want them to. You HAVE to do this (register your network with mibbit), otherwise everyone who will connect to your network using Mibbit will be under one of the 4 Mibbit hosts. This means that if you do not do this and ban someone who uses Mibbit, you will also ban everyone who uses Mibbit and has connected with the same Mibbit host.

You should be all set! All you need to do now is to rehash your server.

Tuesday, September 20, 2011

Me as a kid

I had this idea of writing a piece about how I was as a kid.

Wednesday, August 24, 2011

Double standards : Humility v.s. Cowardice

Blame your strengths on what you went through, you’re considered as being humble.
Blame your shortcomings on what you went through, you’re considered as being a coward.
Seriously, fuck you and your double standards, people.

Monday, August 22, 2011

Rest in peace uncle Jack.

Honourable Jack Layton, leader of the New Democratic Party of Canada, passed away this morning at 4:45 AM from cancer. He was 61 years old.

Jack was a genuine, honest and big hearted man. Always smiling, hopeful, optimistic. He really cared about everyone. A man of justice, of generosity, who believed everyone could work together to achieve great things. He really, really was a great man.

People are mourning a man, not a politician. He was someone who you wanted to take in your arms and hug. Losing him is like losing an uncle. He was this lovely.

I want to show you some pictures of the man...

The most genuine, loving and caring stare ever.

Saturday, August 06, 2011

Mac OS X annoyances and fixes.

Indeed, no matter what OS you use, there are annoyances that come with them.
On Mac OS, there isn't always an easy fix (as in, something that can be fixed in the System Preferences) for these minor annoyances so they require some commands to be run in the terminal. I will list these annoyances I encountered along with the terminal commands to fix them.


"Key repeat is broken!" "Key repeat doesn't work!" You will actually find that there are some keys that you can repeat and other keys that you can't. It's a new thing in Lion. The vowels, punctuation marks along with some other keys can be repeated, while some other keys can't. I personally don't see the utility of this. When is the last time you ssssaaawwwwwwwwwwwwwwwww ssssomeooonee ttttyyyppee liiiikkkee thiiiiss because they couldn't control their hands or sucked at typing? Yeah me too.
Fix : defaults write -g ApplePressAndHoldEnabled -bool false
This will enable key repetition for ALL keys.
Credit : http://slacktory.com/2011/07/os-x-lion-alphabet-which-keys-repeat/

"Where is xxx folder?" Some things require me to play with files and folders that Mac OS hides by default. It's rather annoying that there is no way to access them besides the terminal or Go > Go to Folder... in Finder because unlike Windows or Linux, Finder doesn't feature an address bar where you can manually enter the name of a hidden folder to go to it. >:|
Fix : defaults write com.apple.Finder AppleShowAllFiles YES
This will show the hidden folders and files. To revert it, run the same command replacing YES with NO.
Credit : http://www.macworld.com/article/51830/2006/07/showallfinder.html