Searching all of the stored procedures in a database

May 10, 2011

SELECT Name

FROM
sys.procedures

WHERE
OBJECT_DEFINITION(OBJECT_ID)
LIKE
‘%StringYouAreSearchingFor%’


Workout plan for March, and April

March 7, 2011

Description of Workout:

New to weight training? This workout is for you. Designed to hit each muscle group with the big compound exercises once per week. Each workout day has 3-5 exercises.

With this workout you focus should be on your technique not the weight you’re lifting. Get the technique right in this workout then move on to a more advanced workout (Like this 4 day split) after 8-10 weeks.

The workout hits your chest/triceps on Monday, back/biceps on Wednesday and legs/shoulders on Friday. Abs and lower back should be worked after each workout with 2 exercises (see ab exercises).

Daily Workout Schedule:

Monday – Chest and Triceps 

Chest

Exercise

Sets

Reps

Dumbbell Bench Press

4 

12,10,10,10 

Incline Bench Press

2 

10 

Triceps

Exercise

Sets

Reps

Tricep Dip

3 

Failure 

Lying Tricep Extension

3 

10 

Workout Notes:

  • Have a 10min warmup before you begin your workout.
    • Have your bench at a 30 degree angle for incline bench press.
    • Make sure you lean forward to focus the work on your lower chest. Use assisted dip machine if you cannot do bodyweight.
    • Light weights only for skullcrushers, focus on form.

Tuesday: Rest Day

Wednesday – Back and Biceps 

Back

Exercise

Sets

Reps

Wide Grip Pull Up

4 

10 

Seated Row

3 

12 

One Arm Dumbbell Row

3 

10 

Biceps

Exercise

Sets

Reps

Standing Barbell Curl

3 

8-10 

Workout Notes:

  • Have a 10min warmup before you begin your workout.
    • Focus on form.
    • Use lat pull downs if you can not do pull ups.
    • Can use EZ bar for barbell curls.

Thursday: Rest Day

Friday – Legs and Shoulders 

Legs

Exercise

Sets

Reps

45 Degree Leg Press

4 

12,10,10,10 

Leg Extension

3 

12 

Leg Curl

3 

12 

Shoulders

Exercise

Sets

Reps

Military Press

4 

8-10 

Dumbbell Lateral Raise

3 

10 

Workout Notes:

  • Have a 10min warmup before you begin your workout.
    • 45 deg leg press, start with 75% of your max and add weight on each set.
    • Lateral raises – focus on form using light weights

Saturday and Sunday: Rest Days

