- In Firefox, open a tab to
about:config
- Enter
browser.urlbar.update2.engineAliasRefresh
and click the+
sign on the right- This will now show the value for the Boolean as
true
which is correct - Be setting this to
true
you enable the option to add a custom search engine to Firefox
- This will now show the value for the Boolean as
- Go to Settings or navigate to
about:preferences#search
- Under Search Shortcuts click
Add
- Search enging name :
Google without AI
- Engine URL :
https://www.google.com/search?client=firefox-b-1-d&channel=entpr&udm=14&q=%s
- Alias (if there is an alias field present) :
gnai
or whatever alias you'd like here. This is not required
- Search enging name :
- Click
Add Engine
#!/bin/sh | |
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | |
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | |
vncconfig -iconic & | |
export DESKTOP_SESSION=/usr/share/xsessions/ubuntu.desktop | |
export XDG_CURRENT_DESKTOP=ubuntu:GNOME | |
export GNOME_SHELL_SESSION_MODE=ubuntu | |
export XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop | |
dbus-launch --exit-with-session /usr/bin/gnome-session --systemd --session=ubuntu |
We were seeing the following unexpected warnings in our builds:
C:/BuildAgent/work/19dd4d6ddfbe72aa/SecretProject/vcpkg_installed/x64-windows/include\fmt/format.h(771): warning : base class dllexport/dllimport specification differs from that of the derived class
C:/BuildAgent/work/19dd4d6ddfbe72aa/SecretProject/vcpkg_installed/x64-windows/include\fmt/format.h(3268): warning : base class dllexport/dllimport specification differs from that of the derived class
We use spdlog and fmt all over the place and weren't seeing these warnings elsewhere. Strangely there were not the usual error/warning codes that the compiler emits.
Then I noticed why - these diagnostics were preceded by the module name:
SomeFilter.cu
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
[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 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 [email protected]:usi-systems/easytrace.git
Create a template service file at /etc/systemd/system/[email protected]
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target
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
# 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 |