I am Sam, I like talking about, Music,Web Development,and I comment on my twitter page too.

If you would like to read this more often then you can. You can view my online profile too if you like?

Blog

2009 2010 album art album of the month albums beats best album biffy clyro books in coda coda december 09 delphic dreamweaver drum n bass editors fallback fopp ftp Hadouken! html5 hypem internet explorer january jquery last.fm linux monday music Music new music new tune november opera php rave remix Royal Bangs silverlight svn TEA the xx Vampire Weekend vitalic windows Yeasayer ZEN CODE

New Music : Germany Germany

Just a quick post to tell you about a cool band called Germany Germany they are an independent electronic duo from Victoria, British Columbia, Canada, consisting of instrumentalist/producer Drew Harris and vocalist Jessica Morgan.

they have two free EPs that you can download from their mainsite distorteddiscodotcom. They have a new EP called Radiowave which will be released soon, if its as good as the other two EPs then we are all in for a treat.

All I ask is that you scrobble your listens via last.fm.

Enjoy :)

Best Album : May 10

june 2010

This months winner is…


Infinite Arms - Band of Horses

Another month shoots past, lots of good albums this month the album that really stood out was Infinite arms the music is cool and the album art is so nice. Its so good that its up on my living room wall.

Nice little album love it.

PDF Form submission to PHP

Just a short one, was trying to submit a PDF form (created in LiveCycle) and submit it to a PHP when I performed a print_r($_POST); all I saw on screen was.

array(0) { array[0]=> }

When looking in Charles I saw all my POST variables so i was like … HUH?

Anyway it turns out that the submit Format was incorrect, so to fix it you must…

Highlight the submit button and click the XML Source tab. Below the tag, near the tag for the button, find and change format="formdata" to format="urlencoded"

Beastie Boys – Sabotage (Alex Metric Re-Edit)

Beastie Boys – Sabotage (Alex Metric Re-Edit)

I need to say No more.

Download it now, and play it really really loud

Best Album : April 10

april2010

This months winner is…

Sick Music Album cover

Sick Music – Hospital records

Yep, gone for the Drum n’ Bass mix-tape this month. I was told that Just One Second (Apex Remix) - London Elektricity was a ‘siick’ tune and was the one and only reason to buy this album. Anyways its classed as sampler CD as it contains lots of the Hospital Records artists. I really recommend you listen to it. :)

Hot Tracks : Beautiful Lies - B-Complex & Just One Second (Apex Remix) - London Elektricity

Best Album : March 10

march 2010

This months winner is…

brmcBlack Rebel Motorcycle ClubBeat The Devil’s Tattoo

Another busy month for buying music. Another wonderful album from B.R.M.C, this album really kept me going this month. It was a close call between “Two Door Cinema Club”, “The Courteeners” & “B.R.M.C” as they are all superb albums.

CSS3 – Drop Shadows – single side

css3

Bit more playing around with CSS3.

I was trying to get an effect with a single shadow down one side of a box, using the BOX-SHADOW in CSS.  The “standard” deployment gave some results I was not too happy with. This was because the Shadow were spilling out over edges that I didn’t want it to be displayed on. See the image below.

poor shadow effect

As you can see the shadow is spilling over the top an bottom edge

I wanted the Left Side edge to ONLY have shadow on it….so after about 10 mins of clicking…..

After a bit of tinkering this is the result!

After a bit of tinkering this is the result!

The CSS code is a follows :
box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;
-o-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;
-icab-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;
-khtml-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;
-moz-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;
-webkit-box-shadow: 0px -5px 0px #fff, 0px 5px 0px #fff, 5px 0px 0px #fff, -2px 0px 5px #333;

