Category: eating in
07/19/11 08:15 - ID#54740
Fry Pan Excitement, Part I
It's not even healthy to be this excited about some inanimate object but I can't help it. It gets home this Saturday!
Jul 19, 2011 10:36 AM
Departed FedEx location
CITY OF INDUSTRY, CA
Jul 18, 2011 8:06 PM
Arrived at FedEx location
CITY OF INDUSTRY, CA
Jul 18, 2011 4:47 PM
Picked up CITY OF INDUSTRY, CA
Jul 18, 2011 11:07 AM
Shipment information sent to FedEx
PS: It's made from steel by JSW, one of the largest steel producers from India at a plant in Texas Whoever said all jobs are moving from US -> Asia needs to take a look at JSW that did just the opposite.
Permalink: Fry_Pan_Excitement_Part_I.html
Words: 156
Location: Buffalo, NY
Last Modified: 07/21/11 09:03
Category: goals
07/18/11 10:18 - ID#54736
Armstrong 180711
Reason for stopping: Severe arm exhaustion
Status: I followed the Mayo technique that (e:heidi) linked yesterday for modified push ups. However, my back keeps sagging to the ground and I am not sure I felt my pectoral muscles and abdominal muscles stretch or even work. The only thing that is probably dying is my upper arm muscles, particularly the biceps. And they said it exercises your triceps. I am definitely doing this wrong... I will try again tomorrow to see if I can achieve proper form.
Till then, big OUCH. I hope my arms don't fall off in my sleep today. It feels like it.
Permalink: Armstrong_180711.html
Words: 108
Location: Buffalo, NY
Last Modified: 07/19/11 07:57
Category: i-tech
07/18/11 08:50 - ID#54734
Neverending Web App lists.
What a hoot!
I never realized that there were as many or even more App review sites and listing sites as there are apps themselves... It's amazing how fast they have sprung up everywhere. There are so many of them that you can make a list of the listings of web apps. For eg.
- The unofficial Web Application list.
- Appappeal
- Go2Web20
- Codswallop
- Webware
- Nedwolf
- Ruby on Rails List
- Neobinaries
- Edutech Wiki
- Appstorm
and a million others. The list just goes on.
Hell, I just created one here.
Permalink: Neverending_Web_App_lists_.html
Words: 117
Location: Buffalo, NY
Last Modified: 07/18/11 09:14
Category: music
07/17/11 11:49 - ID#54726
Wachet Auf!
Permalink: Wachet_Auf_.html
Words: 7
Location: Buffalo, NY
Last Modified: 07/17/11 11:49
Category: goals
07/17/11 10:21 - ID#54724
Armstrong 170711
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.
Permalink: Armstrong_170711.html
Words: 59
Location: Buffalo, NY
Last Modified: 07/19/11 07:57
Category: the odes
07/17/11 08:59 - ID#54722
For, Brutus is an honourable man...
Resounds in my head to this day, at the most inopportune moments.
Permalink: For_Brutus_is_an_honourable_man_.html
Words: 24
Location: Buffalo, NY
Last Modified: 07/17/11 08:59
Category: goals
07/17/11 02:33 - ID#54716
Project Armstrong
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.
Permalink: Project_Armstrong.html
Words: 324
Location: Buffalo, NY
Last Modified: 07/17/11 02:51
Category: linux
07/16/11 01:38 - ID#54713
Greppetty Grep
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:
- A closing square bracket loses its special meaning if placed first in a list. for example []12] matches ] , 1, or 2.
- A dash - loses it's usual meaning inside lists if it is placed last.
- A carat ^ loses it's special meaning if it is not placed first
- 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
-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)
Permalink: Greppetty_Grep.html
Words: 754
Location: Buffalo, NY
Last Modified: 07/17/11 02:37
Category: music
07/16/11 11:37 - ID#54712
We are the Custard Pie Appreciation Consortium!
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:
Permalink: We_are_the_Custard_Pie_Appreciation_Consortium_.html
Words: 56
Location: Buffalo, NY
Last Modified: 07/16/11 11:37
Category: i-tech
07/16/11 10:32 - ID#54711
Candara and Droid Sans
Candara
Droid Sans
Love the way the letters curve, everything about these fonts is so perfect.
Candara is native to windows and droid sans is native to Android. But I want them both on both of my windows and linux systems. So here goes:
Installing both fonts on Linux.
From:
- Copy the fonts in their own folders under /usr/share/fonts/truetype
- Make these fonts available to the system: chmod 0775 -R droid/ candara/
- Cache the fonts so they are loaded on all the applications: chmod 0775 -R candara/ droid/
Installing droid fonts on Windows.
This is way simpler.
While hunting for stuff, I found this, a complete image of a running android system ripe for hacking.
Hmm...
Permalink: Candara_and_Droid_Sans.html
Words: 183
Location: Buffalo, NY
Last Modified: 07/16/11 12:21
Author Info
Date Cloud
- 12/21
- 12/15
- 02/15
- 01/15
- 11/14
- 08/14
- 04/14
- 02/14
- 11/13
- 07/13
- 09/12
- 08/12
- 07/12
- 04/12
- 03/12
- 02/12
- 01/12
- 12/11
- 11/11
- 10/11
- 09/11
- 08/11
- 07/11
- 06/11
- 05/11
- 04/11
- 03/11
- 02/11
- 01/11
- 12/10
- 11/10
- 10/10
- 09/10
- 08/10
- 07/10
- 06/10
- 05/10
- 04/10
- 03/10
- 02/10
- 01/10
- 12/09
- 11/09
- 10/09
- 09/09
- 08/09
- 07/09
- 06/09
- 05/09
- 04/09
- 03/09
- 02/09
- 01/09
- 12/08
- 11/08
- 10/08
- 09/08
- 08/08
- 07/08
- 06/08
- 05/08
- 04/08
- 12/07
- 11/07
- 10/07
- 09/07
- 08/07
- 07/07
- 06/07
- 05/07
- 04/07