public interface IName
{
/// <summary>Default property override</summary>
[System.Runtime.CompilerServices.IndexerName("_Item")]
object this[string key] { get; }
}
public class ImplNameCs : IName
{
View restartwwan.sh
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
#!/bin/sh -e | |
# | |
#Disable wwan | |
#echo 1-1 | sudo tee /sys/bus/usb/drivers/usb/unbind | |
uhubctl -l 1-1 -a 0 | |
rmmod cdc_mbim | |
rmmod cdc_wdm | |
rmmod cdc_ncm |
View start.sh
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
#!/bin/bash | |
# Filter and route on hostname using SNI | |
# https://github.com/Lochnair/xt_tls/issues/52 | |
# This creates iptables rules and ip rules to filter and route HTTPS traffic based on hostname in SNI field | |
# Some links on why packets might be droped, see rp_filter below | |
# https://serverfault.com/questions/934848/ip-rule-to-works-but-ip-rule-fwmark-fails-why | |
# https://serverfault.com/questions/932205/advanced-routing-with-firewall-marks-and-rp-filter | |
# https://serverfault.com/questions/816393/disabling-rp-filter-on-one-interface |
View start_wwan.sh
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
#!/bin/bash | |
# Connect a Raspberry Pi to LTE using MC7700 Mini PCI Modem with adapter to USB-C | |
sudo qmicli -d /dev/cdc-wdm0 -p --wds-stop-network | |
sudo cat /sys/class/net/wwan0/qmi/raw_ip | |
sudo ip link set dev wwan0 down | |
# Enable OS Raw IP Mode setting (not persistent) | |
sudo su -c "echo Y > /sys/class/net/wwan0/qmi/raw_ip" | |
sudo qmicli -d /dev/cdc-wdm0 -p --device-open-net="net-raw-ip|net-no-qos-header" --wds-start-network="ip-type=6" --client-no-release-cid |
View README.md
View dhcpd.conf
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
ddns-update-style none; | |
deny bootp; #default | |
authoritative; | |
include "/etc/dhcp/ipxe-option-space.conf"; | |
# GREEN (private network) | |
subnet 10.1.1.0 netmask 255.255.255.0 { | |
range 10.1.1.100 10.1.1.199; | |
option subnet-mask 255.255.255.0; |
View dnsmasq.conf
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
# Known working dnsmasq version 2.85 config for iPXE proxydhcp usage | |
# things to replace: | |
# * 10.1.1.0 - your subnet | |
# * eth0 - interface to listen on, or switch to bind-dynamic | |
# * 10.1.1.2 - your tftp server ip | |
# * http://gentoo.ipxe.se/boot.ipxe - script to run once inside iPXE | |
# Debug logging | |
log-debug |
View backup.sh
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 https://wiki.archlinux.org/title/Full_system_backup_with_tar | |
# -p, --acls and --xattrs store all permissions, ACLs and extended attributes. | |
# Without both of these, many programs will stop working! | |
# It is safe to remove the verbose (-v) flag. If you are using a | |
# slow terminal, this can greatly speed up the backup process. | |
#--exclude-from=$exclude_file | |
tar --exclude=/tmp/* --exclude=/var/tmp/* --exclude=/usr/portage/* --acls --xattrs --one-file-system -cpvf - . | xz -zvv -T3 -0 > file.xz | |
restore: | |
xz | tar --acls --xattrs --numeric-owner -xpf - |
View test.md
This is my documentation and projects for reverse enginering
Coltech EMT707CTL From Clas Ohlson artid: 36-2897
Some discussions I don't understand in Finnish
To open this one up you need a 3 pointed "Nintendo" screwdriver
Chips
- LM7805 5Volt standard regulator
- 0053 Rebranded ADE7753 with 3.579545MHz crystal
View ProMicroEn.ino
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 <SPI.h> | |
#define sSS 2 | |
#define sCLK 3 | |
#define sDOUT 4 | |
#define sDIN 5 | |
#define sZERO 7 | |
#define sCF 8 |
View bitcoinplace.js
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
// ==UserScript== | |
// @name PlacePaintBot | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Big Bitcoin logo on r/place. Final result- http://imgur.com/a/OXy65 | |
// @author mbarkhau, modified by random003 | |
// @match https://www.reddit.com/place?webview=true | |
// @grant none | |
// ==/UserScript== |
NewerOlder