[1+1=2]

OneAndOneIs2

Wed, Sep 01, 2010

[Icon][Icon]Classes

• Post categories: Omni, Health, Exercise, My Life

Having been a member of the gym for a few months, I thought I should start looking at some of their classes. They're all free, for starters. And I still have those aches and pains that just won't go away..

So I started this evening with yoga. An hour and a half. A roomful of people, only one other male tho. That's an even worse ratio than you get when you go dancing..

Was pretty good. I think I might keep going. Shall have to see how it compares against pilates...

 

Mon, Aug 30, 2010

[Icon][Icon]A message I sent Yahoo re. their toolbar

• Post categories: Omni, Rant, Technology, My Life

I am SERIOUSLY ****** off that this piece of **** made it onto my computer - I have *never* installed the toolbar, and when installing the IM client always take particular care to avoid doing so. Finding it on my computer after a reboot when I know for a fact that I never installed it, nor upgraded anything Yahoo-related, and that it has tampered with the settings for every browser I have installed, without ANY of the usual "Hey, is it okay if I hijack your computer and **** up all your defaults to redirect you to sites you have no interest in?" messages, I regard as making your software no different from any other piece of malware that infects the unwary.

Stop pushing this **** onto people's computers. If I want your ******* toolbar; if I want your useless ******* homepage as my homepage; if I want anything other than your IM software which I'm forced to use occasionally because you keep breaking compatibility with other chat clients; if I want anything from you other than the one piece of software I actually download and install; rest assured, I'll ******* well do it myself.

Leave my computer the **** alone. Got it??

No, my message to them didn't have any asterisks.

I've ranted on here before about these people pushing unwanted packages and tampering with settings as part of every install process. The fact that they appear to have upgraded the version of the one piece of software I did actually install, screwed with ITS defaults, AND installed other crap as well, AND changed my browser settings, ALL without any messages or warnings, has really not left me happy.

Could you tell..?

 

Tue, Aug 24, 2010

[Icon][Icon]Useful command-line things

• Post categories: Omni, FOSS, Technology, My Life, Helpful

Pretty much everything I do is command-line based these days. So I thought I'd post a few of the things I've found useful lately.

  • {}s when moving or copying files.
    You know when you want to copy a file in a directory that isn't your current one? e.g. you're in your home/ and you want to do something to Firefox's userChrome settings. This means copying userChrome-example.css to userChrome.css but the path is a PITA to type twice.
    So instead, you can use curly brackets to make one statement do the work of two:
    cp .mozilla/firefox/profile/chrome/{userChrome-example.css,userChrome.css}
    - much better!
  • Useful when you want to edit a file in a non-local directory, as an alias in your .bashrc:
    function vai {
    found=`find . -path *$1`
    vi $found
    }
    So, having created your userChrome file, instead of
    vi .mozilla/firefox/xvuz3pf5.default/chrome/userChrome.css
    you can use the above and simply vai userChrome.css
  • If you want to edit a file that isn't just in another directory, but on another server, but using your own local text editor with its nice config files, you don't have to copy it over, edit it, copy it back. Instead, do it all at once:
    vim scp://user@host.name/path/to/file
  • Lastly, regex find&replace - often handy, often tricky. So here's an example of one, you can extrapolate from there:
    You want to take a list of filenames
    DSC001.JPEG
    DSC002.JPEG
    DSC003.JPEG
    DSC004.JPEG
    and change them into
    photo_001.jpg
    photo_002.jpg
    photo_003.jpg
    photo_004.jpg
    The command would be:
    :%s/^.\{3\}\([0-9]\{3\}\).*/photo_\1.jpg/g
    which, broken down, means:
    :       - ex command
    %       - every line
    s       - find & replace
    /       - beginning of first term
    ^       - Start at the first character of the line
    .       - any character
    \{3\}   - Three repetitions of the previous character
              (so in this case, any three characters at the start of the line)
    \(      - Opening parentheses of a part of the search that we want to be able 
              to use in the replace text
    [0-9]   - match any number, from 0-9
    \{3\}   - Three repetitions of previous character - here, any three numbers
    \)      - closing parentheses
    .*      - any number of any characters
    /       - End of search term, beginning of replace
    photo_  - replacement text
    \1      - First parenthesised text in the search term, i.e. first \(text\)
    .jpg    - replacement text
    /       - End of replacement term

Hopefully, something or other in there might be useful to the geeks amongst you who use the CLI (or a decent text editor ;o). For anyone else, this post was a baffling waste of time.

Such is life!

 

Sat, Aug 21, 2010

[Icon][Icon]Twitter on trial

• Post categories: Omni, My Life

As you'll see if you look in my sidebar, there's now an entry for twitter, as well as the facebook & other entries that have been there for ages.

I'll give it a go and see how I get on with it. No promises either way..

 

Fri, Aug 20, 2010

[Icon][Icon]I'm back

• Post categories: Omni, My Life

