Skip to content

Instantly share code, notes, and snippets.

View cengiz-io's full-sized avatar

Cengiz Can cengiz-io

View GitHub Profile
@cengiz-io
cengiz-io / sync-history.sh
Created October 24, 2023 10:10 — forked from jan-warchol/sync-history.sh
Synchronize history across bash sessions
# Synchronize history between bash sessions
#
# Make history from other terminals available to the current one. However,
# don't mix all histories together - make sure that *all* commands from the
# current session are on top of its history, so that pressing up arrow will
# give you most recent command from this session, not from any session.
#
# Since history is saved on each prompt, this additionally protects it from
# terminal crashes.

Keybase proof

I hereby claim:

  • I am cengiz-io on github.
  • I am cengizio (https://keybase.io/cengizio) on keybase.
  • I have a public key ASAiT3S6NR3oXFJ1PaugneHvNAXlHiOga0ZtONyv2i95aQo

To claim this, I am signing this object:

@cengiz-io
cengiz-io / esbbs.pas
Created July 29, 2022 15:23 — forked from ssg/esbbs.pas
ES BBS Intro
{ ES BBS Intro - 1995 }
{ Binary can be get at http://www.pouet.net/prod.php?which=55705 }
{$M $800,0,655360}
{$N-,E-,F+}
uses Strings,XBuf,XMode;
const
DKMS make.log for peak-linux-driver-8.10.2 for kernel 5.12.8-arch1-1 (x86_64)
Mon 31 May 11:52:48 +03 2021
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/var/lib/dkms/peak-linux-driver/8.10.2/build/driver'
***
*** Making pcan driver in chardev mode
***
*** Host OS Release=Arch Linux vX.Y.Z
*** Host machine kernel version=5.12.8-arch1-1
*** Driver kernel version=5.12.8-arch1-1 (5.12.8)
static const struct display_timing tianma_tm050rdzg03_timing = {
.pixelclock = { 29500000, 30000000, 50000000 },
.hactive = { 800, 800, 800 },
.hfront_porch = { 1, 40, 255 },
.hback_porch = { 88, 88, 88 },
.hsync_len = { 1, 48, 255 },
.vactive = { 480, 480, 480 },
.vfront_porch = { 1, 13, 255 },
.vback_porch = { 32, 32, 32 },
.vsync_len = { 3, 3, 255 },
[92673.289532] usb 1-1.1.3: new high-speed USB device number 14 using xhci_hcd
[92673.380346] usb 1-1.1.3: New USB device found, idVendor=1357, idProduct=0503, bcdDevice= 9.13
[92673.380360] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[92673.380366] usb 1-1.1.3: Product: P&E USB MULTILINK
[92673.380370] usb 1-1.1.3: Manufacturer: P&E Microcomputer Systems
[92673.380374] usb 1-1.1.3: SerialNumber: PEMC809D5
Bus 001 Device 015: ID 1357:0503 P&E Microcomputer Systems USB-ML-12 HCS08/HCS12 Multilink
U-Boot SPL 2020.07-00001-g9620ba937c-dirty (Aug 16 2020 - 02:55:53 +0300)
>>SPL: board_init_r()
using memory lx-lx for malloc()
spl_init
Selecting config 'imx6-rakun'Trying to boot from USB SDP
g_dnl_register: g_dnl_driver.name = usb_dnl_sdp
g_dnl_bind: gadget: 0x915b64 cdev: 0x18308390
usb_add_config: adding config #1 'usb_dnload'/18308440
g_dnl_do_config: configuration: 0x18308440 composite dev: 0x18308390
sdp_add: cdev: 18308390 gadget: 915b64 gadget->ep0: 915bbc
#include <stdlib.h>
struct node {
int data;
struct node* next;
};
static void reverse(struct node** head_ref) {
struct node* tmp_prev = NULL;
struct node* current = *head_ref;
import pyaudio
import wave
import sys
"""" ------------------------------------------------------------ """
""" ------------------------- RECORD ---------------------------- """
""" ------------------------------------------------------------- """
CHUNK = 1024
FORMAT = pyaudio.paInt16
İstanbul İli, Küçükçekmece Gölü - Sazlıdere Barajı - Terkos Gölü doğusunu takip eden güzergâhta yaklaşık 45 km uzunlukta, 20,75 m derinlikte ve 275 m genişlikte bir Kanal açılması için hazırlanan projeye ilişkin ÇED Raporuna aşağıdaki nedenlerle itiraz ediyorum.
Kanal İstanbul Projesi,
1- İstanbul’un yaşam destek sistemleri olan Kuzey Ormanları, su havzaları, su havzalarını besleyen su kaynakları, tarım ve mera alanları yok olacaktır,
2- İstanbul’un önemli su kaynaklarından biri olan Sazlıdere Barajı yok olacaktır,
3- Doğal yaşam alanları ve ekosistem bozulacaktır,
4- Doğal ve arkeolojik sit alanları, tabiat parkları, milli parklar vb. koruma alanları yok olacaktır,
5- Trakya’ya kadar tatlı suların beslediği tarım alanları yok edileceği için bölgede tarım ve hayvancılık yapılamaz hale gelecektir,
6- ÇED Raporuna göre 1.155.668.000 m3 olan kazı materyalinin taşınmasıyla bozulan ekosistem halkın sağlığını tehdit edecektir,
7- Üç aktif fay hattının geçtiği bölgeye nüfus ve yapılaşma baskısı yükleyerek af