// Load file object
$file = File::load($fid);
// Get uri (public://foo/bar/baz.png)
$uri = $file->getFileUri();
Discover gists
(aka Audio Lab descriptions without the jargon)
Have you wondered just what the f**k do those Cider Audio Lab descriptions mean?
Well, let me break it down for you.
Cider Audio Lab is a suite of audio enhancement options that make your music sound better.
# Tested on Ubuntu 16.04 and X11, 2019 | |
# 1. Download NVIDIA driver as a .run file | |
# 2. Stop X-Server | |
sudo service lightdm stop | |
# 3. Blacklist Nouveau driver | |
sudo nano /etc/modprobe.d/blacklist-nouveau.conf |
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
- Run Command Below
sudo apt-get install -y dphys-swapfile
- Run
sudo gedit /sbin/dphys-swapfile
- Change
CONF_MAXSWAP
to 4096, save and exit - Run
sudo gedit /etc/dphys-swapfile
- Enable
CONF_SWAPSIZE
and put 4096, save and exit - Run
sudo reboot .
to restart Jetson Nano 7.Runfree -m
and check the Swap total
var vaultUri = new Uri("https://your-key-vault.vault.azure.net/"); | |
var credential = new AzureCliCredential(new AzureCliCredentialOptions | |
{ | |
TenantId = "your-aad-tenant-id" | |
}); | |
var keyClient = new KeyClient(vaultUri, credential); | |
var cryptoProviderFactory = new CryptoProviderFactory(); | |
cryptoProviderFactory.CustomCryptoProvider = new KeyVaultCryptoProvider(keyClient); |
Download center
Installing Nsight compute from command-line:
# Download .run file from website and accept the terms and conditions.
sudo ./nsight-compute-linux-2020.1.1.8-28506821.run --nox11