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
find path/ -name 'string' |
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
Connect to the beamline: 'ssh -X arcadu_f@x02da-gw'. | |
Connect to a specific machine: 'ssh -X e14236@x02da-gws-3'. | |
Type: 'export PATH=/opt/psi/Programming/psi-python27/2.3.0/bin:$PATH'. | |
Type: 'export CONDARC=/afs/psi.ch/project/TOMCAT_pipeline/Anaconda/.condarc_py27ana230'. | |
Check that you have loaded the Anaconda python: 'which python'. | |
The result should be: '/opt/psi/Programming/psi-python27/2.3.0/bin/python'. | |
If you want to create a new environment/install additional packages/delete an environment, get an AFS token with: 'klog -principal afs_username'. | |
If you want to list the already existing environments, type: 'conda env list'. | |
Load the environment you like, in our case, 'iter-rec' is ok: 'source activate iter-rec'. | |
To install additional packages to a specific environment, type 'conda install -name env-name package'. |
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
Sometimes installing CUDA on Ubuntu turns out to be a huge broom in the ass. | |
One of the most common issue is that once you login after rebooting Ubuntu | |
is stalled. | |
To fix this problem, it is necessary to go on one TTY (e.g. Ctrl+Alt+F1), | |
login with username (with administrator rights) and password and try one of | |
the following procedures. | |
Trial #2 worked with me, in the sense that I could normally login in Ubuntu, |
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
Ubuntu version: | |
$ lsb_release -a | |
Kernel version: | |
$uname -a | |
Graphic card: | |
$lspci | grep VGA | |
GLIBC: |
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
The annoying update repo that always fails can be found inside the folder: | |
"/etc/apt/sources.list.d" | |
Just delete your entry of interest and get your retribution. |
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
conda install -c toli nolearn=0.6a.toli |
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
Install Windows 8.1 from either USB or CD. | |
Install Ubuntu from either USB or CD. Choose the option: "Install alongside Windows 8". | |
When you reboot probably Windows will start automatically without asking if you want yo use Ubuntu. | |
In that case, use once again the USB/CD installer for Ubuntu and select the option "Try Ubuntu". | |
Open a terminal and type: "sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update" | |
Then type: "sudo apt-get install -y boot-repair && boot-repair" | |
The window of boot repair will pop up, select: "Recommended repair". | |
Once, boot repair has finished, just reboot, hopefully it did work. |
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
pdftk A=in.pdf cat A1-10 A15 A17 output out.pdf |
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
Download textext package | |
Unpack it and copy the .inc and .py file into ~/.config/inkscape/extensions/ | |
Type: "sudo chmod 777 ~/.config/inkscape/extensions/textext.inx" | |
Type: "sudo chmod 777 ~/.config/inkscape/extensions/textext.inc" |
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
Chech whether your gcc and g++ are the right version, i.e. version 5. | |
Go to "Software and Updates", then "Additional Drivers"; select NVIDIA drivers 375; install and restart. | |
Download the CUDA toolkit 8.0 from the official website. | |
Run the .run file accepting everything except the installation of the NVIDIA drivers, which already exist. | |
Go to the sample folder; run "make" and try the "matrixMul" script. |
OlderNewer