Skip to content

Instantly share code, notes, and snippets.

View murmurlab's full-sized avatar
:octocat:
Hiçbir şey yokken hiçbir şey var, karanlıklardan doğar aydınlıklar.

murmurabilis murmurlab

:octocat:
Hiçbir şey yokken hiçbir şey var, karanlıklardan doğar aydınlıklar.
View GitHub Profile
@murmurlab
murmurlab / pipe_sequenced.c
Created May 6, 2024 08:33
an example piping but sequentially
#include <unistd.h>
#include <string.h>
#include <sys/wait.h>
#include <stdio.h>
typedef struct s_ms {
int _,
start,
pipes[2][2],
redirect[2],
@murmurlab
murmurlab / gist:9f7181b70fe21fa5b880d87d282a263c
Last active February 20, 2024 12:03
seeing netpractice
document.body.setAttribute("style", "background-image: unset; background: #424242")
@murmurlab
murmurlab / keybinding.json
Last active September 17, 2024 02:06
vscode pro shortcuts ;)
[
{
"key": "ctrl+o",
"command": "-lineBreakInsert",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+o",
"command": "cursorLineEnd",
"when": "textInputFocus"
@murmurlab
murmurlab / colemakmod.keylayout.xml
Last active September 28, 2024 05:05
tenfingers for vscode on macos
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<!--
Data generated Sun Oct 8 03:52:52 2023
Generated by kluchrtoxml_64 build 203
-->
<!--Last edited by Ukelele version 359 on 2023-10-08 at 04:45 (GMT+3)-->
@murmurlab
murmurlab / line_algo.c
Created August 7, 2023 23:15
drawing line algorithm in clang
#include "minilibx_macos/mlx.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
typedef struct g_game
{
void *mlx_p;
void *win_p;