Download location: Install doc: https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html Download(requires login) https://developer.nvidia.com/rdp/cudnn-download Cuda toolkit: Download: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=11
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
func buildEmailInput(source, destination, subject, message string, | |
csvFile []byte) (*ses.SendRawEmailInput, error) { | |
buf := new(bytes.Buffer) | |
writer := multipart.NewWriter(buf) | |
// email main header: | |
h := make(textproto.MIMEHeader) | |
h.Set("From", source) |
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
docker config inspect pxc_proxysql_cnf | jq '.[0].Spec.Data' -r | base64 --decode > proxysql.cfg |
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
consul members | grep left | cut -d ' ' -f 1 | xargs -I{} echo "consul force-leave -prune {}" |
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
version: "2" | |
services: | |
node1: | |
container_name: node1 | |
image: percona/percona-xtradb-cluster:5.7 | |
environment: | |
- CLUSTER_NAME=cluster1 | |
- MYSQL_ROOT_PASSWORD=root | |
networks: | |
- pxc-network |
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
using System; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
//rows contains the row sums, cols contains the col sums | |
static void sumsGeneration(int[,] m, int[] rows,int[] cols) | |
{ | |
for(int i=0; i < rows.Length; i++) |
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
- Removing symfony/contracts (v1.0.2) | |
- Updating ralouphie/getallheaders (2.0.5 => 3.0.3): Downloading (100%) | |
- Updating guzzlehttp/psr7 (1.5.2 => 1.6.1): Downloading (100%) | |
- Updating phpseclib/phpseclib (2.0.14 => 2.0.21): Downloading (100%) | |
- Updating google/apiclient-services (v0.82 => v0.104): Downloading (100%) | |
- Updating google/auth (v1.4.0 => v1.5.1): Downloading (100%) | |
- Updating google/apiclient (v2.2.2 => v2.2.3): Downloading (100%) | |
- Updating symfony/polyfill-ctype (v1.10.0 => v1.11.0): Loading from cache | |
- Installing phpoption/phpoption (1.5.0): Downloading (100%) | |
- Updating vlucas/phpdotenv (v2.6.1 => v3.4.0): Downloading (100%) |
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
Extend with this: | |
usbhid.mousepoll=0 |
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
ln -s /lib/pcoip /usr/lib/pcoip | |
sudo ln -s /lib/pcoip /usr/lib/pcoip | |
ln -s /lib/vmware/ /usr/lib/vmware | |
ln -s /bin/vmware-remotemks /usr/bin/vmware-remotemks | |
sudo ln -s /bin/vmware-remotemks /usr/bin/vmware-remotemks | |
sudo ln -s /bin/vmware-remotemks-container /usr/bin/vmware-remotemks-container |
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
#!/bin/bash | |
#ˇNope that wont workˇ | |
#newfile="~/uptime" | |
newfile=~/uptime | |
date >> $newfile | |
uptime >>$newfile | |
echo "----------------" >>$newfile | |
echo " " >>$newfile |
NewerOlder