Skip to content

Instantly share code, notes, and snippets.

View niftydevelopment's full-sized avatar

Demas Sinner niftydevelopment

  • Demas Development AB
View GitHub Profile
this.blockListwrapped$ = this.blockList$.pipe(take(1), map(_ => {
return _.map(b => {
return {
uppdragBlock: b,
snabbgranskningUrl: null
} as UppdragsModelWrapper;
});
}));
https://github.com/pramalin/quarkus-raspberry-pi/blob/master/index.md
https://github.com/fabric8io-images/run-java-sh
https://hub.docker.com/r/pramalin/getting-started
docker run -i --rm -p 8080:8080 pramalin/getting-started
************ Stop entering password **************
Stop entering your password:
let spawn = require('child_process').spawn;
let Promise = require('promise');
let path = require('path');
const gitCheck = () => {
return new Promise((res, rej) => {
console.log('git check');
http://activemq.apache.org/delete-inactive-destinations.html
http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html
@niftydevelopment
niftydevelopment / server.js
Created October 29, 2018 11:26
En enkel webbserver.
var express = require("express");
var app = express();
/* serves main page */
app.get("/", function(req, res) {
//res.sendfile('index_es5.html')
res.sendfile('index.html')
});
app.post("/user/add", function(req, res) {
sudo npm install serialport --unsafe-perm
mvn install -DskipTests
var Promise = require('promise');
var pgp = require('pg-promise')({
noWarnings: true,
capSQL: true // capitalize all generated SQL
});
var fs = require('fs');
let readTableData = require('./../disk/readTableData');
let types = ['F', 'KI', 'FE', 'S', 'TUT', 'ATUT', 'HEMS', 'AVLD', 'AVLEJD', 'UUSN', 'DF', 'TIN', 'ATIN'];
exports.generateSenrapporteradeHandelser = () => {
}
exports.generateHandelser = (nHandelser) => {
let hList = [];
const express = require('express')
const fs = require('fs');
const Promise = new require('promise');
exports.bootup = (mutateDataStuf) => {
return new Promise((resolve) => {
const app = express()