Skip to content

Instantly share code, notes, and snippets.

View torodebout's full-sized avatar
🎯
Focusing

Anas Douib torodebout

🎯
Focusing
  • 1337 - 42 Network
  • 15:59 (UTC +01:00)
View GitHub Profile
@mikesprague
mikesprague / weatherkit-condition-codes.ts
Last active August 15, 2025 19:25
WeatherKit condition codes
// WeatherKit REST API documentation lists `conditionCode` as a property returned for
// various DataSets and says it's an enumeration value
// (e.g. https://developer.apple.com/documentation/weatherkitrestapi/currentweather/currentweatherdata)
// but never says what the possible return values could be anywhere in the REST API docs
//
// The following was created from info in the Swift documentation: https://developer.apple.com/documentation/weatherkit/weathercondition
export interface ConditionCode {
code: string;
description: string;
@Daniyal-Javani
Daniyal-Javani / docker-compose.yml
Last active August 3, 2025 13:45
Laravel sail with phpMyAdmin
version: '3'
services:
laravel.test:
build:
context: ./vendor/laravel/sail/runtimes/8.0
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
image: sail-8.0/app
environment:
@drrost
drrost / leacks_cheker_ex.c
Last active March 19, 2025 15:07
Extended version of memory leaks checker. Shows the place where memory was allocated.
//
// Created by Rostyslav Druzhchenko on 05.09.2020.
//
#include <stdio.h>
#include <dlfcn.h>
#include <execinfo.h>
#include <string.h>
#include <stdlib.h>
@mferoc
mferoc / .editorconfig
Last active September 6, 2025 09:05
Config vscode environment for 42 school
root = true
[*]
indent_style = tab
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@ibqn
ibqn / setup.md
Created January 31, 2020 19:47
Setup VSCode with Live Server and a Docker container

Setup VSCode with Live Server and a Docker container

In this I will shortly describe how to setup

I used a docker-compose.yml file although I only created one container with no other dependencies. This works with a regular Dockerfile as well.

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active January 1, 2026 20:52
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example