GithubHelp home page GithubHelp logo

helps's Introduction

helps

ubuntu uk keybord layout

setxkbmap -layout gb

start mongo database

sudo service mongod start

pep-8 cheetsheet

https://www.slideshare.net/p3infotech_solutions/python-programming-essentials-m31-pep-8

processes which use gpu

sudo fuser -v /dev/nvidia*

kill all the processes which use GPU

kill -KILL sudo fuser -v /dev/nvidia*

bash previous command repeat/output

!! or !!

Ubuntu Nvidea drivers

Using 18.04+ To install run the following command:

sudo add-apt-repository ppa:graphics-drivers/ppa This will automatically update the repositories and then you can run the following line:

sudo apt install nvidia-driver-396

If your desktop does not load after installing the corresponding driver, then do the following:

sudo nano /etc/gdm3/custom.conf

then remove the comment (# symbol) from the line that says WaylandEnable=false and save. Then reboot. If this still does not work, then please disable Secure Boot since you might actually be using UEFI.

CUDA install

wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run

chmod +x cuda_9.0.176_384.81_linux-run

./cuda_9.0.176_384.81_linux-run --extract=$HOME

cd $HOME

sudo ./cuda-linux.9.0.176-22781540.run

sudo ./cuda-samples.9.0.176-22781540-linux.run

sudo bash -c "echo /usr/local/cuda/lib64/ > /etc/ld.so.conf.d/cuda.conf"

sudo ldconfig

CUDA NN

sudo dpkg -i libcudnn7_7.0.5.15โ€“1+cuda9.0_amd64.deb # download from the official website

conda create env

conda create -n myenv python=3.6

vnc desktop setup

install -
sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal

change ~/.vnc/xstartup to -

#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 1670x886 -ls -title "$VNCDESKTOP desktop" &
#x-window-manager &
twm &

gnome-terminal &
dbus-launch gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &

helps's People

Contributors

alexeyv11 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.