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 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 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 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 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 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 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 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 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" |
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
<link rel="stylesheet" href="https://comment.back.re/dist/iDisqus.min.css" /> | |
<script src="https://comment.back.re/dist/iDisqus.min.js"></script> | |
<div id="comment"></div> | |
var disq = new iDisqus('comment', { | |
forum: 'hampus-blog', | |
api: 'https://comment.back.re/api', | |
site: 'https://back.re', | |
mode: 1, | |
timeout: 3000, | |
init: true |
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
TITLE integer summation Program | |
; | |
; | |
; | |
; | |
INCLUDE Irvine32.inc | |
INTERGER_COUNT = 3 | |
.data | |
str1 byte "enter a signe integer:",0 |
NewerOlder