Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

07/17/2011 22:21 #54724

Armstrong 170711
Category: goals
Day 1: 17x
Reason for stopping: Arm exhaustion
Status: My arms hurt like crazy. I can't even type this properly. I am wondering if this is a wise idea. OUCH. I am not entirely sure I have the right form. I need to check with my department-mate about this tomorrow.

NB: Hmm... can't tell if this journal format is working.
metalpeter - 07/19/11 16:58
good point I think core means trunk but does it include hips and any of the back is it really just abs???? How far up the sides does it go?
tinypliny - 07/18/11 22:21
They call EVERYTHING core nowadays. I think that term is so overused it has lost it's meaning. I am not even sure what is NOT core anymore.
metalpeter - 07/18/11 18:06
Upper Body strength is so much more then just arms but I'm thinking the push ups are a good place to start........ Shoulder and chest and I assume what they now call "core"......

tinypliny - 07/18/11 11:16
Wow - thanks so much for linking that (e:heidi). Its very useful. I need to improve my form today.
heidi - 07/18/11 00:27
Modified pushups: :::link:::

07/17/2011 20:59 #54722

For, Brutus is an honourable man...
Category: the odes
I memorized this speech back in the day.


Resounds in my head to this day, at the most inopportune moments.

07/17/2011 14:33 #54716

Project Armstrong
Category: goals
(E:strip) has sort of changed for me in the past couple months as more of a personal referencing and note-taking environment. (e:Paul) told me that wildcard searching and grepping could be a likely feature in the near future, so I am pretty excited about how else I can push (e:strip)'s limits.

I started some experimentation with establishing habits through journalling a couple years back but that wasn't so very successful. My "goals" category is littered with decapitated angels of change. I think I murdered them all because I lacked the correct motivation. I think I have it now. The thing is I tried the urdhva dhanurasana just now and could not repeat the success at yoga class from last week. So frustrating! And I pretty much know why. I really really really would like some functional muscles on my arms. They are weak and a complete disgrace to the 13,550,471,400+ human arms on the planet. They have no muscle definition and look like they were grafted on me from an early 1700s graveyard-spare-bones-and-cadavers-department.

So push ups it is. At 10:13 PM everyday, as many push-ups as I can do in 5-10 minutes. (I can't do a "real" push-up yet so I am going to start with push-ups-on-my-knees.)

Of course, now how does (e:strip) come into it? I am not sure yet... maybe a post checking in on success or failure immediately after I finish the task? They say that if you keep it up for 21 days, a habit is established (personally, I think that is such tripe... but I could be wrong. I kind of want to be wrong on this one.) Who wants to be in my accountability peanut gallery and throw rocks? Or better still, does someone else have a 10:13 or even 10:31 goal they want to implement? Brush your teeth every night, perhaps?

A single push-up for me, a giant floss for you? It's project Armstrong!

See you around 10:30-ish.

metalpeter - 07/19/11 16:56
One of the reasons I think you can get there is I've seen this group called the Peking Acrobats and maybe some other group on TV somewhere. The body control they have is amazing things where like they walk on there hands and get them to go past there feet and then raise up the feet and balance (of course starting at age infant helps the body learn all of that).... Yes everyone has certain abilities and strengths and weaknesses ...... But those can be improved and worked on .... Now where the limit is whom knows really
tinypliny - 07/18/11 22:20
Thanks, (e:metalpeter). You are probably the one who thinks I will get *there*. Wish I had your confidence. ;-)
metalpeter - 07/18/11 17:24
I wish you luck with this..... What ever the task is learning to crawl, walk, ride a bike, walk a balance beam once you don't once means you can do it but mastery and making it so you can do it all the time is something else.... You will get there.....
tinypliny - 07/17/11 15:14
YOU ARE BACK. At the risk of sounds ever so stalkerish... OMG, YOU ARE BACK. I have missed you.
paul - 07/17/11 14:56
You should take pictures of your arms so we can watch them grow.

07/16/2011 11:37 #54712

We are the Custard Pie Appreciation Consortium!
Category: music
This gem by The Kinks is SO (e:matthew). haha

We are the Skyscraper Condemnation Affiliates
God save Tudor houses, antique tables, and billiards!



(But I love the Kate Rusby version a lot!)


She infuses something indescribably rustic and precise into the classic.

The already super-awesome Classic:


07/16/2011 13:38 #54713

Greppetty Grep
Category: linux
Another set of commands I need to burn into my brain:

