Tagged: Linux RSS

  • John 11:26 pm on April 26, 2010 Permalink | Reply
    Tags: bzr, Linux, ontime, ,   

    Bazaar Plugin for OnTime Integration 

    I was playing around with bazaar, whilst reviewing distributed version control systems (DVCS), and created a simple plugin for use with axosoft’s ontime. The plugin parses the commit message and links the files to the related task, defect or feature.

    Install

    Download the tar file from [download id="3"]
    Extract and run the installer using the following:

    tar -vxzf bzr-ontime-0.0.1.tar.gz
    cd bzr-ontime-0.0.1
    sudo python setup.py install
    


    Configure

    Setup the database connection information.
    /etc/bzr-ontime.conf

    [ontime]
    server=your-mssql-server
    username=sa
    password=p4ssw0rd
    database=ontime
    


    Confirm Installation

    bzr hooks
    

    If the plugin is installed correct you should see the plugin listed under the post_commit section.

    Related Reading

     
  • John 11:59 pm on January 3, 2010 Permalink | Reply
    Tags: Linux, nautilus,   

    Upload Image to Imgur.com 

    I was looking for an easy way to upload images from my laptop to imgur.com without having to open my browser up. I found a post explaining how to upload an image from nautilus. The script worked well enough however I didn’t like the information it displayed to you at the end. So I rewrote the script in python so that it displays a dialog with link buttons for the available options for the image.

    upload to imgur screenshot

    The code is hosted at google.

    Update

    Thanks to the people over at reddit the script now supports automatically copies the url to the clipboard, and also correctly loads the glade file.

     
  • John 12:45 am on October 5, 2009 Permalink | Reply
    Tags: Linux, ,   

    SVN Notify by Email 

    Svn hook to email you information in post commit hook.

    Install svnnotify which will be used to send the email

    yum install perl-CPAN
    perl -MCPAN -e 'install SVN::Notify'
    perl -MCPAN -e 'install SVN::Notify::HTML::ColorDiff'
    

    The post-commit script

    #!/bin/sh
    for i in 'email1@domain.co.uk' 'email2@domain.com'
    do
    	svnnotify --repos-path "$1" \
    		--revision "$2" \
    		--to $i \
    		--from account@example.co.uk \
    		--handler HTML::ColorDiff -d \
    done
    
     
    • SonPhan 3:20 am on November 28, 2009 Permalink | Reply

      Hi , Please help me , How can i configure my svn server auto send mail with SVN-Notify modules?
      I have did as you show, but it can’t send mail.
      :(

  • John 8:34 pm on August 24, 2009 Permalink | Reply
    Tags: , , Linux, ,   

    More Django Plugin Stuff 

    MonoDevelop Django

    So I’ve been working more on the support for django within monodevelop. Heres some screenshots of it.

    MonoDevelop Django

    MonoDevelop Django

     
    • Aledr 8:47 pm on December 16, 2009 Permalink | Reply

      I’ve just installed MonoDevelop 2.2 and started a new Django project but is no option to create a new App there. Is your code already integrated?

      Thanks.

      • John 11:11 am on December 17, 2009 Permalink | Reply

        I never got round to getting the code into a stable state, and submittting a patch. However I have a couple of weeks of work so I’ll see if have anytime to look at it again.

  • John 9:12 am on June 30, 2009 Permalink | Reply
    Tags: , Linux, ,   

    Three Mobile On Linux Update 

    UPDATE: After installing three mobile on Fedora 11 I noticed that the DNS servers had changed. The new one are as follows

    DNS Server: 4.2.2.1,4.2.2.2

    One thing that I forgot to mention in my previous post about setting up mobile broadband on Fedora 11 is that three do not always set the correct DNS servers. This was annoying as it would appear that the connection was working however any attempt to access a website would timeout. In order to do so edit the connection via NetworkManager and add in the follow DNS server in the IPv4 tab.

    DNS Server: 172.31.76.69, 172.31.140.69

    The server addresses are comma seperated so you can add DNS server of your choice. I have used the DNS servers that Three normally set up you can use OpenDNS.

    Network Manager IPv4 Settings

     
  • John 9:33 pm on June 16, 2009 Permalink | Reply
    Tags: , Linux,   

    Fedora 11 and Mobile Broadband 

    When I was previously running F10 I managed to get my three mobile broadband setup without any hassle, which I conveniently forgot how to do when I install Fedora 11. After a quick search I found a comment on the redhat bugzilla. I have the ZTE MF622 usb modem from Three. Here the steps I followed to get it up and running.

    Install usb_modeswitch, this changes the device from a CD Drive to a usb modem.

    #as root
    yum install usb_modeswitch
    

    Edit the /etc/usb_modeswitch.conf and uncomment the section that related to your specific modem. This tells usb_modeswitch which modem you are using.

    # ZTE MF622 (aka "Onda MDC502HS")
    #
    # Contributor: "andylog"
    
    DefaultVendor=  0x19d2
    DefaultProduct= 0x2000
    
    TargetVendor=   0x19d2
    TargetProduct=  0x0002
    
    MessageEndpoint=0x04
    

    Now edit the udev rules to add a new line to automatically call the usb_modeswitch when the device is plugged in.

    vi /etc/udev/rules.d/70-persistent-cd.rules
    

    Append the following to the end of the file

    ACTION=="add", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000",
    RUN+="/usr/bin/usb_modeswitch"
    

    Once this has been done run the following and then plug your modem in

    udevadm control --reload-rules
    

    You should now be ready to create a mobile broadband connection via NetworkManager.

     
    • r.eriksson 7:42 am on July 29, 2009 Permalink | Reply

      realy bad that fedora not have this mobile Brodband in fedora 11 frome the start

      • John 10:06 am on July 29, 2009 Permalink | Reply

        I noticed a new packaged come down the other day called mobile-broadband-providers. However there is still no support for mobile broadband for the UK users. Which is something that I’ll try and take a look at when get time.

    • x-rayman 12:15 am on November 7, 2009 Permalink | Reply

      I followed your guide but did you miss a step out? I found the device was not recognised by HAL in my case it was the ZTE MF627 dongle not the 622 so it could be that HAL is not up to date. The result was that I had no device in my NetworkManager settings!

      I found a useful post here http://forum.eeeuser.com/viewtopic.php?id=53171

      Which gives the HAL setup:

      GSM-07.07
      GSM-07.05
      modem

      Not certain if will help another lost 627 user out there. Final note 627 uses the 628+ (plus a load of other 62* numbers) settings in usb_switch even though it is not explicitly named.

    • Cachique 7:17 pm on December 22, 2009 Permalink | Reply

      Thanks for the guide. It worked like a charm.
      The only thing was that I used he next ZTE MF622 option instead of your suggestion.

  • John 5:04 pm on June 13, 2009 Permalink | Reply
    Tags: , , Linux   

    Fedora 11 is out, upgrade time 

    So Fedora 11 has been out for a little while now and I’m getting ready to upgrade. Previously I have tried using the upgrade facility however I normally end up having to perform a clean install. So now I’m currently backing up my home directories to my external storage ready to wipe everything and start again. Ill update how this goes.

    Update: Install was painless simple selecting of packages that wanted to install. However my internet connection was playing up which meant that it hung whilst trying to download packages from the net. Currently installing the nvidia packages from rpmfusion.

    Update Everything is up and running and I have restored all my data back on. A few problems and annoyances. There is a problem with the non-free nvidia driver. The only other annoyance is the System -> Preferences menu is not split into further sub menus which creates a menu that doesn’t fit on my screen. I have yet to have a proper play with everything else but so far it all looks good.

     
  • John 11:44 pm on May 26, 2009 Permalink | Reply
    Tags: , , Linux, podcast, ubuntu   

    Ubuntu UK Podcast 

    So despite being a fedora user I’ve recently checked out the uk ubuntu podcast after my lecturer touted my cctray project to them. I’ve tried listening to tech podcasts before and most of them are dull and tedious to listen to. However the guys who do the ubuntu uk podcast are easy to listen to and quite entertaining. Definitely take the time to check out their latest podcast you won’t be disappointed.

     
  • John 1:59 am on May 13, 2009 Permalink | Reply
    Tags: , , Linux,   

    New GTK# Project 

    I’ve started a new project, RssNotify, to try and learn more about developing applications using GTK. I’ll still be developing cctray-gtk as this project is useful, but the RssNotify is more of a project to satisfy my curiosity.

    The RssNotify project aims to provide an easy way for a user to receive notifications when an rss feed has been updated. the idea is to use notify-sharp to display the new news items. The rest of the interface will be used to try to explore the features widgets that GTK# offers.

     
  • John 8:15 pm on May 6, 2009 Permalink | Reply
    Tags: , , , Linux,   

    CCTray updates and Mono musings 

    Impleneted some more to the CCTray-gtk project with the ability to add build servers that communicate over HTTP. This did involve commenting out some of the code in the CCTrayLib project, which was unavoidable. The issue occurred as the library added a delegate to the Service point manager

    ServicePointManager.ServerCertificateValidationCallback = delegate{ return true; }
    

    These were causing an exception to be thrown as it is currently not implemented in mono. This so far is the only part of mono that I’ve found that has caused any problems.

    https://bugzilla.novell.com/show_bug.cgi?id=346561

    I’ve also started to implement the ability to remove a project, at the moment it removes the project from the preferences window but does not yet remove the associated project monitor or remove it from the main window’s treeview.

    Once this has been implemented I will create a release or something for testing.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel

Powered by Web Design Company Plugins