This guide uses rsync
and SSH Agent Forwarding to securely and efficiently copy folders between two servers.
Use this when you can SSH into the source server.
- On Your Local PC (Prep Agent): Load the key for the destination server.
This guide uses rsync
and SSH Agent Forwarding to securely and efficiently copy folders between two servers.
Use this when you can SSH into the source server.
import jax | |
import jax.numpy as jnp | |
jax.config.update("jax_default_device", jax.devices("cpu")[0]) | |
#runs on cpu | |
long_vector = jnp.arange(int(1e7)) | |
%timeit jnp.dot(long_vector, long_vector).block_until_ready() | |
jax.config.update("jax_default_device", jax.devices("gpu")[2]) |
import wandb | |
wandb.init(id="31cnstm6", project="test", resume="must") | |
wandb.log({"this was added later": 1241241}) |
for f in "$@" | |
do | |
/usr/local/bin/pngquant 32 --skip-if-larger --strip --ext=.png --force "$f" | |
/usr/local/bin/zopflipng -y "$f" "$f" | |
/Users/ramith/Documents/ss/impbcopy "$f" | |
done |
on run {input, parameters} | |
do shell script "open /Users/ramith/Documents/SEM4_TRONIC_ACA" | |
return input | |
end run |
num=[0.9955 -1.8936 0.9955]; | |
den=[1 -1.8936 0.9911]; | |
zplane(num,den) | |
grid on; | |
%freqz(num,den,100); |
close all; | |
clear all; | |
load('noisy_ECG_sig.mat') | |
y=noisy_ECG_sig; %the signal loaded | |
L=length(y) | |
sampling_freq = 1000 | |
figure; % plot the original signal |
import math | |
arr=[] | |
#this is for prime | |
def isprime(k): | |
if(k==1 or k==0): | |
return 0 | |
for i in range(2,int(k**(0.5))+1): | |
if(k%i==0): |