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
/** | |
* Adapted from: https://www.freertos.org/RTOS_Task_Notification_As_Binary_Semaphore.html | |
*/ | |
#include <stdio.h> | |
#include <pthread.h> | |
#include "FreeRTOS.h" | |
#include "semphr.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
/** | |
* Adapted from: https://www.freertos.org/RTOS_Task_Notification_As_Binary_Semaphore.html | |
*/ | |
#include <stdio.h> | |
#include <pthread.h> | |
#include "FreeRTOS.h" | |
#include "semphr.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
/** | |
* Adapted from: https://microcontrollerslab.com/freertos-binary-semaphore-tasks-interrupt-synchronization-u-arduino/ | |
*/ | |
#include <stdio.h> | |
#include <pthread.h> | |
#include "FreeRTOS.h" | |
#include "semphr.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
/** | |
* | |
* Adapted from: https://microcontrollerslab.com/create-mailbox-with-queues-using-freertos-arduino/ | |
* | |
*/ | |
#include <stdio.h> | |
#include <pthread.h> | |
/* Kernel includes. */ |
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 <pthread.h> | |
/* Kernel includes. */ | |
#include "FreeRTOS.h" | |
#include "task.h" | |
#include "timers.h" | |
#include "semphr.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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.4.48-gentoo Kernel Configuration | |
# | |
# | |
# Compiler: gcc (Gentoo 9.3.0-r1 p3) 9.3.0 | |
# | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=90300 |
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
import ast | |
func_h = """ | |
import socket | |
class Toroto: | |
def __init__(self): | |
self.quacks = 0 | |
def quack(self): |
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
import fcntl | |
import struct | |
import os | |
import errno | |
# https://github.com/firecracker-microvm/firecracker/blob/ebc15f2eacaa4c26782a05f8e0cebe4c47512553/src/vmm/src/default_syscalls/mod.rs#L64 | |
# https://gist.github.com/glacjay/585369#file-tun-ping-linux-py-L9 | |
TUNSETIFF = 0x400454ca | |
# https://chromium.googlesource.com/chromiumos/platform/flimflam/+/refs/heads/0.11.257.B90/tools/tap-test.c#101 |
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
apps.facebook.com | |
connect.facebook.net | |
facebook.com | |
fbcdn.com | |
fbsbx.com | |
fbcdn.net | |
graph.facebook.com | |
login.facebook.com | |
s-static.ak.facebook.com | |
static.ak.connect.facebook.com |
NewerOlder