Format:
Recent snippets matching tags of util
<# .COMPONENT NUPosh .SYNOPSIS Test if an Assembly (.dll) is already loaded. .DESCRIPTION Test if an Assembly of the same name is already loaded in the current runspace. Using the -PasThru parameter will return the AssemblyInfo object along with the boolean. .PARAMETER Name The file name of the Assembly.
33 Views
no comments
public static void SetDropDownToItemText(DropDownList ddl, string valueToSet) { int cnt = ddl.Items.Count; for (int idx = 0; idx < cnt; idx++) { if (ddl.Items[idx].Text == valueToSet) { ddl.SelectedIndex = idx; break;
24 Views
no comments
package juddiv3admin.juddiv3; /** * Abbreviations from <code>org.apache.juddi.query.util.FindQualifiers</code>. * @author Martynas */ public class FindQualifiersAbbreviations { public static final String AND_ALL_KEYS = "andAllKeys";
113 Views
no comments
# ------------------------------------------------------------------------------------------------- # InstallUtilPs.ps1 # # Wrapper around InstallUtil.exe. # ------------------------------------------------------------------------------------------------- # Script params param([switch]$u) # uninstall $dotNetRuntimeDir = [System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
335 Views
no comments
@echo off echo Clean System Trash, Please wait...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.chk del /f /s /q %systemdrive%\*.old del /f /s /q %systemdrive%\recycled\*.* del /f /s /q %windir%\*.bak
239 Views
no comments
//Generate an object like "window.location"(href,protocol,host,hostname,port,pathname,search,hash) //Or return false function fnConvertHref(href) { var pattern = /([a-z]+):\/\/([^\/:]+):?([\d]*)\/?([^?]*)\??([^#]*)#?([^#]*)/gi; if (pattern.test(href)) { return { 'href' : href, 'protocal' : RegExp.$1, 'host' : RegExp.$2 + RegExp.$3,
261 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
