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
#!/bin/sh | |
# Define variables | |
BR='スクショのoption peeraddrのアドレスをそのまま書く' # Remote IPv6 address | |
CE='スクショのCEを書く' # Local IPv6 address | |
IP4='スクショのIPv4アドレスを書く' # Local IPv4 address | |
PSID='スクショのPSIDを書く' # PSID | |
WANDEV='上記のifconfigで特定したインターフェース' # WAN interface | |
TUNDEV='gif0' # Tunnel interface name |
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 | |
def calc_ipv4_and_ports(prefix): | |
ruleprefix31 = { | |
0x240b0010: [106, 72], | |
0x240b0012: [14, 8], | |
0x240b0250: [14, 10], | |
0x240b0252: [14, 12], | |
0x24047a80: [133, 200], |
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
from ase.build import molecule | |
from ase.optimize import FIRE | |
from ase.vibrations import Vibrations | |
import time | |
def run_vibrational_analysis(atoms, calculator, calc_name, box_size=20.0, fmax=0.01, steps=500): | |
""" | |
Function to perform optimization, vibrational analysis, and print the summary. | |
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
import torch | |
from orb_models.forcefield import pretrained | |
from orb_models.forcefield.base import AtomGraphs | |
# 1. Load the Pretrained Model (choose one): | |
model = pretrained.orb_d3_v1() # Or another version like orb_d3_v1, etc. | |
# 2. Access the Core Model: | |
core_model = model.model # This is the MoleculeGNS instance |
This file has been truncated, but you can view the full file.
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
server=/0-100.com/114.114.114.114 | |
server=/0-6.com/114.114.114.114 | |
server=/00.net/114.114.114.114 | |
server=/000.link/114.114.114.114 | |
server=/00000.host/114.114.114.114 | |
server=/00042.com/114.114.114.114 | |
server=/00058.com/114.114.114.114 | |
server=/0006266.com/114.114.114.114 | |
server=/0007.net/114.114.114.114 |
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
import numpy as np | |
import warnings | |
class topsis: | |
a=None #Matrix | |
w=None #Weight matrix | |
r=None #Normalisation matrix | |
m=None #Number of rows | |
n=None #Number of columns | |
aw=[] #worst alternative | |
ab=[] #best alternative |
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
#For ASUS AC66u | |
#ID = ps | grep odhcp6c | |
odhcp6c -df -R -s /tmp/dhcp6c -N try -c 00030001708bcdcc8ec8 -FP 0:c8ec8 -r23 -r24 -r82 -r83 eth0 |
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
apt-get install -y git build-essential protobuf-compiler protobuf-c-compiler | |
autogen pkg-config\ | |
libtalloc-dev libreadline-dev libpam0g-dev libhttp-parser-dev libpcl1-dev \ | |
libgnutls28-dev libev-dev libprotobuf-c-dev libhttp-parser-dev libseccomp-dev gnutls-bin autoconf; | |
wget 'ftp://ftp.infradead.org/pub/ocserv/ocserv-0.11.8.tar.xz' | |
tar xvf ocserv*xz && rm oc*xz* | |
cd ocserv* | |
./configure --prefix=/usr --sysconfdir=/etc | |
make && make install |
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
user daemon | |
# PID file | |
pidfile /var/run/sniproxy.pid | |
resolver { | |
nameserver 114.114.114.114 | |
mode ipv4_first | |
} |
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
{ | |
"file": 1, | |
"format": 1 | |
}{ | |
"trackers": [ | |
{ | |
"url": "http://tracker.tfile.me:80/announce" | |
}, | |
{ | |
"url": "http://share.camoe.cn:8080/announce" |
NewerOlder