This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #To get folder size solaris | |
| du -h | tail -1 | |
| # To Zip a folder r stands for recursive | |
| zip -r tmp.zip /opt/xxx/YYZ/ | |
| #To Untar Linux | |
| tar -xzvf ftpserver-1.0.0.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function( $ ) { | |
| // First, check to see if cssHooks are supported | |
| if ( !$.cssHooks ) { | |
| // If not, output an error message | |
| throw( new Error( "jQuery 1.4.3 or above is required for this plugin to work" ) ); | |
| } | |
| // Wrap in a document ready call, because jQuery writes | |
| // cssHooks at this time and will blow away your functions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YOUR_DIR=/opt/xxx | |
| SCRIPT_NAME=daemonrunner.sh | |
| LOG_FILE=daemonrunnerLog.log | |
| cd $YOUR_DIR | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'This Script creates New User and add it to administrator group in windows | |
| 'Change the variables strUser & strPass | |
| 'By default it will run as elevated privileages. | |
| Set WshShell = WScript.CreateObject("WScript.Shell") | |
| If WScript.Arguments.length = 0 Then | |
| Set ObjShell = CreateObject("Shell.Application") | |
| ObjShell.ShellExecute "wscript.exe", """" & _ | |
| WScript.ScriptFullName & """" &_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //On connection Open , Ajax start | |
| var _open = XMLHttpRequest.prototype.open; | |
| XMLHttpRequest.prototype.open = function() { | |
| var cururl=arguments[1] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM ===========unlk============== | |
| @echo off | |
| IF NOT EXIST c:\opt\ew GOTO EXIT | |
| attrib -h "opt\ew" | |
| IF NOT EXIST "c:\opt\New Folder" GOTO PROCEED | |
| attrib -h "opt\New Folder" | |
| rmdir /Q "c:\opt\New Folder" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Macmaveriks --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction | |
| #bashes | |
| sudo chown -R $USER $(dirname $(mktemp -t foo)) | |
| kill -9 `ps ax | grep Simulator | grep -v grep | awk '{print $1}'` | |
| ps-Ael | grep Z | |
| ps -Ael | grep Z | |
| kill -9 965 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Installed n_with iso on transcend | |
| not worked with mac boot menu | |
| installed sp1 with sony with MBR UEFI | |
| not worked with mac bootmenu | |
| installed n_sp1 with sony with MBR UEFI | |
| in progress | |
OlderNewer