This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

Posts Tagged ‘scripts’


Page 9 of 12« FirstNext3456789101112

Shell Scripts Part 2

Create a small shell script, testVar2.sh: testVar2.sh #!/bin/sh echo “testVar is: $testVar” testVar=”my shell script” echo “testVar is: $testVar” Now run the script: $ ./testVar2.sh testVar is: testVar is: my shell script testVar hasn’t been set to any value, so... (Continue reading)

Tagged with:         

Shell Scripts Part 1

Here is a simple shell script to start with, #!/bin/sh MY_MESSAGE="Hello World" echo $MY_MESSAGE This assigns the string “Hello World” to the variable MY_MESSAGE then echoes out the value of the variable. Note that we need the quotes around the... (Continue reading)

Tagged with:         

Right Click Context Menu In Flash Movie Simple Method

Customize right click menu in flash in a simple way. We will start off by creating an instance of the ContextMenu class and then hiding the default items in it on the main timeline. Our context menu instance will be called myMenu_cm. var myMenu_cm:ContextMenu... (Continue reading)

Tagged with:     

Custom Error Pages Using .htaccess

A Simple Method To Create Custom Error Pages The first use of the .htaccess file which I will cover is custom error pages. These will allow you to have your own, personal error pages (for example when a file is... (Continue reading)

Tagged with:         

Disabling right click menu using javascript Enhanced Version

This is an enhanced version of how to disable right click menu from a webpage. Simple just copy and paste this code <script LANGUAGE="JavaScript"> var message="Sorry this function is disabled." function clickIE4(){ if(event.button==2){ alert(message) return false}} function clickNS4(e){ if(document.layers||document.getElementById&&!document.all){ if(e.which==2||e.which==3){... (Continue reading)

Tagged with:         

Page 9 of 12« FirstNext3456789101112