Skip to content

Instantly share code, notes, and snippets.

View hco's full-sized avatar

Hans-Christian Otto hco

View GitHub Profile
addRequestIdToLogging(1234, () => {
console.log('Hello');
})
export const addRequestIdToLogging = function (
requestId: string,
fun: () => any
) {
// remember originals
FROM ubuntu:20.04
RUN apt-get update
RUN apt-get install -y curl sudo
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN sudo apt-get install -y nodejs
// ==UserScript==
// @name Gitlab check merge request force remove source branch.
// @match https://gitlab.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var pathname = window.location.pathname;
if (window.location.host == 'gitlab.com' && pathname.includes('/merge_requests/new')) {
const FunctionalElmar = ({setState, state}) => (
<army onClick={() => setState({name: 'Nicht Elmar'})}>
{state.name}
</army>
)
{
"name": "hco/phpcs-bug",
"authors": [
{
"name": "Hans-Christian Otto",
"email": "c.otto@suora.com"
}
],
"require": {
"friendsofphp/php-cs-fixer": "^2.13"
{
"name": "sh",
"version": "0.1.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@types/jquery": {
"version": "2.0.49",
"resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.49.tgz",
"integrity": "sha512-/9xLnYmohN/vD2gDnLS4cym8TUmrJu7DvZa/LELKzZjdPsvWVJiedsdu2SXNtb/DA7FGimqL2g0IoyhbNKLl8g=="
import '@storybook/addon-actions/register';
import '@storybook/addon-links/register';
declare module 'emojione' {
export function shortnameToImage(str: string): string;
export function shortnameToUnicode(shortname: string): string;
}
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "mrr-room-tablet"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
const ROOVE_URL = process.env.ROOVE_URL;
describe("Google", () => {
beforeAll(async () => {
await page.goto(ROOVE_URL);
});
console.log(ROOVE_URL);
console.log();
it("should display Login on Login Page", async () => {