Archive for June, 2012

Things I Learned in June

June 30, 2012 Leave a comment
  1. Learned about several features of that I didn’t know before.
  2. Bilderberg – We even drove by the Westfield’s Marriott to see it.  All fenced in, surrounded by police and a group of protestors. Pretty crazy.
  3. T-CLOCS
  4. git branch –merged, git branch –no-merged
  5. git commit –allow-empty
    1. git branch –contains SHA
    2. git config remotes.mygroup ‘remote1 remote2’; git fetch mygroup
    3. git config –global help.autocorrect 1
  6. Tables under a Materialized View can be altered like any other table. I had to widen a column and just ran alter table T modify C VARCHAR2(150);
    2. Diphthong
  7. Oracle 11.2 LISTAGG Function
    1. Data URI Scheme  (Example: <img src=”data:image/png;base64,iVBOR…==” alt=”Red Dot” />)
  8. rbenv – alternative to RVM
    1. etckeeper
  9. Learned difference between Discrete and Discreet
    1. Learned Google Maps supports multiple destinations.
    2. Natural sign in piano music and sharps/flats not continuing after a measure.
  10. Tried on motorcycle gloves. You want mesh ones for summer riding and leather for winter.
  11. Mount Weather and The Greenbrier Hotel
  12. sftp -b to specify a batchfile.  sftp does not support a password argument, use ssh keys.
    1. Unix Expect – YouTube
  13. FTPS != SFTP
    1. lftp exists on unix and supports FTPS, ftp does not support FTP over SSL.
    2. ORA_ROWSCN – Psuedo Column to return System Change Notification for a record.
  14. Learned about “accidentals” and “lead sheets” when reading music.
  15. Duck Hunt Zapper
    1. ack-grep –ignore-dir=release -i chopper
  16. IronMan = Marathon Run, 112 Mile Bike, 2.4 Mile Swim
  17. Forearm Forklift
  18. Discover card is now accepted in London!
  19. Unix free
  20. ATT International Calling Plans/Options
  22. Javascript functions, CSS styles, HTML IDs all with the same name can conflict in some browsers.
    1. Mootools Request.HTML has an append parameter.
  23. Learned how to patch fences on a farm. Cows get pink eye from grass irritation. Ashes are a good way to stop grass growth under fences.
    1. Learn how to make Carmel Popcorn.
    1. WordPress 3.4 Released – Cool new Live Preview mode.
  25. curl -w/–write-out “%{http_code} %{content_type}\n” to display response information.
  26. PHP Session will recreate on every page load if session.cookie_secure = 1 and you access the site via http.
  27. Thor‘s chariot is pulled by two goats (Norse mythology).
  28. – Peer/Code Review Software
  29. WordPress Function: wpautop
  30. Learned the follow from my friend John
    2. Jacobite Train – Hogwarts Express in Harry Potter is in Scotland
    3. Unlock iPhone and buy a SIM card for international travel

Things I Learned in May

June 3, 2012 Leave a comment
  1. Google Maps lets you save locations to your own set of Custom Maps.
  2. grep ‐‐color
  3. Learned how to read apt package install status shown by dpkg ‐l.  Descriptions found here: man dpkg-query
  4. BoltBus from Union Station to NYC
    1. Rockefeller Center, Times Square, Macy’s at Herald Square, Bryant Park, Grand Central Terminal
    2. Serendipity3, Dylan’s Candy Shop
  5. NYC Tourist
    1. West Village, Greenwich Village, NYU, SoHo, NoLita, Little Italy, China Town, Brooklyn Bridge, Staton Island Ferry
    2. Elephant and Castle, The Grey Dog, Donut Plant, Katz Deli
  6. Central Park
  7. Replace string with newlines in VIM:  %s/‐‐X‐‐/\r/g
  8. US Postal Service Losing up to $25 Million Per Day.
  10. Finished reading Tony Hsieh‘s Delivering Happiness
  11. RewriteRule .* – [E=SYMFONY_ENV:staging]
    1. Alternative is SetEnv in either .htaccess or vhost file.
    2. Learned quite a bit more about the Symfony2 Framework.
  12. Starting piano lessons. Learned a few things about music theory, key signatures, chords, scales, major/minor, etc.
  13. Phlebotomy
  14. PHP’s getopt doesn’t support spaces for arguments with optional value… odd. -v1 and -v=1 work, but -v 1 does not.
  15. The invention of the modern piano is credited to Bartolomeo Cristofori
  16. Manually firing a javascript event $(‘element’).fireEvent(‘change’) does not include the event object as function parameter.
  17. Finally learned about ASCII Escape Sequences and the Control Sequence Initiator (CSI) of Esc+[  (0x1B, 0x5B)
    1. PostgreSQL Autodoc
  18. pigz – Parallel Implemenation of GZip
  19. Attended Grove City College graduation for a friend of ours.
    1. Spiked Milk Shakes in Cranberry, PA at
  20. Played around with the iPhone SDK:  View Controller, UIButton, UILabel, and NSTimer objects.
    1. Loath vs Loathe
  22. Learned how to Skip tests with Fitnesse/Xebium.
    1. New word: modicum
  23. Oracle  CREATE INDEX … COMPRESS: Compress removes duplicates in the index keys. It results in smaller indexes, which result in faster lookups.
    1. COMPRESS will try to compress all fields in multi-column index whereas COLUMN 1 will compress only the first field.
    2. Indexes should be arranged in order of greatest duplication to least for best performance and space savings.
    3. New word: Pilcrow
  24. w is page up when running git diff
  25. It turns out that no_data_found exceptions are not thrown from functions called from select statement. However, they are thrown from procedures and functions called from something other than a select statement. Ask Tom has the answer.
    1. Unix top – Move through each column, sorting: shift+> and shift+<
    2. Oracle TRUNC function takes a 2nd format argument for dates and numbers.
  26. Reading through Virginia’s Motocycle Operator Manual
  27. Rolling Thunder 25th Anniversary – Learned some passenger riding tips.
  28. Learned what makes a motorcyle a chopper
  29. Selenium RC starts new java process each time it spawns a browser and they sometimes don’t shutdown properly.
  30. Reading the rest of Virginia’s Motocycle Operator Manual
  31. Symfony2 Form CSRF Protection