Category: Programming
-
how to use jQuery
Add the highlighted code to the head section of your html file then change your JavaScript file to look something this, Naturally removing everything between the { and the } and replacing with whatever you want. That’s the basics, for more see jquery.com
-
Using CSS3 media elements
<link rel=”stylesheet” type=”text/css” media=”only screen and (max-device-width:480px)” href=”mobile.css” /> This will apply to any screen less than or equal to 480px You then create a mobile.css style sheet that contains all the formatting for your mobile web site.
-
Install the GUI on Windows Server 2012 Core install
From a PowerShell command line run, PS C:\>Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra then restart Thanks, Malcolm.
-
Joining a domain using Powershell
In its simplest form : PS C:\> add-computer -domainname contoso to see all the possible options use PS C:\>help add-computer
-
Use AS3 to Grab Exif Data From a JPG Image
Haven’t tried it yet, hope to as soon as my ActionScript skills are up to it. http://active.tutsplus.com/tutorials/actionscript/quick-tip-use-as3-to-grab-exif-data-from-a-jpg-image/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+flashtuts-summary+%28Activetuts%2B+Summary%29&utm_content=Google+Reader
-
Compile Blackberry Playbook Applications without using Flash Builder
Blackberry have some great info on how to develop applications for their new Playbook HERE but it uses Adobe Flash Builder. Which you have to purchase at a significant cost from Adobe. However there are alternatives. First, you’ll need to read the basics in THIS support form post. You’ll need the AdobeAIR SDK, the Blackberry…
-
Learn to program for the Blackberry Playbook with code samples. Intro.
I’m trying to teach myself ActionScript to be able to develop applications for the Blackberry Playbook. After a bit of a false start when I was tried jumping in at the deep end and trying to pull information out of a SQL Lite database, I decided that I should probably stop, go back to the…
-
Simple script to backup all SQL Server databases
[draft] DECLARE @name VARCHAR(50) — database name DECLARE @path VARCHAR(256) — path for backup files DECLARE @fileName VARCHAR(256) — filename for backup DECLARE @fileDate VARCHAR(20) — used for file name SET @path = ‘C:\Backup\’ SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112) DECLARE db_cursor CURSOR FOR SELECT name FROM master.dbo.sysdatabases WHERE name NOT IN (‘master’,’model’,’msdb’,’tempdb’) OPEN db_cursor FETCH NEXT…
-
How to list all the databases on a SQL server
You can list all the databases on a SQL server by running the following query. SQL> select name from sys.sysdatabases