Skip to content

Instantly share code, notes, and snippets.

View kamarton's full-sized avatar
👀

Márton Somogyi kamarton

👀
View GitHub Profile
@xenogew
xenogew / Dockerfile
Last active June 4, 2025 03:42
Example of PHP 8.4 Docker image install with MS SQL Server extensions
FROM php:8.4-fpm-bookworm
WORKDIR /application
ENV ACCEPT_EULA=Y
# Fix debconf warnings upon build
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBIAN_VERSION
# LEGACY packages that ever installed when last time research of PHP 7.4,
@0xjac
0xjac / private_fork.md
Last active June 17, 2025 20:41
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@heyalexej
heyalexej / pytz-time-zones.py
Created November 16, 2016 09:14
list of pytz time zones
>>> import pytz
>>>
>>> for tz in pytz.all_timezones:
... print tz
...
...
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active June 17, 2025 16:04
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname