To create a Table
create table risk_clos_rank(
id_num int IDENTITY(1,1) NOT NULL,
username nvarchar(100),
datetime_of_decision DATETIME
);
CREATE TABLE TheNameOfYourTable (
ID INT NOT NULL IDENTITY(1,1),
#!/bin/sh | |
# turn on fan for safety | |
echo "Enabling fan for safety..." | |
if [ ! -w /sys/kernel/debug/tegra_fan/target_pwm ] ; then | |
echo "Cannot set fan -- exiting..." | |
fi | |
echo 255 > /sys/kernel/debug/tegra_fan/target_pwm | |
echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable |
#!/bin/bash | |
HYPERTHREADING=1 | |
function toggleHyperThreading() { | |
for CPU in /sys/devices/system/cpu/cpu[0-9]*; do | |
CPUID=`basename $CPU | cut -b4-` | |
echo -en "CPU: $CPUID\t" | |
[ -e $CPU/online ] && echo "1" > $CPU/online | |
THREAD1=`cat $CPU/topology/thread_siblings_list | cut -f1 -d,` |
To create a Table
create table risk_clos_rank(
id_num int IDENTITY(1,1) NOT NULL,
username nvarchar(100),
datetime_of_decision DATETIME
);
CREATE TABLE TheNameOfYourTable (
ID INT NOT NULL IDENTITY(1,1),
sudo apt-get update | |
sudo apt-get install -y build-essential gdebi | |
mkdir -p ~/tmp | |
wget https://github.com/nomumu/Kinetic4RPiZero/releases/download/v_2017-10-15/rpi-zerow-kinetic_1.0.0-1_armhf.zip | |
unzip rpi-zerow-kinetic_1.0.0-1_armhf.zip | |
sudo gdebi rpi-zerow-kinetic_1.0.0-1_armhf.deb | |
sudo /opt/ros/kinetic/initialize.sh |
(Note : ces informations ont été compilées à partir de différentes sources anglaises/françaises)
Hello, Rust community!
My name is Hadrien and I am a software performance engineer in a particle physics lab. My daily job is to figure out ways to make scientific software use hardware more efficiently without sacrificing its correctness, primarily by adapting old-ish codebases to the changes that occured in the software and computing landscape since the days where they were designed:
#!/usr/bin/env python3 | |
import platform | |
PLATFORM = platform.system().lower() | |
GOOGLE = 'edge_tpu' | |
INTEL = 'ncs2' | |
NVIDIA = 'jetson_nano' | |
PI = 'raspberry_pi' | |
MAC = 'darwin' | |
IS_LINUX = (PLATFORM == 'linux') |
As of January 2020, Raspbian Stretch does not yet include any Python release newer than Python 3.5.x. This means we will have to build it ourselves, and here is how to do it.
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi | |
deb http://archive.raspberrypi.org/debian/ buster main | |
# Uncomment line below then 'apt-get update' to enable 'apt-get source' | |
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi |