- On your device with access to the network, download the package and its requirements:
pip install <package> --download=<download-directory> --no-binary=:all:
or
pip download <package>
#Requires AutoHotkey v2.0 | |
; Prevent hotkeys from triggering themselves | |
#UseHook | |
^`:: { | |
ControlSend("^``", WinActive("A")) | |
} |
#include <stdlib.h> // card > cjg.ppm | |
#include <stdio.h> | |
#include <math.h> | |
typedef int i;typedef float f;struct v{ | |
f x,y,z;v operator+(v r){return v(x+r.x | |
,y+r.y,z+r.z);}v operator*(f r){ return | |
v(x*r,y*r,z*r);}f operator%(v r){return | |
x*r.x+y*r.y+z*r.z;}v(){}v operator^(v r | |
){return v(y*r.z-z*r.y,z*r.x-x*r.z,x*r. | |
y-y*r.x);}v(f a,f b,f c){x=a;y=b;z=c;}v |
#!/usr/bin/env python | |
from __future__ import print_function | |
import json | |
import os | |
import sys | |
# User Variables | |
TYPE = "release" # "release" or "snapshot" | |
JAR_NAME = "{version}.jar" | |
LINK_NAME = "server.jar" |
[Unit] | |
Description=My service | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/python3 -u example.py | |
WorkingDirectory=/home/user/example/ | |
Restart=always | |
User=username |
sudo rpi-update
sudo reboot
Note: this may enable the Predictable Network Interface Names settings.
# Text color - normal | |
fgblack="$(tput setaf 0)" # Black | |
fgred="$(tput setaf 1)" # Red | |
fggreen="$(tput setaf 2)" # Green | |
fgyellow="$(tput setaf 3)" # Yellow | |
fgblue="$(tput setaf 4)" # Blue | |
fgpurple="$(tput setaf 5)" # Purple | |
fgcyan="$(tput setaf 6)" # Cyan | |
fgwhite="$(tput setaf 7)" # White |
#!/bin/bash | |
# Requirements: | |
# You must have the path to Inkscape in your path | |
# (/Applications/Inkscape.app/Contents/Resources/bin/inkscape) | |
# You must have coreutils installed ($ brew install coreutils) for greadlink | |
if (($# < 1)); then | |
echo "Usage: svg2eps input output" | |
exit 1 |
© 2013 Martin Bruchanov, [email protected]
Set interpreter: #!/bin/bash Remarks: # this is comment
Action | set -o vi | set -o emacs |
---|
Be sure you are calling ncverilog
with the following flags to enable coverage tracking: -coverage all -covoverwrite
In your SystemVerilog program
block be sure to call the following SystemVerilog system function: $set_coverage_db_name("database_name");
. the "database_name" can be of your choosing
After the simulation is complete, the simulator will write a database with the coverage information to the cov_work
directory by default
Create a file called imc_report.cmd
and paste the commands that are below. This file simply tells imc to load the database and which information to save to the report file. Be sure to change the "database_name" so it matches with the parameter in step 2.