Skip to content

Instantly share code, notes, and snippets.

View meAbab's full-sized avatar

Concrete picture meAbab

View GitHub Profile
@meAbab
meAbab / cpp.std.coroutines.draft.md
Created May 17, 2019 18:51 — forked from MattPD/cpp.std.coroutines.draft.md
C++ links: Coroutines (WIP draft)
/* check here,
* hxxp://cebit.spoj.com/CEBIT/problem/CX
* is there anybody made more small than this one 248 bytes
*/
#include <stdio.h>
void main(){
int i,c=0;
for(i=1;i<=192;i++){ c++;
if ((c<=37||c>43)&&((c!=53)&&(c!=60)&&(c!=69)&&(c!=85)&&(c!=101)&&(c!=117)&&(c!=133)&&(c!=140))&&(c<=149||c>155)) printf(".");
@meAbab
meAbab / miceTrck.c
Created March 7, 2016 22:59
TrackingMouse_Mimicing
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <linux/input.h>
#include <time.h>
/**
* @file pngclnt_v2.c
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* This Program coded with notepad++,
* if you use gedit set TAB Width = 4.
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* This is a client program version-2
* which will send a command send from
* its server program. and receive command
/**
* @file IR-Transmitter.c
* Driver for Infrared Transmitter Sensor for RPI
*
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/kernel.h>
@meAbab
meAbab / KY-033_tracK.c
Last active February 18, 2016 10:45
ky-033 Line Tracking Sensor for Raspberry Pi
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/fs.h>
#include <asm/uaccess.h>
#define DEVICE_NAME "TracK"
#define CLASS_NAME "KY"