Latest Updates: tips

  • Checking the Uptime of your OS X Machine

    03:45 on January 8, 2010 | 0 Comments Tweet This! | Digg This!
    Tags: , tips

    Uptime, uptime, uptime.  Everyone loves massive uptime, right?

    The “Who’s PC has been on the longest without a reboot?” sort of challenges.

    Well, finding out the uptime on an OS X machine is quite easy!

    If you open a Terminal (by using Spotlight, then searching for Terminal or open Applications/Utilities and double click Terminal) and then type:

    uptime

    … so it looks something like this:

    user@mac:~$ uptime
    23:46  up 11:55, 3 users, load averages: 0.17 0.21 0.23

    There is multiple parts of information from this command.  The part we’re focusing on is the second part:  ”up  11:55″.  This means that the machine I’m currently on has been booted up for 11 hours and 55 minutes.

    So, what’s your uptime?  How often do you manually restart your computer?  Let me know via comments below!

     
  • Install Microsoft PowerShell in Windows Server 2008 Quickly from the Command Prompt

    20:15 on January 7, 2010 | 0 Comments Tweet This! | Digg This!
    Tags: tips,

    Instead of going through the long-winded way of installing features using Server Manager, you can install PowerShell quickly in Windows Server 2008 from the command line using the following command:

    servermanagercmd -install powershell

    Why use the GUI when the command line is much quicker?

     
  • Ignore ALL DCC from anyone on IRC in irssi

    08:00 on January 7, 2010 | 0 Comments Tweet This! | Digg This!
    Tags: irc, tips

    During the last few months, I’ve been waking up to mass floods of DCC SEND from bots/people trying to exploit random clients into accepting a file over IRC.

    I use irssi for connecting to IRC – it’s an extremely configurable text based client, so I wanted a way to just ignore these DCC requests – I’ve never, ever used DCC in the 11 years I’ve used IRC, and, well, I can’t see myself starting either… so I might as well just ignore them all.

    To ignore all DCC commands from anyone (*!*@*), simply type:

    /ignore * DCC

    And you should receive the message:

    (11:24:00) Ignoring DCC from *

    What this will do is ignore any DCC from anyone – you just won’t see the request coming in, which makes for a much tidier status window/channel window when someone starts getting a bit silly on IRC!

    You may find that this command works in other IRC clients too – it’s a pretty standard feature, but exact syntax may vary.

    You can also have exceptions if you want certain nick and hostmasks to be able to still send DCC (from your trusted sources).  More information is available here: http://static.quadpoint.org/irssi-docs/help-full.html#IGNORE