Mar 7 2010

My Tweets on 2010-03-07

  • Episode 30! - What took place at the “invite-only” REVOLVER release party of their 1st Tattoo issue.
    http://ow.ly/1d2QB - PLEASE RT! THX! #
  • In case you missed it, here’s the link to the coverage of the REVOLVER party at Last Rites: http://ow.ly/1dkVY #
  • New glitch mode in cod:mw2 - super fast crack mode. #
  • New BMTV Ep - Interview with Paul Booth of Last Rites at the REVOLVER release party! - http://ow.ly/1dQJq please RT so others can see it! #
  • BMTV Ep 31 - Flew to Detroit to cover the tattoo convention. Also, is the introduction of the BODY MOD ROCKSTAR! http://ow.ly/1elBK #
  • #iphone - Plants vs. Zombies - Get it! #
  • Alien Prequel in 3D? You can see my comment (2nd one =) http://www.horrorsquad.com/2010/03/05/alien-prequel-going-3d/1#c26007096 #
  • Nightmare on Elm Street Remake : Everything looks cool, but bad casting on Freddy! Short and bad actor! http://bit.ly/coviC6 #
  • BMTV Ep #33 - Detroit Tattoo Convention Part 2!!! OMROZ! I gave the camer to CheeseStix! Cuz I’m CRAAAZZZY! http://ow.ly/1eSAq #
  • At cups…again….fir a while…alreday driziknkb!!! #

Feb 28 2010

My Tweets on 2010-02-28

  • New Episode (Finally back in the US =) - Archive - Getting Tattooed at Last Rites on 6-6-06 http://ow.ly/1abxI #
  • anyone have waffles.fm invite? #
  • itunes on laptop tip: Make it go to 11 by pumping up the pre-amp on the EQ! #
  • HOLY FUCK! New High on Fire fucking fuckin fuck fuck is awesomely shit-tasticly fucking awesome! #
  • Just dented a cab door with my fist. This sprained hand ain’t never gunna heal. #
  • BMXnet Performance ‘09 Day 1 - Episode #27 - Guy is crazy awesome! http://ow.ly/1aQgf #
  • New episode…AKA: Drunk ramblings walking back from the bar at 5am =) http://ow.ly/1bhLN #
  • Some1 stole all my memory cards from my checked luggage in Europe. All Milan tattoo convention footage… Gone. Fuck you asshole! (to thief) #
  • New BMTV Ep:29 - Ever seen a guy rip out his PA with a bucket? If not, here’s your chance! http://ow.ly/1bWuG #
  • In the ghetto-fabulous Detroit! #
  • Had an awesome dinner with Sean (cheesestix) jennnyyy Robert and gery. Fuck yeah! #
  • Just met the nicest TSA people ever! #

Feb 21 2010

My Tweets on 2010-02-21


Feb 14 2010

My Tweets on 2010-02-14

  • Yay! I’m home! Cut-throat NYC, how I’ve missed you so. Eat the weak! #
  • BMTV - New Episode =) - Interview with Roger “Rabbit” Rodriguez in LA. We talk piercing, shop biz tips, branding,+ http://ow.ly/14WlL #
  • Finally turned 30 today. About time I reached the age I’ve felt to be the past 15 years =) #
  • Happy birthday to me! http://twitpic.com/12awwi #
  • How I celebrated my 30th birthday! My first hand tattoos, steak, and cake! http://ow.ly/15LLY #
  • Sent out a bad link for my birthday video! Here’s the right one! http://ow.ly/163Ov #
  • Explanations anyone? Taken with iPhone in NYC Subway. http://twitpic.com/12qjop #
  • New BMTV Ep #25 - What I learned from a funeral home (business tips for shop owners and pros) - http://ow.ly/16LDh #
  • In Venice on Valentines Day during Carnival with my girl =) #

Feb 7 2010

My Tweets on 2010-02-07


Feb 4 2010

VevoCart Options In-Stock Mod

I’ve been playing around with Vevocart for a while and there’s something I felt was missing. To be able to show the stock level of individual options.

So if you’re selling Tshirts, in the drop down, it’ll say something like:

Small - 12
Medium (SOLD OUT)
Large - 8
X-Large - 3

This way the customer knows right away if the size they want is available or not BEFORE they try to add it to their cart. =)

Please keep in mind that I’m a VB.NET guy. This is my first time playing around with C# and with this apps code, so there may be a better way, but it’s working for me.

Hope it helps someone else out!

.: Adam

Here’s what I modded:

Made a new class file: /App_Code/GlobalFunctions.cs ::

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using System.Data.SqlClient;

///


/// Summary description for GlobalFunctions
///

namespace Adam
{
public class GlobalFunctions
{

public static DataSet GetDataFromSQL(string strDBName, string strSQL)
{
string strConn = ConfigurationManager.ConnectionStrings[strDBName].ConnectionString;
SqlConnection objConn = new SqlConnection();
objConn.ConnectionString = strConn;
SqlDataAdapter objAdapter = new SqlDataAdapter();
SqlCommand objCommand = new SqlCommand();
DataSet myDataSet = new DataSet();

objCommand.Connection = objConn;
objCommand.CommandText = strSQL;
objAdapter.SelectCommand = objCommand;
objAdapter.Fill(myDataSet, strDBName);
objAdapter.Dispose();
objConn.Close();
objConn.Dispose();

return myDataSet;
}
}
}

/Components/OptionItemDetails.ascx.cs ::

Add ProductID to the variables being sent to the function

Line 174: uxOptionDropDownItem.SetUpDropDown( table, ProductID );

/Components/OptionDropDownItem.ascx.cs ::

Replace class SetUpDropDown with the following code:

