This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define PAGE_SIZE ((size_t) 4096) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9113c3e8c51e302c6a47c62d640d1426f3fd8a7a Mon Sep 17 00:00:00 2001 | |
From: Valery Tolstov <testautomail@mail.ru> | |
Date: Fri, 6 Jan 2017 23:15:20 +0300 | |
Subject: [PATCH 1/9] Import lzfse code first time | |
--- | |
include/linux/lzfse.h | 102 +++++ | |
lib/Makefile | 1 + | |
lib/lzfse/Makefile | 3 + | |
lib/lzfse/lzfse_decode.c | 50 +++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b33a96616ee2154dd3fdb8fd1587486e1ad9fb86 Mon Sep 17 00:00:00 2001 | |
From: Valery Tolstov <testautomail@mail.ru> | |
Date: Mon, 2 Jan 2017 19:09:32 +0300 | |
Subject: [PATCH 1/2] Apply xbian lz4/lz4hc patch | |
--- | |
fs/btrfs/Makefile | 2 +- | |
fs/btrfs/compression.c | 2 + | |
fs/btrfs/compression.h | 2 + | |
fs/btrfs/ctree.h | 15 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- backend/pdf/ev-poppler.cc 2015-03-08 11:52:50.000000000 +0300 | |
+++ backend/pdf/ev-poppler-patched.cc 2015-08-04 19:12:48.000000000 +0300 | |
@@ -377,6 +377,23 @@ | |
return label; | |
} | |
+/* For some reason, cairo doesn't put this in the public header. */ | |
+typedef enum _cairo_lcd_filter { | |
+ CAIRO_LCD_FILTER_DEFAULT, | |
+ CAIRO_LCD_FILTER_NONE, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <unistd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Maybe useful in future | |
* native library for VK API [C] | |
* VKMusicDownloader (maybe auto-syncing with VK playlist) [Python] | |
Just for experience | |
* LFS package manager [C] | |
* Raytracer with most of physical effects (dispersion, interferention, etc.) [C] | |
* Any device driver for linux [C] | |
* Beautiful music player for Linux [C, GStreamer, Clutter] | |
* Toy compiler for x86/x64 target [C] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <dirent.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <pwd.h> | |
#include <shadow.h> | |
#include <crypt.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <termios.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
typedef int (*ifunc)(); | |
unsigned char icode[] = { 0x90, | |
0xB8, | |
0x00, 0x00, 0x00, 0x00, | |
0xC3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <netinet/in.h> | |
#include <netinet/ip.h> | |
#include <netinet/tcp.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> |
NewerOlder