| command | description |
|---|---|
| ctrl + a | Goto BEGINNING of command line |
This file contains hidden or 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
| _complete_ssh_hosts () | |
| { | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
| cut -f 1 -d ' ' | \ | |
| sed -e s/,.*//g | \ | |
| grep -v ^# | \ | |
| uniq | \ | |
| grep -v "\[" ; |
This file contains hidden or 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 Bash 4 using homebrew | |
| brew install bash | |
| # Or build it from source... | |
| curl -O http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz | |
| tar xzf bash-4.2.tar.gz | |
| cd bash-4.2 | |
| ./configure --prefix=/usr/local/bin && make && sudo make install | |
| # Add the new shell to the list of legit shells |
This file contains hidden or 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
| # Block Skype ads | |
| 127.0.0.1 *.msads.net | |
| 127.0.0.1 *.msecn.net | |
| 127.0.0.1 *.rad.msn.com | |
| 127.0.0.1 a.ads2.msads.net | |
| 127.0.0.1 ac3.msn.com | |
| 127.0.0.1 ad.doubleclick.net | |
| 127.0.0.1 adnexus.net | |
| 127.0.0.1 adnxs.com | |
| 127.0.0.1 ads1.msn.com |
NOTE: this page is for a from-source install (useful if you want to contribute to CasADi). If you just want to evaluate CasADi quickly, use a binary install.
- To get started quickly, start off by grabbing as many dependencies as possible from repositories.
- Ubuntu:
sudo apt-get install gcc g++ gfortran git cmake liblapack-dev pkg-config --install-recommends - Fedora:
sudo yum install gcc gcc-c++ gcc-gfortran git cmake lapack-devel
- To compile the Python interface, you also need SWIG and a decent Python installation:
- Ubuntu:
sudo apt-get install swig ipython python-dev python-numpy python-scipy python-matplotlib --install-recommends - Fedora:
sudo yum install swig ipython python-devel numpy scipy python-matplotlib
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
- Create a bare clone of the repository.
(This is temporary and will be removed so just do it wherever.)
git clone --bare git@github.com:usi-systems/easytrace.git
This file contains hidden or 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
| [Desktop Entry] | |
| Name=Visual Studio Code | |
| Comment=Programming Text Editor | |
| Exec=/usr/local/src/VSCode-linux-x64/code | |
| Icon=/usr/local/src/VSCode-linux-x64/resources/app/resources/linux/code.png | |
| Terminal=false | |
| Type=Application | |
| Categories=Programming; |
The issue pops up when you resize the desktop, as is commonplace when you use VNC across multiple machines.
A good workaround for this issue is to install the latest Oracle Java 8.
If you are using Ubuntu, you can add the Oracle 8 ppa:
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java8-installer
OlderNewer
