-
install yay or pikaur, DO NOT use pacaur as it does not handle version specific dependecies well(github issue).
-
install
libpgm-git
from aur -
set
MAKEFLAGS
option to-j8
in/etc/makepkg.conf
-
increase sudo session timeout in
/etc/sudoers
:
Defaults timestamp_timeout=600
-
start with:
yay -S ros-melodic-desktop-full
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
# Modified evaluation script of PointNet for DGCNN | |
# (unofficial) | |
import argparse | |
import math | |
import h5py | |
import numpy as np | |
import tensorflow as tf | |
import socket | |
import importlib |
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 tensorflow as tf | |
mat1 = [0,1,2] | |
mat2 = [2,1,0] | |
with tf.device('/gpu:0'): | |
tn1 = tf.placeholder(dtype= tf.int32, shape=[3]) | |
tn2 = tf.placeholder(dtype= tf.int32, shape=[3]) | |
tn3 = tn1 + tn2 |
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 | |
a = np.zeros(shape=[33052, 10225], dtype=np.float32) | |
b = np.zeros(shape=[7086, 10225], dtype=np.float32) | |
print "Shape_a: ", a.shape | |
print "Shape_b: ", b.shape | |
print "\nProcessing..." |
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
#include <stdio.h> | |
#define DATA_SIZE 17 | |
#define VEC_SIZE 16 | |
struct _float16{ | |
float vec[VEC_SIZE]; | |
}; |
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
void myfunc( | |
int *inputTn1, | |
int *inputTn2, | |
int *outputTn, | |
int len) { | |
#pragma HLS INLINE | |
for(int idx=0; idx<len; idx++){ | |
#pragma HLS PIPELINE II=1 |
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
# /etc/udev/rules.d/70-huawei-e3.conf | |
# Necessary for network interface name | |
SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14dc", NAME="usb0" | |
# Might be duplicate to usb_modeswitch config, however it's good to have it there | |
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.d/huawei_e3.conf" |
- Install
$ sudo pacman -S ghostscript
- Install
$ yay -S cups
- Enable its service
$ sudo systemctl enable cups.service
- Restart the service
$ sudo systemctl restart cups.service
- Check its status
$ sudo systemctl status cups.service
- Install
$ yay -S cnrdrvcups-sfp
- BE AWARE THAT LBP-6030B is a UFRII-LT printer with
sfp
. Only usecnrdrvcups-lb
package if your printer is LBP6030 (white version, USA)!! - Open
http://localhost:631/
in Chrome. - Go to
Administration
and then click onAdd Printer
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
%% | |
%% This is file `spbasic.bst', | |
%% generated with the docstrip utility. | |
%% | |
%% The original source files were: | |
%% | |
%% merlin.mbs (with options: `ay,nat,seq-lab,vonx,nm-rvx,ed-rev,jnrlst,dt-beg,yr-par,yrp-x,yrpp-xsp,note-yr,jxper,jttl-rm,thtit-a,pgsep-c,num-xser,ser-vol,jnm-x,btit-rm,bt-rm,pre-pub,doi,edparxc,blk-tit,in-col,fin-bare,pp,ed,abr,mth-bare,ord,jabr,xand,eprint,url,url-blk,em-x,nfss,') | |
%% ---------------------------------------- | |
%% | |
%%********************************************************************************%% |
OlderNewer