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
| ERROR: /home/nvidia/Documents/tensorflow/tensorflow/contrib/layers/BUILD:36:1: Linking of rule '//tensorflow/contrib/layers:gen_sparse_feature_cross_op_py_wrappers_cc' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command | |
| (cd /home/nvidia/.cache/bazel/_bazel_nvidia/38f510ce87073e6e7989e37d45036c24/execroot/org_tensorflow && \ | |
| exec env - \ | |
| LD_LIBRARY_PATH=/usr/local/cuda/lib64/: \ | |
| PATH=/usr/local/cuda/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin \ | |
| PWD=/proc/self/cwd \ | |
| external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -o bazel-out/host/bin/tensorflow/contrib/layers/gen_sparse_feature_cross_op_py_wrappers_cc '-Wl,-rpath,$ORIGIN/../../../_solib_local/_U_S_Stensorflow_Scontrib_Slayers_Cgen_Usparse_Ufeature_Ucross_Uop_Upy_Uwrappers_Ucc___Utensorflow' '-Wl,-rpath,$ORIGIN/../../../_solib_local/_U@local_Uconfig_Ucuda_S_S |
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
| ####################### | |
| # CUDA 9.0 CUDNN 7.0 # | |
| ####################### | |
| sudo apt-get update && sudo apt-get install -y wget tar bzip2 | |
| ####################### | |
| # CUDA 9.0 # | |
| ####################### |
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
| # Remap prefix to Control + a | |
| set -g prefix C-a | |
| unbind C-b | |
| bind C-a send-prefix | |
| # force a reload of the config file | |
| unbind r | |
| bind r source-file ~/.tmux.conf | |
| # Set fish as my own shell |
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
| from sh import iw, grep | |
| print(grep(iw("wlan0", "scan"), "-P", "\"(^|\s)KiwiNet(?=\s|$)\"", "-B", "2")) |
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
| def get_current_wifi_connection(): | |
| for line in iw('dev', 'wlan0', 'link', _iter=True): | |
| if "SSID" in line: | |
| return line.split(":")[1] |
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
| #!/bin/bash | |
| fileid="### file id ###" | |
| filename="MyFile.csv" | |
| curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null | |
| curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename} |
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
| ssh -Q cipher localhost | paste -d , -s - |
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
| #!/bin/bash | |
| # Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions | |
| # are met: | |
| # * Redistributions of source code must retain the above copyright | |
| # notice, this list of conditions and the following disclaimer. | |
| # * Redistributions in binary form must reproduce the above copyright |
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
| VIDEONAME=$(basename ${VIDEO_URL}) | |
| VIDEOPATH="/data/${VIDEONAME}" | |
| echo $VIDEOPATH | |
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
| VIDEONAME=$(basename ${VIDEO_URL}) | |
| VIDEOPATH="/data/${VIDEONAME}" | |
| echo $VIDEOPATH | |