Skip to content

Instantly share code, notes, and snippets.

@chaim1221
chaim1221 / Cannot find module node-sass
Created February 25, 2015 22:21
Cannot find module node-sass
C:\temp1>npm -v
2.6.0
C:\temp1>node -v
v0.12.0
C:\temp1>node -p process.versions
{ http_parser: '2.3',
node: '0.12.0',
v8: '3.28.73',
@chaim1221
chaim1221 / chocolateyInstall.log
Created February 25, 2016 20:43
ensure => '6.8.8' (not working)
20160225-20:38:26 [DEBUG] Running 'Append-InstallLog' with chocoInstallLog:''
20160225-20:38:26 [CHOCO] ################################################################################
20160225-20:38:26 [CHOCO] # Going Chocolatey on 2016-02-25 20:38:26Z #
20160225-20:38:26 [CHOCO] ################################################################################
20160225-20:38:27 [DEBUG] Arguments: $command = 'upgrade'|$force=False
|$prerelease=False|$packageNames='all --noop'
|$source=''
|$version=''|$allVersions=False
|$overrideArguments=False|$InstallArguments=''
|$localonly=False|$verbosity=False|$debug=False|$quiet=False
@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
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

One possible pattern for using tabs:

// _ViewStart.cshtml
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
// _Layout.cshtml
@using MyApp.Helpers
<!DOCTYPE html> <!--etc-->
@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')
USE [MYDBNAME]
GO
CREATE PROC SearchAllTables
(
@SearchStr nvarchar(100)
)
AS
BEGIN
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:
> 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'.
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