This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import os | |
| import struct | |
| import sys | |
| class Chunk(): | |
| def __init__(self, chunk_type): | |
| self.chunk_type = chunk_type |
This file contains hidden or 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 "rwlock.h" | |
| #define RW_LOCK_STATE_NOT_WRITING (1UL << 0) | |
| void rw_lock_init(rw_lock_t *rwlock) { | |
| rwlock->write_lock = xSemaphoreCreateBinaryStatic(&rwlock->write_lock_buffer); | |
| xSemaphoreGive(rwlock->write_lock); | |
| rwlock->reader_count_lock = xSemaphoreCreateMutexStatic(&rwlock->read_count_lock_buffer); | |
| rwlock->reader_count = 0; | |
| rwlock->state = xEventGroupCreateStatic(&rwlock->state_buffer); |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import sys | |
| from OCC.Core.STEPControl import STEPControl_Reader | |
| from OCC.Core.IFSelect import IFSelect_RetDone, IFSelect_ItemsByEntity | |
| from OCC.Core import Tesselator | |
| input_file = sys.argv[1] | |
| output_file = sys.argv[2] |
This file contains hidden or 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
| ACTION=="bind", SUBSYSTEMS=="usb", RUN="/usr/local/sbin/libvirt-hotplug.py usb" |
This file contains hidden or 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
| obj-m += bar-write-test.o |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import pcbnew | |
| import os | |
| import math | |
| RESOLUTION = 1 | |
| EPSILON = 1e-4 | |
| def arc_to_trace(board, arc): |
This file contains hidden or 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
| console=ttyS2,1500000 root=/dev/mmcblk1p1 rw rootwait video=eDP-1:1920x1080@60 vga=current initcall_debug maxcpus=2 |
This file contains hidden or 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/arm64 5.6.0-rc6 Kernel Configuration | |
| # | |
| # | |
| # Compiler: aarch64-linux-gnu-gcc (Linaro GCC 7.4-2019.02) 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] | |
| # | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=70401 |
This file contains hidden or 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 <linux/module.h> | |
| #include <linux/init.h> | |
| #include <linux/fs.h> | |
| #include <linux/uaccess.h> | |
| #include <linux/platform_device.h> | |
| #include <linux/power_supply.h> | |
| #include <linux/workqueue.h> | |
| #include <linux/i2c.h> | |
| #include <linux/kernel.h> | |
| #include <linux/delay.h> |
This file contains hidden or 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
| net.netfilter.nf_conntrack_tcp_timeout_close = 10 | |
| net.netfilter.nf_conntrack_tcp_timeout_close_wait = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_established = 432000 | |
| net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_last_ack = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_max_retrans = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_syn_recv = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_syn_sent = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_time_wait = 30 | |
| net.netfilter.nf_conntrack_tcp_timeout_unacknowledged = 30 |
NewerOlder