>>> 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]
============ Este post se encuentra publicado en https://pybaq.co/blog/el-zen-de-python-explicado/ ===========
Si alguna vez abren la consola de python y escriben import this
verán que les aparecerán las líneas con el famoso Zen de Python:
- Beautiful is better than ugly.
- Explicit is better than implicit.
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
Commands, questions and easter eggs for Amazon Alexa enabled devices: https://ugotsta.github.io/alexa-cheats/
- "Alexa, stop."
- "Alexa, volume one/six/ten."
- "Alexa, turn up/down the bass/treble."
- "Alexa, mute."
- "Alexa, unmute."
- "Alexa, repeat."
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.io.IOException; | |
import java.nio.file.*; | |
public class FileWatcher { | |
private static final Logger log = LoggerFactory.getLogger(FileWatcher.class); | |
private Thread thread; |
> tsc --lib es2016,dom --experimentalDecorators true --emitDecoratorMetadata true lazy.module.ts |
import websocket | |
import thread | |
import time | |
import sys | |
port = sys.argv[1] | |
def on_message(ws, message): |
# Copyright 2017, Google, Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License") | |
FROM node:6-onbuild | |
EXPOSE 3000 | |
ENV LANGUAGE English | |
ENV API_KEY 123-456-789 |
import time | |
import json | |
import gevent | |
from uuid import uuid4 | |
from locust import HttpLocust, TaskSet, task, ResponseError, events, Locust | |
import websocket | |
class SocketClient(object): |