- Text Content Generator - http://idsgn.dropmark.com/107
- Favicon Generator - https://realfavicongenerator.net/
- Web Manifest Generator - https://app-manifest.firebaseapp.com/
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.tailorbrands.com/
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/
This file contains 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
[Unit] | |
Description=Connecting MySQL Client from Compute Engine using the Cloud SQL Proxy | |
Documentation=https://cloud.google.com/sql/docs/mysql/connect-compute-engine | |
Requires=networking.service | |
After=networking.service | |
[Service] | |
WorkingDirectory=/usr/local/bin | |
ExecStart=/usr/local/bin/cloud_sql_proxy -dir=/var/run/cloud-sql-proxy -instances=<INSTANCE_CONNECTION_NAME>=tcp:3306 | |
Restart=always |
This file contains 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
FROM node:8.9.4-alpine AS build_box | |
WORKDIR /app | |
COPY package*.json ./ | |
RUN NODE_ENV=dev npm install | |
COPY . /app | |
RUN npm run build | |
# Make final image | |
FROM node:8.9.4-alpine |
This file contains 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
#!/usr/bin/env sh | |
TITLE="DOCKER BUILDER SCRIPT" # script name | |
VER="1.4" # script version | |
ENV="0" # container environment (0 = development, 1 = production) | |
SKIP_BUILD="0" # (0 = with build process, 1 = bypass build process) | |
REMOVE_CACHE="0" # (0 = using cache, 1 = no-cache) | |
RECREATE_CONTAINER="0" # (0 = disable recreate container, 1 = force recreate container) | |
DAEMON_MODE="0" # (0 = disable daemon mode, 1 = running daemon mode / background) |
This file contains 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
# Boot into bootloader mode | |
>adb reboot bootloader | |
# Erase old boot, cache, system & userdata partitions | |
>fastboot erase boot | |
>fastboot erase cache | |
>fastboot erase system | |
>fastboot erase userdata | |
# IGNORE THIS COMMAND, IF YOU HAVE A CUSTOM RECOVERY INSTALLED AND WANT TO KEEP IT. |
Moved to git repository: https://github.com/denji/nginx-tuning
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
This file contains 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
#!/bin/bash | |
### Setup a wifi Access Point on Ubuntu 12.04 (or its derivatives). | |
### make sure that this script is executed from root | |
if [ $(whoami) != 'root' ] | |
then | |
echo " | |
This script should be executed as root or with sudo: | |
sudo $0 | |
" |
NewerOlder