Skip to content

Instantly share code, notes, and snippets.

[SWDevTools] C:\tfs\git\rti-bridge> git branch --all
remotes/origin/develop
remotes/origin/master
[SWDevTools] C:\tfs\git\rti-bridge> git checkout develop
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'
[SWDevTools] C:\tfs\git\rti-bridge> git status
On branch develop
$tfBildArtfct.Value.resource.downloadUrl | select-string -Pattern ".*file\:\/\/.*"
Error: SetUp failed for test fixture IntegrationTests.DataLoader.DataLoaderIntegrationTests
Error: SetUp : RabbitMQ.Client.Exceptions.BrokerUnreachableException : None of the specified endpoints were reachable
----> RabbitMQ.Client.Exceptions.ConnectFailureException : Connection failed
----> System.ArgumentNullException : Value cannot be null.
Parameter name: host
Error: at RabbitMQ.Client.ConnectionFactory.CreateConnection()
at DataServices.BusinessTier.RabbitMQ.Client..ctor(ConnectionSettings connectionSettings) in S:\TFS2015\1\s\DataServices\BusinessTier\RabbitMQ\Client.cs:line 50
at IntegrationTests.TestHelpers.OurLittleHelpers.QueueSweeper(String dataQueueName, String errorQueueName, String fileParserQueueName, String notifyQueueName, String validationQueueName, Boolean ifEmpty, Boolean ifUnused) in S:\TFS2015\1\s\DataServices\IntegrationTests\TestHelpers\OurLittleHelpers.cs:line 173
at IntegrationTests.DataLoader.DataLoaderIntegrationTests.TestFixtureSetUp() in S:\TFS2015\1\s\DataServices\IntegrationTes
> C:\tools\apache-maven-3.3.3\bin\mvn clean install
> choco install gradle
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
  behaviors that change state without prompting for confirmation. Start
  using it now in your automated scripts.
  For details on the all new Chocolatey, visit http://bit.ly/new_choco
The default install location has been changed to 'C:\ProgramData\chocolatey'.
import random
import math
RESULTS = [0,0,0,0,0,0,0,0,0,0,0,0]
def getNumber():
isDecimal = random.randint(0,1) == 1
numberToDisplay = random.randint(0, 100)
if isDecimal:
USE [MYDBNAME]
GO
CREATE PROC SearchAllTables
(
@SearchStr nvarchar(100)
)
AS
BEGIN
@chaim1221
chaim1221 / myFirst.py
Last active May 6, 2016 05:49
my first attempt at using python, tutoring, educational purposes, don't sue me, etc.
CANVAS_WIDTH = 640
CANVAS_HEIGHT = 480
from Gui import *
# draws a bullseye circle from yellow,green,cyan, and red in the center,
# a black circle, a green and blue vertical line, and a magenta square in the middle of the red circle in the bullseye
def part1():
canvas.line([[-100, -100], [-100, 100]], fill = 'green')
canvas.line([[100, 100], [100, -100]], fill = 'blue')

One possible pattern for using tabs:

// _ViewStart.cshtml
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
// _Layout.cshtml
@using MyApp.Helpers
<!DOCTYPE html> <!--etc-->
Feel free to post more here if you find them:
http://www.linux-kvm.org/page/BSD
https://lists.gnu.org/archive/html/qemu-discuss/2015-08/msg00024.html
@chaim1221
chaim1221 / chocolateyInstall.log
Created February 25, 2016 20:45
ensure => installed (working)
20160225-20:44:21 [DEBUG] Running 'Append-InstallLog' with chocoInstallLog:''
20160225-20:44:21 [CHOCO] ################################################################################
20160225-20:44:21 [CHOCO] # Going Chocolatey on 2016-02-25 20:44:21Z #
20160225-20:44:21 [CHOCO] ################################################################################
20160225-20:44:21 [DEBUG] Arguments: $command = ''|$force=False
|$prerelease=False|$packageNames=''
|$source=''
|$version=''|$allVersions=False
|$overrideArguments=False|$InstallArguments=''
|$localonly=False|$verbosity=True|$debug=False|$quiet=False