Skip to content

Instantly share code, notes, and snippets.

View slamflipstrom's full-sized avatar

Sam Lindstrom slamflipstrom

  • United States
View GitHub Profile
@slamflipstrom
slamflipstrom / launch.json
Created January 30, 2018 00:04
bloom-forms debug mocha
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha Tests!",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"tests/helpers/virtual-dom.js",
"tests/inputsTest.js",
@slamflipstrom
slamflipstrom / eslintrc.json
Created January 18, 2018 19:57
ESLINT Config with Prettier changes
{
"env": {
"es6": true
},
"parser": "babel-eslint",
"extends": ["standard", "standard-react", "plugin:react/recommended"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"class-name-format": "off",
Establish function skeletons and begin porting
diff --git a/serverapps/Common/CrownPeakApp/App/cpPublishApp.cs b/serverapps/Common/CrownPeakApp/App/cpPublishApp.cs
index 4d80c322b..c75c0258c 100644
--- a/serverapps/Common/CrownPeakApp/App/cpPublishApp.cs
+++ b/serverapps/Common/CrownPeakApp/App/cpPublishApp.cs
@@ -710,6 +710,27 @@ namespace CrownPeakApp.App
tmpContentVarList.Add(ContentKey.Error, error);
dirtyContentVarList = Utils.DictionaryToKeyValueStringArray(tmpContentVarList);
}
@slamflipstrom
slamflipstrom / launch.json
Created September 15, 2017 16:55
Attach to Chrome Example launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"url": "<url of open browser tab>",
"webRoot": "${workspaceRoot}"
@slamflipstrom
slamflipstrom / launch.json
Last active September 14, 2017 22:08
V3 Debugging launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome V3",
"port": 9222,
"url": "https://dev-samlinstro.crownpeak.com/AdventGeneral/v3/#/content",
"sourceMapPathOverrides": {
@slamflipstrom
slamflipstrom / launch.json
Last active January 7, 2018 02:50
Vue launch.json for VScode Debugging
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*",
}
}
@slamflipstrom
slamflipstrom / launch.json
Last active September 13, 2017 15:48
Angular launch.json for VScode Debugging
{
"version": "0.2.0",
"configurations": [
{
"type": "Chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:4200",
"webRoot": "${workspaceRoot}/src"
}
@slamflipstrom
slamflipstrom / launch.json
Created September 10, 2017 20:55
React launch.json for VScode Debugging
{
"version": "0.2.0",
"configurations": [
{
"type": "Chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}/src"
}
From client: completions({"text":".","column":2,"line":1})
Completions: Returning global completions
To client: {"seq":0,"type":"response","request_seq":26,"command":"completions","success":false,"message":"stack frame not valid","body":{"error":{"id":2020,"format":"stack frame not valid","sendTelemetry":true}}}
From client: completions({"text":".s","column":3,"line":1})
Completions: Returning global completions
To client: {"seq":0,"type":"response","request_seq":27,"command":"completions","success":false,"message":"stack frame not valid","body":{"error":{"id":2020,"format":"stack frame not valid","sendTelemetry":true}}}
From client: completions({"text":".sc","column":4,"line":1})
Completions: Returning global completions
To client: {"seq":0,"type":"response","request_seq":28,"command":"completions","success":false,"message":"stack frame not valid","body":{"error":{"id":2020,"format":"stack frame not valid","sendTelemetry":true}}}
From client: completions({"text":".scr","column":5,"line":1})
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
# dir when ps opens
set-location c:\inetpub\wwwroot\v3\
# open this profile