Find all files in the current directory that contain blah in their file names
  • ls |grep blah

Wildcards in grep: all files that start with a b and end in a g with ONLY one character in between
  • grep b.g file

The asterisk * in a grep command stands for repetition. .* means "repeat any character any number of times"
  • grep "b.*g" file

Escaping characters. Preceding backslashes either remove an implied special meaning from a character or add special meaning to a "non-special" character
  • grep 'hello\.gif' file

An expression consisting of a character followed by an escaped question mark matches one or zero instances of that character.
  • bugg\?y matches bugy , buggy but not bugggy

An expression surrounded by "escaped parentheses" is treated as a single character.
  • Fred\(eric\)\? Smith matches Fred Smith or Frederic Smith

Match a selection of characters, use []
  • [Hh]ello matches lines containing hello or Hello
  • [A-Ca-k] is the same as [ABCabcdefghijk]
  • [[:alpha:]] is the same as [a-zA-Z]
  • [[:upper:]] is the same as [A-Z]
  • [[:lower:]] is the same as [a-z]
  • [[:digit:]] is the same as [0-9]
  • [[:alnum:]] is the same as [0-9a-zA-Z]
  • [[:space:]] matches any white space including tabs

The [] may be used to search for non-matches. This is done by putting a carat ^ as the first character inside the square brackets.
  • grep "([^()]*)a"

matches (hello)a, (aksjdhaksj d ka)a But not
x=(y+2(x+1))a (I don't get this part, does it match (y+2(x+1))a?)

This matches phone numbers, possibly containing a dash or whitespace in the middle.
  • grep "[[:digit:]]\{3\}[ -]\?[[:digit:]]\{4\}" file

The $ character matches the end of the line. The ^ character matches the beginning of the line.
  • grep "^From.*mscharmi" /var/spool/mail/elflord
  • grep "^[[:space:]]*hello[[:space:]]*$" file

The expression consisting of two expressions seperated by the or operator \| matches lines containing either of those two expressions.
  • grep "I am a \(cat\|dog\)" matches lines containing the string "I am a cat" or the string "I am a dog"

The expression \n where n is a number, matches the contents of the n'th set of parentheses in the expression
"Mr \(dog\|cat\) came home to Mrs \1 and they went to visit Mr \(dog\|cat\) and Mrs \2 to discuss the meaning of life matches the respective dog/cat pairs

The following characters are considered special and need to be "escaped":
? \ . [ ] ^ $

A $ sign loses its meaning if characters follow it and the carat ^ loses its meaning if other characters precede it.

Square brackets behave a little differently. The rules for square brackets go as follows:
  1. A closing square bracket loses its special meaning if placed first in a list. for example []12] matches ] , 1, or 2.
  2. A dash - loses it's usual meaning inside lists if it is placed last.
  3. A carat ^ loses it's special meaning if it is not placed first
  4. Most special characters lose their meaning inside square brackets
  • grep "$HOME" file searches file for the name of your home directory, while
  • grep '$HOME' file searches for the string $HOME


Find with specific strings on filenames
  • find . -name "*.jpg"
  • find . -iname "*.jpg" #case insenstive version

Look for specific filetypes
  • find . -type d #directories
  • find . -type f #files
  • find . -type l #links (wth?)
  • find . -type s #sockets (wth?)

Find by size:
  • find ~/Movies/ -size +1024M

Find by last modified time (last 1 day)
  • find /etc/ -user root -mtime 1
Arguments
-atime: when the file was last accessed
-ctime: when the file's permissions were last changed
-mtime: when the file's data was last modified
-amin: when (in minutes) the file was last accessed
-cmin: when (in minutes) the file's permissions were last changed
-mmin: when (in minutes) the file's data was last modified

!
exclude everything that comes after this...

Collect files that are not owned by valid users and delete them
  • find / -nouser -print0 | xargs -0 rm

Clean the images off of your *nix desktop
  • find ~/Desktop -name "*.jpg" -o -name "*.gif" -o -name "*.png" -print0 | xargs -0 mv --target-directory ~/Pictures
  • The -print0 option terminates results with a null character instead of the default newline, making it cleaner and less likely to balk in many cases

Correct the permissions on your web directory
  • find /your/webdir/ -type d -print0 | xargs -0 chmod 755
  • find /your/webdir -type f | xargs chmod 644

Show a list of files in /etc that have been modified since last month
  • find /etc -mtime -30


Refs (~completely taken with gratitude from)