Skip to content

Instantly share code, notes, and snippets.

View exustash's full-sized avatar
🏃‍♂️
new start!

Exuper O. exustash

🏃‍♂️
new start!
  • mikanolab
  • Paris
View GitHub Profile
@prologic
prologic / LearnGoIn5mins.md
Last active March 23, 2026 03:33
Learn Go in ~5mins
#!/usr/bin/env python
# Instantiate the Dispatcher
dispatcher = Dispatcher(
Client(),
'localhost:9091',
'http',
''
)
@caleb15
caleb15 / most_changed_roles.py
Created November 22, 2019 19:24
python script for aggregating changes by folder.
import re
# run ./git-most.sh > most.txt before this script
# adjust whitelist var if you only want to see changes to a certain filetype/file/path
most_changed_paths = {}
whitelist = '' # '.yml'
with open('most.txt') as f:
for line in f.readlines():
<?php
/**
* In this example, we'd use it like throw new FileNotFoundException($missingFileName)
* or throw new FileNotFoundException(sprintf("File not found")) or
* throw new FileNotFoundException(sprintf("File %s not found", $missingFileName))
* which quickly leads to non-uniform messages and hard-to-process/recover exceptions.
*
* Is it possible to perhaps send nice e-mail message?
*/
@ygrenzinger
ygrenzinger / CleanArchitecture.md
Last active March 20, 2026 21:07
Summary of Clean Architecture by Robert C. Martin

Summary of book "Clean Architecture" by Robert C. Martin

Uncle Bob, the well known author of Clean Code, is coming back to us with a new book called Clean Architecture which wants to take a larger view on how to create software.

Even if Clean Code is one of the major book around OOP and code design (mainly by presenting the SOLID principles), I was not totally impressed by the book.

Clean Architecture leaves me with the same feeling, even if it's pushing the development world to do better, has some good stories and present robust principles to build software.

The book is build around 34 chapters organised in chapters.

AD-XX: <TOPIC - short, concise summary>

  • Date: <DATE - when the decision was made>
  • Driver: <DRIVER - list a single person driving consenus and decision making>
  • Stakeholders: <STAKEHOLDERS - list all relevant stakeholders affected by this decision>
  • Status: [PROPOSED | DECIDED | SUPERSEDED]
  • Categories: <CATEGORIES - use a simple grouping to help organize the set of decisions (e.g. backend, payment, user management, ...)>
  • Outcome: <OUTCOME - once decided, provide a short summary of the decision outcome here>

Context

@Mikulas
Mikulas / Dockerfile
Last active March 11, 2022 12:34
Docker image PHP 7.1 alpine with extensions
FROM php:7.1-fpm-alpine
RUN apk add --update \
autoconf \
g++ \
libtool \
make \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install mysqli \

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@Chandler
Chandler / slack_history.py
Last active March 27, 2025 01:16
Download Slack Channel/PrivateChannel/DirectMessage History
print("UPDATE AUG 2023: this script is beyond old and broken")
print("You may find interesting and more up to date resources in the comments of the gist")
exit()
from slacker import Slacker
import json
import argparse
import os
# This script finds all channels, private channels and direct messages
@PurpleBooth
PurpleBooth / README-Template.md
Last active March 22, 2026 14:54
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites