Skip to content

Instantly share code, notes, and snippets.

View zlepper's full-sized avatar

Rasmus Hansen zlepper

View GitHub Profile
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Update;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using PocPerf.EfOverrides;
namespace PocPerf
{
import { Rules, RuleWalker } from 'tslint';
import * as Lint from 'tslint';
import { SourceFile, ClassDeclaration, SyntaxKind, FunctionExpression } from 'typescript';
const DESTROY_HOOK_NAME = 'ngOnDestroy';
export class Rule extends Rules.AbstractRule {
public static FAILURE_STRING = 'SubSinkService not destroyed. This will likely cause a subscription leak.';
public apply(sourceFile: SourceFile): Lint.RuleFailure[] {
2019/10/14 18:46:02 [INFO] Terraform version: 0.12.10
2019/10/14 18:46:02 [INFO] Go runtime version: go1.12.9
2019/10/14 18:46:02 [INFO] CLI args: []string{"C:\\bin\\terraform.exe", "apply"}
2019/10/14 18:46:02 [DEBUG] Attempting to open CLI config file: C:\Users\Rasmus\AppData\Roaming\terraform.rc
2019/10/14 18:46:02 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/14 18:46:02 [INFO] CLI command args: []string{"apply"}
2019/10/14 18:46:02 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/10/14 18:46:02 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/10/14 18:46:02 [DEBUG] New state was assigned lineage "e012a6d5-2113-30d4-666d-da4b32965a8a"
2019/10/14 18:46:02 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
var gulp = require('gulp'),
path = require("path"),
gutil = require('gulp-util'),
uglify = require("gulp-uglify"),
ts = require("gulp-typescript"),
tsClientProject = ts.createProject("source/javascript/tsconfig.json"),
tsElectronProject = ts.createProject("source/app/tsconfig.json"),
bowersource = "bower_components/",
jshint = require('gulp-jshint'),
Updating service [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [13] Timed out when starting
VMs. It's possible that the application code is unhealthy. (0/1 ready, 1 still
deploying).
aedeploy: Error: unable to run "gcloud preview app deploy app.yaml --promote": e
xit status 1
PWM
; Pulse width modulation
BANKSEL TRISA ; Set bank
BSF TRISA,5 ; Disable the PWMx pin output driver(s) by setting the associated TRIS bit(s)
BANKSEL PWM5CON ; Set bank
BCF PWM5CON,PWM5POL ; Configure the PWM output polarity by configuring the PWMxPOL bit of the PWMxCON register.
; Load the PR2 register with the PWM period value
BANKSEL PR2 ; Set bank
var fs = require("fs");
var helpers = require("./helpers");
var readline = require("readline");
var path = require("path");
var adjectives = [];
var nouns = [];
function loadData() {
"use strict";
{
"message": "The request is invalid.",
"modelState": {
"": [
"Name bla2@bla.bla is already taken.",
"Email 'bla2@bla.bla' is already taken."
]
}
}
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"