TaskFreak! v0.6.2 – Add Unique Ticket/Task Number

Background Knowledge


TaskFreak! does not show within the interface a unique ticket/task number. Depending on the use of TaskFreak! having such a value can have it’s benefits. Since this unique value does already exist in the back end, it will be fairly trivial to render this value within the task list and task details panel. I will show you how this is done using Searcher’s solution posted in the TaskFreak! Forum. There has been some modifications but not much.

Solution


  1. Edit index.php in the root of TaskFreak!. Add the table header column just below line # 248 as follows.
    2
    
    <th width="3%" onclick="freak_sort('itemId')" class="sortable" >< ?php echo $langForm['id']; ?></th>
  2. Next add the table data just below line # 302 as follows.
    2
    
    <td style="text-align:right;">< ?php echo $objItem->id; ?>&nbsp;</td>
  3. Edit /include/html/xajax_panel_view.php just below line # 5 just before the priority column as follows.
    6
    7
    8
    9
    10
    
    <div id="fid">
            	<div class="flabel">< ?php echo $GLOBALS['langForm']['id']; ?></div>
            	<div class="vid">< ?php echo $objTask->id; ?></div>
            < /div>
    </div>
  4. Edit /include/language/en/freak.php just below line # 46 as follows.

    Note: Each interface language file will be required to be edited if you desire to use them. If you do not do so, you will receive error messages and it may cripple TaskFreak!

    2
    
    'id' => 'ID',
  5. Edit applicable skins’ CSS in this example /skins/redfreak/css/freak.css just below line # 550.
    9
    10
    11
    12
    13
    14
    15
    16
    
    #fid 
    {
    	float: left;
    	width: 80px;
    	height:32px;
    	margin-left: 3px;
    	font-weight: bold;
    }
  6. Edit applicable skins’ CSS in this example /skins/redfreak/css/freak.css ID #fpro and remove “margin-left: 3px;”.

Source: Unique Ticket/ToDo Follow Number – Further prioritizing

How To – Hard Reset a Motorola Q 9H

Warnings

Read and fully understand warnings before continuing further!

  • Doing a hard reset will result in loss of personalized settings and all content stored in phone memory.
  • Ensure your mobile phone has at least 75% battery life before preforming a hard reset. If battery life is too low this may result in damaging the mobile phone.
  • Do not remove battery while preforming a hard reset. Doing so may result in damaging the mobile phone.

Solution

  1. Start with the device turned off. If device is locked and you are not aware of the password remove the battery and then re-install the battery.
  2. Hold down the * and E keys at the same time for 5 seconds while turning on the device.

At this stage you will see a message at the top of the screen and then eventually the entire screen will change while the hard reset is being completed. Be patient, this process can take some time.

Visio Drawing – Server Rack

Background Knowledge


I was given an assignment to virtual layout our entire network server rack and equipment within the serve room. As well I had to make note of where each end of each network cable ended up at with the exception of cables going to the patch box.

I used Microsoft Visio to create the drawing. In many cases I ended up having to create my own stencils from images. Not exactly perfect but it did the job. In those case where I made my own stencil I just use Adobe Photoshop to touch up some free photos of a particular product and then inserted the image into my Visio drawing.

Resources Used for Visio Stencils, Icons and Add-Ins


How To – Setup Sendmail for Masquerading and as a SMTP Smart Host

Background Knowledge


I have multiple OpenBSD web servers some internal and some public (accessible via the Internet) that uses Sendmail. However on the network there is only one publicly known email server. Therefore I require to Sendmail to function as follows, route all email through an SMTP smart host and when routing mail to the SMTP smart host change the email address hostname (masquerade). For example an email sender of “root@foobar.example.com” would be changed to “root@example.com”.

I’m by no means a Sendmail expert, the steps I explain here is what I’ve learned on my own and with the assistance of Zerberus in IRC Freenode #sendmail channel.

Solution


Alter Sendmail’s configuration file adding the following lines. Refer to Sendmail Configuration Readme for further explanation and How To – Setup Sendmail as a Smart_Host for details on how this process is achieved.

