Skip to content

Instantly share code, notes, and snippets.

View tikolakin's full-sized avatar
:octocat:
}</>

Tiko tikolakin

:octocat:
}</>
View GitHub Profile
@tikolakin
tikolakin / curl_code_check.sh
Created February 22, 2018 15:13
check status code with curl
#!/bin/bash
while true
do
STATUS=$(curl -s -o /dev/null -w '%{http_code}' http://www.google.com)
if [ $STATUS -eq 200 ]; then
echo "Got 200! All done!"
break
else
echo "Got $STATUS :( Not done yet..."
@tikolakin
tikolakin / NAV1-101044326
Last active August 3, 2018 15:30
fWhxuHEXvN
{
"mode": "fpm-fcgi",
"geoip_country": "GB",
"country": "US",
"client_ip": "46.119.157.132",
"session_id": "up53he17kq26oojv5u4v884ec6",
"timestamp": "2018-08-03T15:29:15+00:00",
"message": "",
"priority": 7,
"priorityName": "DEBUG",
{
"DE": {
"special chars": "ÄäÖöÜüẞß"
},
"ES": {
"special chars": "áéíóùü"
}
}
@tikolakin
tikolakin / README.md
Created August 23, 2023 13:16 — forked from corlaez/README.md
Hexagonal Architecture and Modular Implementation

Hexagonal Architecture

Conceptualized by Alistair Cockburn. Also known as "Ports and Adapters".

In a nutshell:

Application Driver -> Primary Adapter -> Primary Port -> Use Case -> Secondary Port -> Secondary Adapter -> External System/Side Effect