I know, I never actually said I was going anywhere.. Meh. Like it makes a difference. I left work on Friday and got a stunned "You're not coming back on Monday??" look from the boss (who'd okayed the holiday in the first place)

Went camping. Not my usual style. I usually go with the "What don't I need?" attitude, as a result of which I successfully lived out of a single rucksack for quite a long time and a phenomenal number of miles, as some of you may remember... No, this was the "How much can we take?" approach, as a result of which the only way we managed to get everything into the car was by taking the roof off it.

I'll probably put photos up on flickr or facebook at some point.

Funniest thing I saw in the week was a vulture trying to fly from a low perch to a higher one. Graceful, they're not. It looked for all the world like he was thinking "Yikes, the ground's getting closer, I must thrash at it with my wings to make it go away, or I'm going to collide with it!!"

It *did* mean spending a whole week with absolutely no internet access, tho. First time I've done that in a LONG time. Come back to a huge amount of spam and a lot of catching up to do on RSS feeds.

I've also started to consider putting my as-yet-unused twitter account into active service since I seem to have too few opportunities to write full-length blog posts these days.

We shall see..

 

:: Next >>

[icon] Blogroll

[icon] Creative Hedgehog
La parte A se refiere solamente a las dos novelas estudiadas. La parte A debe ser preparada después de leer la primera mitad de la novela y contestar las siguientes preguntas: ¿te está gustando la novela/película o no, y por qué? No me gusta la novela. Las personajes que puedes gustar son superficiales, o hacen [...][Link to post]06/08/10 - SPN3730 diario: Pascual Duarte parte A

[icon] Hari's corner
Why being bi-lingual has its advantages[Link to post]10/08/10 - Being bi-lingual has its advantages

[icon] Place of Stuff
Isn't this exciting? We're out of the tedium of Genesis (world created, man falls, many people live and die. Oh, and attempted forced buggery and a spot of incest). We're into Exodus now; the Bible has got going, that tricky first chapter is out of the way and the real action can start! When the [...]

[Link to post]
03/08/10 - The Bible ? On The Waterfront

[icon] Advice From a Single Girl

I was giddy and hopeful when I first met Cary and spent a brief amount of time with him.

The week after that I was happily high on the idea of what could be, the possibility of getting to know someone interesting and intriguing, the wide open potential of what could be.

And I wanted to tell my friends all about him and what had, and hadn't happened, but I also wanted to keep it to myself, sealed safely in the happy bubble that was floating inside me. So I talked to some close friends about him, told them he lived in Vancouver and they, meaning well, told me quite firmly that they would not allow me to go through another long distance relationship. That I shouldn't even consider it.

My bubble had been burst.

I was completely deflated. Hurt. Let down.

I talked to C-Dawg, a sad tinge to the story now that I'd been told it could. . . should never work out.

"Vancouver?" she said, her voice somewhere between amused and incredulous. "That's not long distance! Get serious. Go for it."

And I let my bubble maybe start to re-inflate. Cautiously. Maybe just a little.

Then I talked to my friend about Cary. She said good things.

Maybe there was reason to be hopefully optimistic. Maybe it was ok to be a little girly and dreamy over what-ifs.

I went for a walk with S. We had life to catch up on.

Life including Cary and the story that still makes me smile.

She encouraged me to get his email, which I did, and then she went home and tried to find out what she could about him.

See, I'm not on Facebook. (No, really.) But S is, and in the small world way that Facebook seems to work, she found that Cary and she had a mutual friend and so she looked him up for me. (The modern background check.)

You can sometimes tell a lot about a person by what they put on their Facebook, she cautioned me. Sometimes.

How old is he?

Me: I don't know.

Is he a smoker?

Me: Um, I don't know? (God, I hope not)

Could he maybe be a little bit immature?

Me: I don't know. I suppose.

Well, he seems like a good guy. Cute. Interesting. I'd say he was my type, you know. (We laugh, we already know we share similar excellent taste in men.)

"I say go for it." She says, "just be aware that he's human. Not perfect."

I don't want to hear it.

Don't want to know the reality of him.

Find myself running away from all the what might have been's towards it'll never work what what I thinking's.

It's all or nothing. Perfect or awful. It'll work or it'll be a disaster.

And I realize that my bubble, the one that's been growing and floating inside me will burst on its own, without anyone's help if I get too far into imagining just how great Cary is, how great we'd be together, how perfectly perfect it all will be.

I'm Icarus. My friends don't want me flying too close to the sun.

But I like the feeling.

I like the soaring giddiness of how utterly fantastic this thing I've found will be.

Every single time I meet someone I like that feeling.

And I ride it higher and higher until I'm flapping my bare arms, feathers fallen into the sea and the crash is coming, the relationship splintering and I'm left staring at the brokenness wondering how on earth I could have been so wrong again.

The extremes are familiar. Addictive perhaps.

But I'm trying to learn to ride in the middle.

Safer. A shorter distance to fall.

A smaller bubble to burst.

Expectations that can be met and exceeded.

A safe, yet joyful and giddy flight. Wings intact.
[Link to post]
03/09/10 - Icarus

[icon] Nation
  This was possibly the most ridiculous show I have seen in a long time and I can get Sky 1 I know ridiculous. It could be summed up in three sentences Do you know what's in your cereal? Want to? Read the label. Instead it went on for a hour about how evil the [...][Link to post]27/10/09 - Dispatches ? do you know what?s in your breakfast? (warning...

Blogroll generated by MagpieRSS

[Links][icon] My links

[Icon][Icon] Strange, how the only people who ever seem to complain that Linux sucks or doesn't work well are people who don't like using the CLI...
03/09/10

[Icon][Icon] Dominic tried to explain how circular references can cause a memory leak to a colleague this morning, and got told off for not working. Apparently, the analogy of a madman shooting anybody who isn't being pointed at by somebody else was NOT the boss-safe way to go..
01/09/10

[Icon][Icon] I last listened to:
The Offspring - She's Got Issues

[Icon][Icon] Most recent photo:
Submersible houseboat

[Icon][Icon]About Me

[Icon][Icon]About this blog

[Icon][Icon]My LQ profile

[Icon][Icon]My /. profile

[Icon][Icon]My Wishlist

[Icon]MyCommerce

[FSF Associate Member]


September 2010
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

Search

User tools

XML Feeds

eXTReMe Tracker

Valid XHTML 1.0 Transitional

Valid CSS!

[Valid RSS feed]

powered by b2evolution free blog software