This file contains 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
public static class Helpers | |
{ | |
public static XPathNavigator? GetMemberXmlNode(List<XPathDocument> documents, string memberName) | |
{ | |
var path = $"/doc/members/member[@name='{memberName}']"; | |
foreach (var document in documents) | |
{ | |
var node = document.CreateNavigator().SelectSingleNode(path); | |
if (node != null) |
This file contains 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
$directory = "TO_BE_SET" | |
$fileFilter = "TO_BE_SET" | |
$tableOrder = ` | |
@{ ` | |
Expression = {[System.Diagnostics.FileVersionInfo]::GetVersionInfo($_.FullName).ProductVersion.ToString()}; ` | |
Descending = $False}, ` | |
@{ ` | |
Expression = {$_.Name}; ` | |
Descending = $False} |
This file contains 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
#!/bin/sh | |
# Get parameters | |
git_repository_path=$1 # Path to the Git repository that is used for the backup (local) | |
git_remote_path=$2 # Path of the Git remote that is used for the backup (external) | |
# Add files to Git index and create commit | |
(cd $git_repository_path && | |
git add . && | |
git commit -m "Automated commit by git-backup" --quiet 1> /dev/null) |
This file contains 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
/************************************************************************************************************ | |
Inspired by: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=84331 | |
Created By: Bryan Massey | |
Created On: 3/11/2007 | |
Updated By: Dimitri Vranken | |
Updated On: 21/01/2016 | |
Explanation: | |
1) Queries system tables to retrieve table schema for @TableName parameter. |
This file contains 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
$path = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition | |
$maximumDirectoryDepth = 3 | |
$excludedDirectories = @() | |
$directoryDepth = 0 | |
$repositoriesUpdated = 0 | |
function Get-IsSvnRepository($path) { | |
svn info $path > $null 2>&1 |
This file contains 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
@0 | |
MOV RIGHT, DOWN | |
@1 | |
MOV UP, LEFT | |
@2 | |
@3 |
This file contains 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
@echo off | |
:setup | |
color 0a | |
C: | |
cd \ | |
:execute | |
tree |
This file contains 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
@echo off | |
setlocal ENABLEDELAYEDEXPANSION | |
:setup | |
color 02 | |
:execute | |
set line= | |
for /L %%i in (1,1,80) do ( | |
set /a "number=!random! &1" |
This file contains 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
' Variables | |
Dim waitTimeForStartMinimum | |
Dim waitTimeForStartMaximum | |
Dim waitTimeBetweenEjectAndInsertMinimum | |
Dim waitTimeBetweenEjectAndInsertMaximum | |
Dim waitTimeBetweenInsertAndEjectMinimum | |
Dim waitTimeBetweenInsertAndEjectMaximum |
This file contains 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
app.filter('orFilter', function () { | |
return function (objects, properties, comparator) { | |
if (!objects|| objects.length === 0) { | |
return []; | |
} | |
if (!properties || properties.length === 0) { | |
return []; | |
} | |
if (!comparator || comparator.trim() === '') { | |
return objects; |