Source of this material is (http://www.muscleandstrength.com/exercises/tricep-dip.html) putting it here so I can access it easily.

Making it public so that I can be embarrassed if I don’t keep doing it.

Details continued over here : http://en.wikipedia.org/wiki/User:Rihanmeij


Fantastic racing

February 24, 2011

This was an incredible experience. No amount of simulator (even a fairly realistic simulator) can prepare you for the assault on your sense.

As I approached the car the first thing that struck me was the rubber of the tires. It has about the feel of an eraser, perhaps a bit harder. However when it gets heated up it becomes sticky, actually picking up little stones and dirt of the tar, when you drive slowly in the pits. The cockpit is not very big, and there is no such thing as a seat, you sit on the carbon fibre of the safety cell. There are some cushions, but it has clearly been added as an afterthought. You push your feet down a narrow gully into the darkness, first getting it under the instrument panel, above a fire extinguisher. The pedals feel (you can see down there) about 5 cm wide, and are VERY close together. And it is not so much a sitting position, as a lying position, almost like sitting in the bath. The clutch pedal feels more like a tractor clutch than a car clutch, taking a significant amount of force for the first 3-5 cm of travel and then easing up. The brake pedal has significantly more travel than a normal car, what I mean with that, is the point that it starts braking, to the point of where there will be a full wheel lockup is a lot more than a road car. The throttle travel is very limited, but they did say that the cars are detuned for novices (us) and we only have 50% throttle available.

The revs build up extremely quick, and the cars are quick to accelerate once you have started rolling. Entering the first corner and braking, I was extremely surprised at how quickly the car de-accelerated, and how little the weight transfer made the nose dip. The suspension feels closer to a solid suspension, like a go-cart however if you get used to it, it is insane. Normally when you turn in sharply, the nose dips on the opposite side of the corner, and then you start to feel the g-force push you a bit to the side, with this race car, turning the steering wheel by 10 degrees at 100 km/h results in an immediate direction change and your body being flung to the side. The suspension is so hard that you would think it would start bouncing, but it is just before that level of bouncing and the wheels stay planted. Braking is beyond believe, the first time I started braking for the corner after the long back straight, I started applying braking, and applied more braking force and more braking force, the car stopped so quickly that I had to go another gear down, and accelerate to the corner. The gearbox was amazing, it takes a quick dab of the clutch and you pull or push the lever and that is it, off you go.

To single out a single thing that surprised me the most is difficult but it was probably the amount of movement of the front wing, at slow speeds it almost seems to bounce, and at high speed it looks like solid metal and hardly moves at all. The biggest challenge of this day, and learning to drive this car was not the physical, but the mental side of things. I did not get one braking point for a corner right, just because you don’t think a car can stop that quick, but you start braking for the corner, and you think you have left it way to late, and then the car starts slowing down, and you back of the brakes, because you are stopping too quickly. The amount of grip around the corners is astounding, going around Malmesbury corner in 4th gear at 5500 rpm takes a LOT of courage.

Found a new addiction, I think however that this will be more expensive, and it requires some planning and learning some new skills, like being able to fix my own race car. However I am hooked, and I will be owning a race car in the not too distant future


Building a water feature

December 2, 2010

I wanted a water feature, and could not find one, so I figured, well I will build one.

Here are some photos of the progress


Restarting a service with a batch file, and keep checking that it has stopped

November 2, 2010

Place this in a .bat of .cmd file

@echo off

if "%1"=="" goto instructions

 

if "%3"=="Start" goto start_Service

 

if "%3"=="Stop" goto do_bounce

 

:do_bounce

rem Query for service running and bail if not

sc \\%1 query %2 | find "RUNNING"

if errorlevel 1 goto end

rem Stop the service and loop checking for it to stop

sc \\%1 stop %2

goto check_stopped

 

:check_stopped

ping 127.0.0.1 -n 2 >NUL 2>NUL

sc \\%1 query %2 | find "STOPPED"

if errorlevel 1 goto check_stopped

GOTO END

 

:start_Service

rem Restart the service

sc \\%1 start %2

goto end

 

:instructions

ECHO "Usage is service.bat <server name> <service name> [Start:Stop]"

ECHO "YES it is case sensitive"

 

:end


A new life and a new hobby

October 25, 2010

Remote control cars

What I bought (pre built Tamiya TT 01E)

 

 

 



Current Specifications

 

●Length: 434mm, Width: 188mm, Height:141mm 

●Wheelbase: 257mm 

●Bathtub Type Frame

●Tire Width/Diameter (F/R): 27/67mm 

●Drivetrain: Longitudinally Placed Motor Shaft-Driven Full-Time 4WD 

●3-Piece Steering Tie-Rod

●F/R 3-Bevel Differential Gears 

●4-Wheel Double Wishbone Suspension 

●F/R Friction Dampers 
●Gear Ratio
8.35:1 

●540 Type Motor Included 

●Tamiya TEU-101BK Electronic Speed Controller Included 

 

Upgrades I did:

  • Ball bearings

Lap Times

http://prccc.co.za/Race%20Results%2010/prccc-race10-2010.zip

(Came 6 out of 8 people!!)

 

What I learned and will be trying for next race:

  • Aluminium drive shaft
  • Removed all the grease and just oiled all of the differentials
  • Oiled all of the ball bearings
  • Ran in the engine (run it with 2 aa batteries, in one direction for an hour, and then in the other direction for an hour, a lot of people said run it in a glass of water, and I did not have the guts for that)
  • Changed the gears (5.72:1)
  • Adjustable pilotable tie-rod’s
  • Changed all the electronic connectors

 

Will see what happens at the next race! Can’t wait


50 Great Web Alternatives to Desktop Software

October 19, 2010

Got this from here:

http://web.appstorm.net/roundups/50-great-web-alternatives-to-desktop-software/

 

50 Great Web Alternatives to Desktop Software

Justin Stravarius on September 14th

Even without the help of the ground breaking features in HTML5, web apps have come of age. While not all web apps rival their desktop counterparts, some clearly do. One solid example being online To-do apps with invoicing and project management apps also competent enough for a neck to neck fight.

We’ve compiled a list of 50 worthy web app alternatives to standalone desktop apps. Let’s take a look!


Panda Cloud Protection

Panda Cloud Protection

Panda Cloud Protection is a cloud based security solution, delivered in a SaaS model that provides complete protection services for the major threat vectors: endpoint, email and web.

  • Replaces: Conventional AV suites like McAfee, Norton, Kaspersky etc.
  • Requirements: An Internet Connection
  • Developer: Panda Security


LastPass

LastPass

LastPass is an online password manager which, with the help of your master password, remembers and stores all your passwords when you login to websites and facilitates — one click login after first use.

  • Replaces: KeePass, 1Password (Mac), Roboform etc.
  • Requirements: A modern web browser.


Google Docs

Google Docs

Google Docs is an online office suite made available for free by Google and is capable of word processing, spreadsheets, presentations & more.

  • Replaces: Microsoft Office & Open Office
  • Requirements: A modern web browser & a Google account.
  • Developer: List developer if you can find him/her


Splashup

Splashup

Splashup is a cloud based image editing tool with a great set of tools for image manipulation.

  • Replaces: Adobe Photosop, Gimp etc.
  • Requirements: Adobe Flash Player
  • Developer: Faux Labs, Inc.


Google Apps

Google Apps

Google Apps is an affordable enterprise communication suite complete with email, calenders, document editors and more.

  • Replaces: Microsoft Exchange Server
  • Requirements: A domain name


Gliffy

Gliffy

Gliffy is a web app that helps us create & share quality flow charts, complex diagrams or technical drawings.

  • Replaces: Microsoft Vizio


Instacalc

Instacalc

Instacalc is equipped with scientific functions & formulae and is a great replacement for the desktop app.

  • Replaces: The calculator app


faxZERO

faxZERO

With faxZERO you can send free faxes to USA & Canada and paid faxes across the globe.

  • Replaces: A fax machine
  • Developer: Savetz Publishing


Netvibes

Netvibes

Netvibes is the fastest way to keep in touch with your RSS subscriptions and to track your real time web.

  • Replaces: Feed demon, Net News Wire etc.


Meebo

Meebo

Meebo is a online multiple protocol chat app that does not need any introductions.

  • Replaces: Almost all chat clients.


Prezi

Prezi

Prezi is a great web app to create stunning & professional looking presentation material.

  • Replaces: Microsoft PowerPoint
  • Requirements: Adobe Flash Player
  • Developer: Prezi Inc.


Wufoo

Wufoo

Wufoo makes building forms and survey applications to collect data from users extremely simple.

  • Replaces: A lot of shareware apps & to an extent IDE’s.
  • Developer: Infinity Box Inc.


Evernote

Evernote

Evernote is the popular app of choice to jot down things on the fly.

  • Replaces: Microsoft OneNote.
  • Requirements: The dedicated desktop & mobile apps for ease of use.


PDFescape

PDFescape

Read, edit, fill forms and create PDF files with this amazing web app.

  • Replaces: Adobe Reader
  • Developer: CT Developing LLC.


Google Voice

Google Voice

After Google opened up international calling, the app has become the powerhouse of voice communication.

  • Replaces: Skype
  • Requirements: Google Voice Account which is available only to US residents.


World of Soltaire

World of Solitaire

A windows user never ever gets tired of this good game!

  • Replaces: Solitaire
  • Developer: Cosmic Realms


WebFTPer

WebFTPer

Upload files, change permissions, manage data all without having to leave the browser.

  • Replaces: SmartFTP, Transmit etc.


ScreenCastle

ScreenCastle

Record, share & stream your screenshots without having to download and install anything. ScreenCastle offers 8 different links to watch, embed and share with different image sizes.

  • Replaces: TechSmith Camtasia Studio
  • Requirements: Java


Talon

Talon

From the stable of the popular web app supermarket Aviary, comes the online screenshot taking app.

  • Replaces: TechSmith SnagIT
  • Requirements: A Firefox or Chrome Plugin for enhanced functionality.


SmugMug

SmugMug

Our editor’s favorite photo management app is a great choice for hobbyists & professionals alike.

  • Replaces: ACD See, Picasa Desktop etc.
  • Requirements: An account at SmugMug
  • Developer: SmugMug Inc.


PiratePad

PiratePad

PiratePad is a free online collaborative notepad for group discussion and code editing.

  • Replaces: WordPad, Tomboy etc
  • Developer: PiratPartiNet


vixy.net

vixy.net

vixy.net converts your video into FLV format optimized to be played in your portable media player. Preset settings are available for popular portable players.

  • Replaces: Handbrake
  • Developer: Farside Inc.


movavi

movavi

A great web app to convert multiple video files simultaneously into a variety of popular formats.

  • Replaces: Videora, Xilisoft Video Converter etc.


Miro Video Converter

Miro Video Converter

In addition to converting videos into a lot of popular video formats, Miro Video Converter can also convert files into the latest WebM format too.

  • Developer: Participatory Culture Foundation


HootSuite

HootSuite

Right from following your friends to monitoring a social marketing campaign, there is nothing impossible with this web app powered by HTML5.

  • Replaces: Tweetdeck
  • Requirements: A modern browser & social network accounts.
  • Developer: HootSuite Media Inc.


mindmeister

mindmeister

mindmeister is an upgrade to the good old napkin system to capture ideas. It’s also possible to export mind maps, edit with another app (desktop or web) and import the same for further edits.

  • Replaces: Mindomo, Simple Mind etc.
  • Developer: Meister Labs


Balsamiq

Balsamiq

Balsamiq is a simple & powerful web app to design UI prototypes & wireframes ideal for designers & developers.

  • Replaces: Denim, OmniGraffle
  • Developer: Balsamiq Studios LLC.


Kodingen

Kodingen

Kodingen is a web based Integrated Development Environment (IDE) that supports coding and version control of apps in a variety of top programming languages.

  • Replaces: Dreamweaver, Visual Studio.


Dabbleboard

Dabbleboard

A picture is worth a thousand words, and Dabbleboard lets you draw your ideas as pictures quickly. Others can also contribute to the idea on the board too.

  • Replaces: NotateIt
  • Developer: Dabbleboard Inc.


Piwik

Piwik

Piwik is a self hosted, open source (GPL licensed) real time web analytics software script which has the same set of features of Google Analytics.

  • Replaces: Woopra
  • Requirements: A web server


Oprius

Oprius

Oprius is a sales and contact Management Software web app that lets you can access your contacts from anywhere.

  • Replaces: Microsoft Outlook
  • Developer: Oprius Software Inc.


SugarCRM

SugarCRM

Available in both commercial and open source flavors, SugarCRM is a competent Customer Relationship Management solution.

  • Replaces: vTiger, Microsoft Dynamics CRM and more.
  • Requirements: A web server for the open source version.


OpenBravo

OpenBravo

OpenBravo is a web-based integrated Enterprise Management system for managing your business right from the Point of Sales to Warehouse Management.

  • Replaces: Microsoft Dynamics NAV, SAP
  • Requirements: A web server
  • Developer: Openbravo, S.L.U.


Liquid Planner

Liquid Planner

Liquid Planner is a project management web app known for its ability to make allowances for sliding estimates for tasks with inexact completion dates.

  • Replaces: Microsoft Project
  • Developer: Liquid Planner Inc.


Less Accounting

Less Accounting

Less Accounting is a great way to keep track of your expenses, income, invoicing and taxing needs. Less time spent on book keeping and more time to focus on your business.

  • Replaces: Quick Books
  • Developer: Less Everything


Less TimeSpent

Less TimeSpent

No more sticky notes and no more cluttered spreadsheets. LessTimeSpent tracks your work in real time, so no more over worked & underpaid hours.

  • Replaces: actiTime, Billings.
  • Developer: Less Everything


Magna CRM

Magna CRM

Magna CRM is a simple & intuitive on demand CRM solution to store business contacts, leads, opportunities in addition to scheduling & managing tasks.

  • Developer: OnClick Solutions Ltd.


Goplan

Goplan

Goplan lets you keep track of your projects and collaborate with your colleagues securely through an intuitive user interface & is used by famous companies like Mozilla & Boxee among others.

  • Replaces: Microsoft Project
  • Developer: Webreakstuff Lda.


TeuxDeux

TeuxDeux

TeuxDeux is a visually compelling and highly usable to-do app developed with the aim to reboot how contemporary Getting Things Done apps work.

  • Replaces: Things
  • Developer: swissmiss & Fictive Kin


Springpad

Springpad

Whether on your computer or smart phone, Springpad helps you remember stuff — places, websites, books, recipes, ideas, anything — all in one place so you can make better decisions.

  • Replaces: Bento
  • Requirements: List
  • Developer: Spring Partners


iClippy

iClippy

iClippy captures all your copy and cut operations & automatically copies them to the iClippy service. The web app can also capture from the screen and the scanner as well.

  • Replaces: Ditto, Presto.
  • Developer: iClippy LLC.


Photoshop.com

Photoshop.com

Edit, organize and share your photos with the Photoshop.com web app which with the familiar interface, is a close enough to be a light weight Photoshop. It’s free and comes with 1 GB free storage.

  • Replaces: Adobe Photoshop
  • Requirements: An Adobe ID
  • Developer: Adobe


Toodledo

Toodledo

For those of us who are procrastinators, Toodledo is a special tool that analyzes dates, priorities, time estimates, and other characteristics to create a customized schedule of the best use of your time.

  • Requirements: A Toodledo account


Zootool

Zootool

Zootool is a cool way to collect, organize and share your favourite images, videos, documents and links from all over the web.

  • Replaces: Desktop & browser based bookmark apps
  • Developer: OpenWe GmbH


Livemocha

Livemocha

Livemocha is the world’s largest online language learning community and offers intelligently designed learning programs designed by native speakers of the language you are interested in.

  • Replaces: Rosetta Stone


Cramberry

Cramberry

Cramberry helps you study with online flash cards. Cramberry analyzes your progress during the study and shows only the cards you need to study.

  • Replaces: Popling
  • Developer: Lateral Communications Inc.


CliffsNotes

CliffsNotes

Literature can be pretty boring. CliffsNotes’ guides present and explain literary and other works in a condensed & simple form online.

  • Developer: Wiley Publishing.


Toggl

Toggl

With Toggl, you can track time with a single click and switch easily between different tasks and create reports at the same time.

  • Developer: apprise


Mibbit

Mibbit

For long mIRC has been the chosen client to access the grand daddy of IM, the IRC (Internet Relay Chat). With Mibbit, there is no need to know the complex login and channel commands and even newbies can start using IRC in no time..

  • Replaces: mIRC
  • Developer: Mibbit Limited.


put.io

put.io

Put.io is a storage service that allows you to upload your medial files & and lets you stream them immediately as and when you please. You can use it to stream video, listen to your music and can also share your library with friends.


Air show Cape Town – with pictures

September 21, 2010

From 8:00 AM

CAVALCADE

(This is a bunch of aircraft flying together)

C212 SKYDIVERS

SILVER FALCONS

C130J & USA Skydivers

C47TP

HAWK

CASA 212

MIRAGE III CZ

A109

GRIPEN

C130

 

 

10:00

 

ROOIVALK

C17 GLOBEMASTER III

UH 72A LAKOTA

ANSAT HELICOPTER

BK117 FORMO

HARVARD Cell C 4Gs SPEED TEAM

C27J SPARTAN AIRLIFTER

WAR

 

 

12:50

 

PC7 “90″ FORMO

HH 60 PAVE HAWK

MIRAGE III CZ

A109 SOLO

C5 GALAXY

Zimbabwe K-8

CH 46 SEA HAWK

C47TP FORMO

CH 46 SEA KNIGHT

 

14:50

 

A109

CH 53 SEA STALLION

ROOIVALK

C47TP

GRIPEN

OH 58 KIOWA

HAWK

Silver falcons

 

Source of program is : http://www.aadexpo.co.za

 


Sending a email using telnet

September 16, 2010
  1. Find the server you want to send to

    Nslookup –q=mx <domain>

  2. Connect

Telnet <ip address of server you want to connect to> 25

Helo <hostname>

  1. Set the from field

    Mail from:<email address>

  2. Set where you want to send the email to

    Rcpt to:<email address>

  3. Create the message body

    data

    1. Press enter after the data
    2. If you want the email to have a subject then on the very first line after data type in Subject:<and the subject of your choice>
  4. End the email off with 2 enter’s and a full stop and then enter again.

Happy testing


Getting rid of “there was a problem sending the command to the program” without compromising security

June 3, 2010

Description of the problem:

You have a config file that you want to edit in Visual Studio. You don’t want to open the entire project, to just make a quick change, and you right click on the file, and select Open with Visual Studio. At that point you get this error message (noted above) and visual studio opens, but there is no sign of the file.

 

How thinking you are clever, almost always turn out to prove the opposite:

If you have the user account control fairly strict, then each time you open a web project, Visual Studio will tell you, that you should have launch Visual Studio as an administrator. So this is where I made a huge mistake. Thinking I was very smart, I went to the devenv.exe and set the administrator option on the files compatibility tab.

I figured, that way I will always run the development environment under the right credentials, right?

 

I was VERY wrong. The following is a screen shot of the Security tab, in process explorer of the Visual Studio launched with the compatibility set to Run as Administrator

So let’s compare that to the same screen shot, but of the Explorer process

 

So here is the interesting bit.

The explorer process launches visual studio with the security of the process set to DENY administrators any access. Then we try to launch visual studio in that context, but we say to the operating system, that whenever the devenv.exe process is launched it must always run as administrator. Keeping in mind that the DENY permission, always overrides all other permissions, no wonder there is problems for visual studio trying to open the file.

 

Fixing it without compromising the security of my system:

Undo where you fiddled with the system where you should not have fiddled in the first place.

Create a shortcut, and set the shortcuts properties to run as administrator. So know when you know you need to touch IIS and make changes, then you launch visual studio with your admin shortcut. All other times when you want to modify config files, you run under lower privileges, and you stay safe and secure.

So know I have been made humble again, and hopefully will respect the security of the system a bit better.

 


Follow

Get every new post delivered to your Inbox.