I hereby claim:
- I am ruohki on github.
- I am ruohki (https://keybase.io/ruohki) on keybase.
- I have a public key ASBUw7zxvY8pAx8NKuz6klwfJ5DmYX4R7sayy_CeMXwwewo
To claim this, I am signing this object:
zrdz |
//app/adapters/application.js | |
import JSONAPIAdapter from 'ember-data/adapters/json-api'; | |
export default JSONAPIAdapter.extend({ | |
namespace: 'api', | |
host: 'https://community-ruohki.c9users.io' | |
}); |
this.get('session').authenticate(authenticator, credentials) | |
.then(() => { | |
this.transitionToRoute('protected'); | |
}) | |
.catch((reason) => { | |
this.set('errorMessage', reason.message); | |
}); |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |
declare function isValid(array() as integer, number as integer) as byte | |
randomize timer | |
dim zahl as integer | |
dim i as integer | |
dim Zahlen(1 to 4) as integer | |
dim zaehler as integer |
I hereby claim:
To claim this, I am signing this object:
Microsoft Windows [Version 10.0.16299.15] | |
(c) 2017 Microsoft Corporation. Alle Rechte vorbehalten. | |
C:\Windows\system32>@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
Getting latest version of the Chocolatey package for download. | |
Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.8. | |
Extracting C:\Users\userxxx\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\userxxx\AppData\Local\Temp\chocolatey\chocInstall... | |
Installing chocolatey on this machine | |
Creating ChocolateyInstall as an environment variable (targeting 'Machine') | |
Setting ChocolateyInstall to 'C:\ProgramData\chocolatey' |
Chocolatey v0.10.8 | |
Chocolatey is running on Windows v 10.0.16299.0 | |
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". | |
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". | |
Command line: "C:\ProgramData\chocolatey\choco.exe" install meteor --debug --verbose | |
Received arguments: install meteor --debug --verbose | |
RemovePendingPackagesTask is now ready and waiting for PreRunMessage. | |
Sending message 'PreRunMessage' out if there are subscribers... | |
[Pending] Removing all pending packages that should not be considered installed... | |
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type |
const MongoClient = require('mongodb').MongoClient; | |
const _ = require('lodash') | |
const { parseString } = require('xml2js') | |
const fetch = require('node-fetch') | |
const moment = require('moment') | |
const MONGO_URL = "mongodb://XXX"; | |
const XML_URL = "http://www.erfurt.de/sve/pls/info_v1.xml"; |
enum UserRoleEnum { | |
ROOT | |
ADMIN | |
USER | |
} | |
directive @isAuthenticated(role: UserRoleEnum = USER) on FIELD_DEFINITION | OBJECT | |
.... |