public void SetUpDropDown( DataTable table, string ProductID )
{
int i = 0;
int intOptionID = 0;
string strOptionValue = “”;
string strValue = “”;

foreach (DataRow dRow in table.Rows)
{
// Get the option ID
intOptionID = Convert.ToInt32(table.Rows[i][0].ToString());

// Get the option value
strOptionValue = table.Rows[i][7].ToString();

DataSet ds = new DataSet();
string strSQL = “select ProductStock.Stock”;
strSQL += ” FROM ProductStock”;
strSQL += ” LEFT JOIN OptionCombination”;
strSQL += ” ON ProductStock.OptionCombinationID = OptionCombination.OptionCombinationID”;
strSQL += ” WHERE ProductStock.ProductID=” + ProductID + ” AND OptionCombination.ProductOptionItemID=” + intOptionID;
strSQL += ” ORDER BY OptionCombination.ProductOptionItemID”;

ds = Adam.GlobalFunctions.GetDataFromSQL(”MainConnection”, strSQL);
if (ds.Tables[0].Rows.Count > 0)
{
strValue = ds.Tables[0].Rows[0]["Stock"].ToString();
}

// Update the value and insert into table
if (strValue == “0″)
{
strValue = ” (SOLD OUT)”;
}
else
{
strValue = ” - ” + strValue;
}
table.Rows[i][7] = strOptionValue + strValue;

// Increment
i++;
}

uxOptionDrop.DataSource = table;
uxOptionDrop.DataBind();

uxOptionDrop.Items.Insert(0, new ListItem(” — Please Select — “, String.Empty));
}


Feb 4 2010

Score free inflight WiFi on Delta with GoGoInflight.com!

So, I’m on a flight right now (yes, I’m posting this from a plane =), and I figured out an easy trick to score free wireless. If you’re on a delta flight with WiFi, they us the internet provider GoGoInflight.com. Right now, they have a “game” where you can win 25%, 50%, or 100% off the cost of the WiFi (normally $13 / flight). The trick is that the game is cookie based. So all you have to do is keep deleting your cookies and replay the game until you score the code for the 100% off =)

Cheers!

.: Adam


Jan 31 2010

My Tweets on 2010-01-31

  • BMTV Episode #12 - The entire Mutant Squad performance at APTPI 2010, Milan Italy. http://ow.ly/104GR Please help and retweet!! #
  • New Episode - Interview with Bethra Szumski of APP is online =) http://ow.ly/10gCV #
  • If I’m going to be in a country that doesn’t speak English, I’d rather it not be the US #
  • Arden totally just sliced her arm open during performance. Hid it well. At ER =) #
  • Just left the ER. Arden all drugged up is funny. #
  • Bloody Body Mod Burlesque - Episode #14 is now online! This one is super awesome! Seriously… http://ow.ly/10JrP #
  • ipad = lame so far. I can do all this with my phone #
  • #iPad = still lame… #
  • ooooh iWork on the #iPad…. even MORE lame… #
  • AAPL down 1.5%…. looks like the business people agree how lame this #iPad is #
  • #iPad well… I’m sold! I can’t wait to buy a nook! #
  • FUCK… no new macbook pros… >:| #
  • 1 month…. then I’m buying an emachine ;) #
  • http://i.gizmodo.com/5451997/new-candidate-for-apple-tablet-name-the-ipad #
  • bad ass watch #
  • oops…watch link http://ow.ly/11vcu #
  • Body Mod Performance Safety - Episode #15 : See the details of the trip to ER and some helpful safety tips! http://ow.ly/11xZr - Please RT! #
  • New Episode - Interview with JD and Jonathan of Industrial Strength at APTPI 2010 - http://ow.ly/11Vl8
    Awesome people will RT this ;) #
  • BodyMod.TV Episode #17 - I got SLAYER branded on my arm =) http://ow.ly/129if Please RT, cuz you know it’s awesome! #
  • BMTV - Episode #18 - A Quick Book Review http://ow.ly/12mM4 #

Jan 29 2010

Find all files with text string in it on linux

find . -type f -exec grep -l “string to find” {} \; -print

i always forget, so I’m putting it here for future reference =)

.: Adam


Jan 24 2010

My Tweets on 2010-01-24

  • Whaddup from Paris =) http://twitpic.com/yo1pd #
  • Watching BodyMod.TV! APTPI Day 2 Part 1 Episode 6 - Interview TRUST and Steve Haworth on jewelry business. http://bmod.tv - Please RT!! #
  • Watching BodyMod.TV! Interview Gorilla Glass and Tawapa Episode 7 http://bit.ly/6P9HGc Please RT! #
  • is back in the NYC, and putting together all the content for BMTV! #
  • Thanks to Nina, I got then next episode of BMTV down to 13:35 from 20:00 =) Thanks Nina! #
  • New Episode on BodyMod.TV - APTPI Day 2 Part 2 Episode 8 http://bit.ly/67afv6 Please RT! #
  • Playing around with Hootsuite….so far, pretty nice. http://ow.ly/YKan #
  • New BMTV Episode (#9): Interview with Steve Haworth in Italy. Divulges new TOTALLY AWESOME thing he’s working on! http://bit.ly/8J9KwM #
  • For the techies… watch the latest BMTV Ep… skip to 4:07. Please RT if you think it’s awesome! (which of course it is ;) #
  • Jetlag is killing me… #
  • BodyMod.TV - Episode #10: Part 2 of Steve Haworth interviewer. All the awesome couldn’t fit in one =) http://ow.ly/ZnZq - Please RT! Thx! #
  • Episode #11 is up! The full APTPI 2010 Pain Solution Performance (1h14m). Hope your weekend is rockin! http://ow.ly/ZPFk - Please RT! #