The way that this code is working is the first three shadows are full opacity in White (#fff) – which matches the BG of the box, and the last shadow applies the #333 shadow to the left hand edge. Yes it does increase the edge by 5px, but thats how I wanted the effect to look…

Best Albums : 2009

Best Albums Summary

This is a list of all the albums that have won the Best album of the month Since 2006

Best Albums : 2008

Best Albums Summary

This is a list of all the albums that have won the Best album of the month Since 2006

January 2008
TimbalandShock Value
Febuary 2008
One Night OnlyStarted A Fire
March 2008
MGMTOracular Spectacular
April 2008
FoalsAntidotes
May 2008
Hadouken!Music For An Accelerated Culture
June 2008
PendulumIn Silico
July 2008
Crystal CastlesCrystal Castles
August 2008
The RaconteursConsolers of the Lonely
September 2008
GlasvegasGlasvegas
October 2008
MetronomyPip Paine (Pay Back The £5000 You Owe)
November 2008
Bloc PartyIntimacy
December 2008
JusticeA Cross The Universe

Best Albums : 2007

Best Albums Summary

This is a list of all the albums that have won the Best album of the month Since 2006

January 2007:
The GameDoctor’s Advocate
Febuary 2007:
KlaxonsMyths Of The Near Future
March 2007:
LCD SoundsystemSound Of Silver
April 2007:
Paolo NutiniThese Streets
June 2007: [lots of good albums, so ill vote two]
1. Justice -Cross
2. The TwangLove It When I Feel Like This
July 2007:
The Chemical BrothersWe Are The Night
August 2007:
Mark RonsonVersion
September 2007:
The Pigeon DetectivesWait For Me
October 2007:
Reverend and The MakersThe State Of Things
November 2007:
50 CentCurtis
December 2007:
The EnemyWe’ll Live and Die in These Towns

Best Albums : 2006

Best Albums Summary

This is a list of all the albums that have won the Best album of the month Since 2006

Twinkling Cloud, jQuery effect

JQuery Effects - Stars Sparkles
I am playing with a lot more jQuery now. I decided that it would be cool to have a Cloud that pulsed in and out so they looked like stars, yeah it might be sad but I think it looks pretty cool so I have decided to share it with you!

if you look up you will se it in action, I have made a single page with the JQuery in and some sample data so you can see it without the bulk of my site surrounding it.

How it works:
Its a really simple function set on a Interval than changes the opacity of the selected item, it could be a link, an image or anything you like really.

There is a small number of variables that you can change to make it fit your site better, the code is to be used at your own risk etc… I am just simply pointing out what you could do.

It can just be plugged into a WordPress theme if you wanted, just change the “what” variable in the JQuery to reflect the name of your cloud.

Enjoy it.

See the example code

Tab Switcher

What I try to do is remember the rule of Javascript is that its for Bells and whistles – it makes the page a bit more enjoyable, it shouldn’t be the Core functionality.

So taking that in mind I will show you how I did it, the idea of out front page was for a Showcase that shows off their current products.

What I use is two ‘pages’ one of them being the frame (index.php) and the second being the contents (index_include.php).

On the index I put a PHP include to the ‘index_include’, the index page contains :

<!-- The JQuery (later explained) --->
<script src="/common/js/contentswitcher.js" type="text/javascript"></script>
<div>
<div id="contentstochange">
<?php require_once($_SERVER['DOCUMENT_ROOT'] . '/index_include.php'); ?>
</div>
</div>
<a href="index.cfm?tab=FR" class="stayblack bigtabs <?php if($tab=='FR') echo ' selected' ; ?>">
<h2>
<img src="/images/fr_box_front.png" alt="FR" border="0" />FusionReactor
</h2>
</a>

The <A> tag is the key here : as you can see it calls the href to itself with a URL string of tab=FR

the Class tag contains modification for PHP to add selected when that tab is selected.

Index_include page contains: A Simple Switch statement.

<?php
$tab = 'FR';
if(isset($_GET['tab'])){
$tab = $_GET['tab'];
}
switch($tab) { case 'FR' : ?>
THE HTML CONTENTS GO IN HERE
<?php
break;
case 'n' :
break;
?>

So what we have done here is Really simple. We have an index page with a PHP include of the page ‘index_include’. when the <a href> is pressed it will load the correct case statement into the ‘index’ page.

So, where is the JQuery ?

all what we need to do now is to stop the Page moving as we want the user to remain on the same page so it looks like the tabs are fading in and out nicely.

so add this to the <a href>

onClick="runcontent('FR');return false;" id="FR"

Then we go make the JQuery

function runcontent(selection){
$("#contentstochange").fadeOut('fast');
// Now make the request
this.timer = setTimeout(function () {
$.ajax({
url: "/index_include.php?tab=" + selection,
dataType: 'html',
success: function (response) {
runme(response)
}
});
}, 150);
function runme(response) {
$("#contentstochange").fadeIn('slow').html(response);
}
$(".bigtabs").removeClass("selected");
$("#"+selection).addClass("selected");
}

What it does is Fade out the container div – Requests the index_include page with the Sent variable, it responds then Fades in the new page – it also sends through data to the ‘index’ page to change the style on the Tab so it looks selected.

So what we have now is a Tab that when clicked will open a new tab with new content with a nice fade in fade out effect.

Best Album : February 10

This months winner is…

Hadouken!For The Masses

Compared to last moth this month was very quiet for buying music, I had just left the UK to return back to Germany so I guess I was just a bit short of time, I did manage to get new Hadouken!, Royal Bangs, and Yeasayer albums.

I gave the award to Hadouken! as it is just such a lively album and I am off to see them on March 24th at LKA in Stuttgart so I am just getting prepared for a massive Party!!

Best Album : January 10

This months winner is…


DelphicAcolyte

January was a massive month for me buying music. I managed to purchase 9 NEW albums which I think is quite a record!

Vampire Weekend, Them Crooked Vultures, Delphic, The Horrors, Grizzly Bear, Seasick Steve, Bombay Bicycle Club, Hidden Cameras…

There were some great albums in this mix, but the biggest grower of them all was Delphic. I hear underlying tones of Fischerspooner which makes me love them even more!!

I would defiantly recommend buying Delphic, Them Crooked Vultures (Dave Grohl, Josh Homme) … actually I recommend them all. Seasick Steve is not to everyones taste but its a bit of a comedy CD, its quite entertaining, for a few listens…

Sam George