Skip to content

notes to self

a document of a plodding mind

Menu
Menu

Author: abram

Photos: Day #3

Posted on August 30, 2009August 30, 2009 by abram

8.29.2009: Peter and Bethany clean up the NYC fallout shelters.

Continue reading

PHP: Dancing with the cURL

Posted on August 28, 2009August 28, 2009 by abram

HTTP Authentication with cURL in the event I’m overdrawn at the memory bank. $ch = curl_init(); $url = “http://myurl.com/plah.php?foo=value”; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_USERPWD, “user:pass”); curl_exec ($ch); curl_close ($ch);

Continue reading

Photos: Day #2

Posted on August 28, 2009September 3, 2009 by abram

8.28.09: Rainy day Manhattan. These will one day not be of buildings.

Continue reading

Photos: Day #1

Posted on August 27, 2009September 3, 2009 by abram

8.27.09: Neglect. I’m going to attempt to make a visual catalog of daily experiences after having been inspired by my good friend, Nataline.

Continue reading

PHP: Locator script

Posted on July 30, 2009July 30, 2009 by abram

When asked to write a store location program in less than an hour, I developed this little utility. It uses my own MySQL class and clean() function which parses the POST/GET variables for any nastiness that might have occurred. include(‘includes/class.mysql.php’); include(‘includes/functions.php’); clean(); // Clean up $_REQUEST for SQL injection $mysql = new mysql(); $zip =…

Continue reading

BASH: deleting files older than X number of days

Posted on July 29, 2009July 29, 2009 by abram

find /path/to/folder -mtime +5 -exec rm -f {} \; A handy utility to stick into the old brain. Thank you, internet, for providing me such a vast and available resource so that I know longer have to rely on my own faculty of memory.

Continue reading

KC2VOD

Posted on July 28, 2009July 29, 2009 by abram

I’m not transmitting as of yet, but it won’t be long now. http://www.genesisradio.com.au/G40/

Continue reading

PHP: TrueType bounding box with GD

Posted on July 28, 2009July 28, 2009 by abram

Just a snippet to print out the values in a bounding box. print_r’s simple outline format just makes it easier to visualize. <?php $im = imagecreatetruecolor(800,600); $arr = imagettfbbox(30,0,’fonts/arial.ttf’,’this is a long string of text!’); print_r($arr); ?>

Continue reading

PHP: transparent PNG over JPEG

Posted on July 28, 2009July 28, 2009 by abram

<?php header(“Content-type: image/jpeg”); $im = imagecreatetruecolor(800,600); // main image output $im2 = imagecreatefromjpeg(‘image1.jpg’); $im3 = imagecreatefrompng(‘../images/template3.png’); imagecopymerge($im,$im2,360,186,0,0,800,600,100); imagecopy($im,$im3,0,0,0,0,800,600); imagejpeg($im); imagedestroy($im); imagedestroy($im2); imagedestroy($im3); ?>

Continue reading
  • Previous
  • 1
  • …
  • 25
  • 26
  • 27
  • 28
  • 29
  • Next

about

Abram Morphew is an electrical engineer, bedroom musician, composer, naturalist, and amateur scientist. I play music in the the binary marketing show. This blog is a catalog of stuff that I make or bits of information that I think could prove useful later on when memory fails me.

 

I currently hold an Extra Class Amateur Radio Operator license and transmit on the air as K2NXF.

Tags

40m amp amplifier Arduino atmega328 atmel audio bash bjt breadboard circuit code cw delay digital effect effects electrical electronics homebrew lfo linux LM386 mellotronium music no. 5 opamp oscillator pcb pedal photos php pt2399 pwm radio rf schematic stereo stompbox synth tape TDA2040 tl072 TL082 tube

Social

  • Instagram
  • LinkedIn

Space Weather


© 2026 notes to self | Powered by Minimalist Blog WordPress Theme