Skip to content

Instantly share code, notes, and snippets.

View ilammy's full-sized avatar
ceptionally ❎ arismatic

Oleksii Lozovskyi ilammy

ceptionally ❎ arismatic
View GitHub Profile
@ilammy
ilammy / gmail_monospace_plaintext.css
Created December 26, 2014 20:52
Monospace Gmail Plaintext extension for Chrome
/* Message body and compose interface */
.ii, .Ak, .editable {
font-family: monospace !important;
font-size: 100% !important;
}
@ilammy
ilammy / Makefile
Created April 5, 2015 18:31
Linux kernel system call table hooking
obj-m += afw.o
afw-objs := afw_main.o locate_sct.o ttgl.o
ccflags-y := -std=gnu99 -O2
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
@ilammy
ilammy / crash.c
Created November 24, 2018 19:10
Example code for Secure Comparator crash with BoringSSL
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <themis/themis.h>
static void append_secret(secure_comparator_t *comparator, const char *secret,
const char *name)
{
themis_status_t status;
@ilammy
ilammy / keybase.md
Last active November 30, 2019 20:40
Keybase proof

Keybase proof

I hereby claim:

  • I am ilammy on github.
  • I am ilammy (https://keybase.io/ilammy) on keybase.
  • I have a public key whose fingerprint is 2820 EB47 2F19 8B25 C272 5314 5F33 8CB3 B720 3B42

To claim this, I am signing this object:

@ilammy
ilammy / scan_pollen_repos.sh
Created June 12, 2021 07:17
Scanning GitHub for repos with Pollen files in them
#!/usr/bin/env bash
#
# Scan GitHub for repositories with Pollen files.
#
# Environment variables:
#
# GITHUB_USER GitHub username
# GITHUB_TOKEN Personal access token on GitHub with "public_repo" scope
set -ueo pipefail