Skip to content

Instantly share code, notes, and snippets.

View vitalyvch's full-sized avatar

Vitalii Chernookyi vitalyvch

View GitHub Profile
@vitalyvch
vitalyvch / clamp.c
Created May 25, 2020 15:28
clamp.c
unsigned char clamp(int i)
{
switch(i) {
case -255: return 0;
case -254: return 0;
case -253: return 0;
case -252: return 0;
case -251: return 0;
case -250: return 0;
case -249: return 0;
@vitalyvch
vitalyvch / NoScript-Whitelist
Created December 4, 2017 14:55
NoScript-Whitelist
abine:
about:
blob:
chrome:
data:
ftp:
sftp:
telnet:
resource:
unmht:
@vitalyvch
vitalyvch / ErrLog-4.4-1.txt
Created February 24, 2017 18:20
ErrLog-4.4-1.txt
This file has been truncated, but you can view the full file.
INFO:check_bpf_jit_status: ENABLED.
>>>>> Generated eBPF code <<<<<
/*
* Copyright 2016-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
@vitalyvch
vitalyvch / ErrLog-4.8-1.txt
Created February 24, 2017 18:19
ErrLog-4.8-1.txt
This file has been truncated, but you can view the full file.
INFO:check_bpf_jit_status: ENABLED.
>>>>> Generated eBPF code <<<<<
/*
* Copyright 2016-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
#!/bin/bash -x
#
# Copyright 2014-2016, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.