I hereby claim:
- I am mrnonz on github.
- I am mrnonz (https://keybase.io/mrnonz) on keybase.
- I have a public key whose fingerprint is 70FB 5C74 AC56 37E0 6A36 62B3 61CC 5591 CF45 D6F9
To claim this, I am signing this object:
// | |
// main.c | |
// Radix_sort | |
// | |
// Created by Nontawat Numor on 8/19/2558 BE. | |
// Copyright (c) 2558 Nontawat Numor. All rights reserved. | |
// | |
#include <stdio.h> | |
void swap(int* a, int* b) { |
D [0-9] | |
L [a-zA-Z_] | |
H [a-fA-F0-9] | |
E [Ee][+-]?{D}+ | |
FS (f|F|l|L) | |
IS (u|U|l|L)* | |
%option noyywrap | |
%{ |
D [0-9] | |
L [a-zA-Z_] | |
H [a-fA-F0-9] | |
E [Ee][+-]?{D}+ | |
FS (f|F|l|L) | |
IS (u|U|l|L)* | |
%option noyywrap | |
%{ |
I hereby claim:
To claim this, I am signing this object:
version: '3' | |
services: | |
es1: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4 | |
container_name: es1 | |
environment: | |
cluster.name: "docker-cluster" | |
bootstrap.memory_lock: "true" | |
ES_JAVA_OPTS: "-Xms512m -Xmx512m" | |
TAKE_FILE_OWNERSHIP: "true" |
#!/bin/bash | |
find . -type f -name "*.png" -o -name "*.PNG" | xargs optipng -nb -nc | |
find . -type f -name "*.png" -o -name "*.PNG" | xargs advpng -z4 | |
find . -type f -name "*.png" -o -name "*.PNG" | xargs pngcrush -rem gAMA -rem alla -rem cHRM -rem iCCP -rem sRGB -rem time -ow | |
find . -type f -name "*.jpg" -o -name "*.JPG" | xargs jpegoptim -f --strip-all | |
## Log to file | |
# find . -type f -iname "*.png" -print0 | xargs -I {} -0 optipng -o5 -quiet -keep -preserve -log optipng.log "{}" |
# IP Spoofing protection | |
net.ipv4.conf.all.rp_filter = 1 | |
net.ipv4.conf.default.rp_filter = 1 | |
# Ignore ICMP broadcast requests | |
net.ipv4.icmp_echo_ignore_broadcasts = 1 | |
# Disable source packet routing | |
net.ipv4.conf.all.accept_source_route = 0 | |
net.ipv6.conf.all.accept_source_route = 0 |
bash <(curl -f -L -sS -k https://ngxpagespeed.com/install) \ | |
--nginx-version "{version}" \ | |
--dynamic \ | |
-a '--with-http_ssl_module | |
--with-http_realip_module | |
--with-http_dav_module | |
--with-http_gzip_static_module | |
--with-http_gunzip_module |
sudo apt-get update | |
sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 | |
sudo chmod +x /usr/local/bin/gitlab-runner | |
curl -sSL https://get.docker.com/ | sh | |
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash | |