Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

M Harris

@M Harris
About
Posts
48
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • I was hit by the buzzword bus today
    M M Harris

    you havent seen a market drive before because the market has a personal driver ;)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    Buzzword Bingo

  • How is the browser war in your life?
    M M Harris

    17:15 here now. I dont close tabs much, like i say i use them as bookmarks for things i use reguarly, or want to look at later/might forget heh. also - mouse gestures are cool, thats how i close most of my tabs. "paste and go" to the address bar, and searching in the address bar with g for google.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge question com

  • How can we find windows Temp folder ?
    M M Harris

    System.IO.Path.GetTempPath() should about do it :)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    C# csharp question

  • How is the browser war in your life?
    M M Harris

    Hmm, well i tend to use tabs instead of bookmarks. I have 3 browser windows on my laptop each with 15-20 tabs, and one on my PC (acts as 3rd screen) with 16 tabs right now :)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge question com

  • How is the browser war in your life?
    M M Harris

    I too have been using, and loving Opera for years. Favourite feature: Persistant tabs. When windows update, a crash, or misclick on a close button kills your browser, just start it back up and you're right where you left off. Would be nice to have some way of writing extensions/bars into the browser though, widgets are kinda useless IMO (other than the aquarium)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge question com

  • Windows Media Player style buttons in WPF
    M M Harris

    Hi All, i'm trying to replicate the Windows Media Player style buttons in WPF, however i cant quite get it right, specifically the glow on the bottom. I've searched google and MSDN however i cant find a guide or existing control anywhere. I can replicate them with a airbrush and colour dodge in photoshop, with a overlay layer for the top gradient. The glow effect in WPF doesnt quite get the right look though. I'm also having a bit of trouble figuring out the orders (the highlight part) without moving a path around when an item is selected. See this image: http://www.intelligentflight.net/mark/WMP-MenuBar.jpg taken from WMP and blown up 200%. The corners on the top are easy enough using a border and just adding a corner radius to the top left/right, the highlight i can do with a rectangle or path and about 60% opacity, however the blue glow at the bottom has me rather confused. Any ideas would be much appreciated.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    WPF csharp wpf adobe tutorial

  • Regular expression to find href tags.
    M M Harris

    <a.+?href>]*>(?.+?) should about do it :) I just wrote that for you, should get you three named match groups: "HREF", "Domain", "Text". My test data was: asd asd asd asd a_s_d all matched correctly.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    C# csharp html database com regex

  • Aussie Poem
    M M Harris

    This just hit my mailbox at work, throught it was pretty classy :) The sun was hot already - it was only 8 o'clock The cocky took off in his Ute, to go and check his stock. He drove around the paddocks checking wethers, ewes and lambs, The float valves in the water troughs, the windmills on the dams. He stopped and turned a windmill on to fill a water tank And saw a ewe down in the dam, a few yards from the bank. "Typical bloody sheep," he thought, "they've got no common sense, "They won't go through a gateway but they'll jump a bloody fence." The ewe was stuck down in the mud, he knew without a doubt She'd stay there 'til she carked it if he didn't get her out. But when he reached the water's edge, the startled ewe broke free And in her haste to get away, began a swimming spree. He reckoned once her fleece was wet, the weight would drag her down If he didn't rescue her, the stupid sod would drown. Her style was unimpressive, her survival chances slim He saw no other option, he would have to take a swim. He peeled his shirt and singlet off, his trousers, boots and socks And as he couldn't stand wet clothes, he also shed his jocks. He jumped into the water and away that cocky swam He caught up with her, somewhere near the middle of the dam. The ewe was quite evasive, she kept giving him the slip He tried to grab her sodden fleece but couldn't get a grip. At last he got her to the bank and stopped to catch his breath She showed him little gratitude for saving her from death. She took off like a Bondi tram around the other side He swore next time he caught that ewe he'd hang her bloody hide. Then round and round the dam they ran, although he felt quite puffed He still thought he could run her down, she must be nearly stuffed. The local stock rep came along, to pay a call that day. He knew this bloke was on his own, his wife had gone away He didn't really think he'd get fresh scones for morning tea But nor was he prepared for what he was about to see. He rubbed his eyes in disbelief at what came into view For running down the catchment came this frantic-looking ewe. And on her heels in hot pursuit and wearing not a stitch The farmer yelling wildly "Come back here, you lousy bitch!" The stock rep didn't hang around, he took off in his car The cocky's reputation has been damaged near and far So bear in mind the Work Safe rule when next you check your flocks Spot the hazard, assess the risk, and always wear your jocks!

    -- Real pr

    The Lounge help

  • Out of memory? Keep going!
    M M Harris

    Ahhh, yes a true classic.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Weird and The Wonderful csharp performance question

  • The song about us all... Code Monkey
    M M Harris

    And who in their right mind doesnt like brainf*ck?

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge com

  • Recommendations for cutting video (MPEG/DAT) and saving to MPEG [modified]
    M M Harris

    I believe windows movie maker can. Try an older version of VirtualDub, they may have removed mpeg because of copyright/patent infringement.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge com question

  • Which is faster?
    M M Harris

    USA for me, sweden is further to go through the tubes from Australia

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge html com testing beta-testing help

  • Web Development [modified]
    M M Harris

    I'd suggest a book which i have: Internet Information Services (IIS) 6.0 -- its a Microsoft Press Resource Kit book, very informative. If your on vista or longhorn however you may want to look for a version 7 book, IIS has changed a great deal, the management console especially. I'd suggest going with ASP.net if your a c# developer, Java will just p*ss you off to no end.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    Web Development html tutorial learning

  • Maybe we are ready for Vista
    M M Harris

    Vista Ultimate performs about as well on the average home PC as xp does on the pc in that link ;) It works all right on my laptop though :)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge

  • The power of photoshop
    M M Harris

    Filter -> Liquify Unless you want to go buy expensive addins :)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge question adobe

  • The best tv show
    M M Harris

    Red Dwarf is great! I too can't stand most american comedy shows, the sort that need a laugh track to tell the audience when to laugh. That just seems lame to me. I find stargate (specially pre-season 8) incredibly amusing however, and House as well.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge learning

  • The song about us all... Code Monkey
    M M Harris

    http://www.jonathancoulton.com/lyrics/code-monkey[^] I'm sure most of you have heard this before, but thought it was worth a repost. This came up at work the other day because of how close it is to the situation at work for a few people haha. I think we all see some of ourselves in this though :)

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge com

  • The best tv show
    M M Harris

    Stargate SG1 Stargate Atlantis Numb3rs Criminal Minds Supernatural House Battlestar Galactica many many more...

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge learning

  • Tinfoil
    M M Harris

    You could always visit Australia :) Was 42.8C here in perth a few weeks back.. for 3 days straight!

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge question

  • What are you using?
    M M Harris

    The regex i posted does validate every possible variation in the RFC. Hence why it is so very very very long (6.5kb). The regex comes from a perl module which does RFC validation on email addresses, i admit that it does go way way over the top. It also allows you to send an email to say, bob@home - which, while valid your server is probably never going to be able to deliver the mail to. But it will make sure that an email address is completely valid, no more mark.harris@itvision.com.au not being a valid email address, as so many websites say.

    -- Real programmers don't comment their code. It was hard to write, it should be hard to understand.

    The Lounge question csharp html asp-net com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups