>>> docker exec -it CONTAINERID /bin/sh
/app # telnet
/bin/sh: telnet: not found
/app # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import crypto from 'crypto' | |
import parseSignedRequest from './parseSignedRequest.mjs' | |
import { instance as fileStorage } from '../ConfirmingFileStorage.mjs' | |
import { getLogger } from '../logger.mjs' | |
import { toAbsoluteUrl } from '../util.mjs' | |
const logger = getLogger('deletionEndpoint') | |
export function registerHandles (app) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const mongoose = require("mongoose"); | |
const jwt = require("jsonwebtoken"); | |
const { jwtkey } = require("../keys"); | |
const { jwtkeyForgotPass } = require("../keys"); | |
const _ = require("lodash"); | |
const router = express.Router(); | |
const User = mongoose.model("User"); | |
const requireToken = require("../middleware/requireToken"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Maven projet and deploy on Kube | |
on: [push, pull_request] | |
env: | |
GKE_PROJECT: ${{ secrets.GKE_PROJECT }} | |
GKE_CLUSTER: java-hello-world-cluster | |
GKE_ZONE: us-central1-f | |
IMAGE: java-hello-world |
I created a new htaccess generator for angular apps that makes it easier for you to create the optimal htaccess file: https://julianpoemp.github.io/ngx-htaccess-generator/
The goal of this generator is to create the optimal .htaccess file for Angular apps easily. By default the generator creates an .htaccess file that solves the route redirection issue. To make it easier for you I created a kind of interview mode with some questions. As an additional feature the generator supports adding exclusions for example if you have installed a blog in a subdirectory of your web application and more!
The generator 😁: https://julianpoemp.github.io/ngx-htaccess-generator/
The project: https://github.com/julianpoemp/ngx-htaccess-generator