FEATURE(genericstable)dnl
FEATURE(generics_entire_domain)dnl
GENERICS_DOMAIN(`example.com')dnl
MASQUERADE_AS(`example.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(`foobar.example.com')dnl
define(`SMART_HOST',`[10.10.15.1]')dnl

You will also need to edit Sendmail’s genericstable as follows. On OpenBSD this is located under “/var/mail/genericstable”.

@foobar.example.com  %1@example.com

Example Configuration File (mc)


divert(-1)
#
# Copyright (c) 1998 Sendmail, Inc.  All rights reserved.
# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
# Copyright (c) 1988, 1993
#       The Regents of the University of California.  All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

#
#  This configuration only runs sendmail on the localhost interface.
#  This allows mail on the local host to work without accepting
#  connections from the net at large.
#

divert(0)dnl
include(`/usr/share/sendmail/m4/cf.m4')dnl
VERSIONID(`@(#)openbsd-localhost-smarthost.mc $Revision: 1.4 $')
OSTYPE(openbsd)dnl
FEATURE(nouucp, `reject')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`no_default_msa')dnl
FEATURE(genericstable)dnl
FEATURE(generics_entire_domain)dnl
GENERICS_DOMAIN(`example.com')dnl
MASQUERADE_AS(`example.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(`foobar.example.com')dnl
define(`SMART_HOST',`[10.10.15.1]')dnl
DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::1, Name=MTA6, M=O')dnl
DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Port=587, Name=MSA, M=E')dnl
DAEMON_OPTIONS(`Family=inet6, address=::1, Port=587, Name=MSA6, M=O, M=E')dnl
CLIENT_OPTIONS(`Family=inet6, Address=::')dnl
CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl
dnl
dnl Some broken nameservers will return SERVFAIL (a temporary failure)
dnl on T_AAAA (IPv6) lookups.
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
MAILER(local)dnl
MAILER(smtp)dnl

Source: How To – Setup Sendmail as a Smart_Host
Source: Sendmail – Masquerading and Relaying
Source: Sendmail Configuration Readme

How To – Add a Radio Station to MPlayer CE

Background Knowledge


This how to will explain how to add a radio station to the MPlayer CE application, a Wii Homebrew Channel application.

Note: How to edit the MPlayer_CE configuration files is not covered in this how to.
Note: MPlayer_CE supports the following streaming protocols, HTTP/FTP, RTP/RTSP, MMS/MMST, MPST and SDP.

Solution


  1. Edit the “menu.conf” file located under /apps/mplayer_ce/ on the memory card using your favorite text editor such as Notepad, Metapad, Notepad++, etc.
  2. Browse the contents of the “menu.conf” until you find the following cmdlist radio tag below.
    1
    2
    3
    
    <cmdlist name="radio" title="Radio" ptr="<>" >
    <e name="../" ok="menu cancel"/>
    </cmdlist>

    We will be adding a new line after the second line shown above and within the cmdlist tag.

  3. Add a new line (radio station) in between the opening tag and closing tag like so.
    1
    
    <e name="OldSchoolFM" ok="loadlist 'http://78.129.250.9/castcontrol/playlist.php?id=104'"/>

    Replace “OldSchoolFM” with the radio station name and then replace “http://78.129.250.9/castcontrol/playlist.php?id=104″ with the radio station stream feed.

  4. Save the file and now test radio station you just added on the Nintendo Wii.

If the radio station does not play go back and ensure you have the correct station stream feed link. If indeed you have the correct stream feed link then it’s possible it is not accessible in the manner you are trying to access it or the protocol for the station is not support by MPlayer_CE.

Example


1
2
3
4
5
6
7
8
9
10
11
12
<cmdlist name="radio" title="Radio" ptr="<>" >
          <e name="../" ok="menu cancel"/>
	  <e name="OldSchoolFM" ok="loadlist 'http://centova2.cpcustomer.com/tunein.php/janpolet/playlist.pls'"/>
	  <e name="CBC Radio 1" ok="loadlist 'http://radiostreams.cbc.ca/cbc-cbcr1reg-96.m3u'"/>
	  <e name="CBC Radio 2" ok="loadlist 'http://radiostreams.cbc.ca/cbc-cbcr2wpg-128.m3u'"/>
	  <e name="CBC Radio 3 (rock)" ok="loadlist 'http://webradio.cbcradio3.com/rock.m3u'"/>
	  <e name="CBC Radio 3 (electronica)" ok="loadlist 'http://webradio.cbcradio3.com/electronic.m3u'"/>
	  <e name="CBC Radio 3 (Pop)" ok="loadlist 'http://webradio.cbcradio3.com/pop.m3u'"/>
	  <e name="1.FM - Blues" ok="loadlist 'http://blues.1.fm/energyblues128k'"/>
	  <e name=".977 The 80s Channel" ok="loadlist 'http://scfire-ntc-aa01.stream.aol.com:80/stream/1040'"/>
	  <e name="Big R Radio - 80s Metal FM" ok="loadlist 'http://livestream2.bigrradio.com/80sMetalFM'"/>
</cmdlist>

This how to is a tribute to OldSchoolFM, “Let’s Make it Personal!” A dream, a vision, a quality radio station that never got a fair chance.