These instructions are based on Mistobaan's gist but expanded and updated to work with the latest tensorflow OSX CUDA PR.
http://koolshare.cn/thread-42723-1-1.html
https://post.smzdm.com/p/566063/
在域名网站添加a记录,比如
| Type | Host | Value |
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
摘要: jcenter替换为国内阿里云maven地址 | |
在你的USER_HOME/.gradle/目录下,新建一个文件init.gradle | |
把这一段内容拷贝进去 |
今天尝试在占美电脑上安装esxi,报错。
查了下网卡型号,对应型号是: Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC
esxi为了防止在家用电脑上面使用,就在5.5之后的版本移除了等网卡型号的驱动,并把这些网卡列入了黑名单。 安装方法: 1.把驱动写入自定义镜像
2.下载合入常见驱动的iso
using sleep_for
// thread::get_id / this_thread::get_id
#include <iostream> // std::cout
#include <thread> // std::thread, std::thread::id, std::this_thread::get_id
#include <chrono> // std::chrono::seconds
using namespace std;
void show(int n) {
if (n==5){
cout<<"start n=5"<
string s = "\r\n\t \t这是随便写的一句话。\t\t ";
size_t n = s.find_last_not_of( " \r\n\t" );
if( n != string::npos )
{
s.erase( n + 1 , s.size() - n );
}
n = s.find_first_not_of ( " \r\n\t" );
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 | |
## This gist contains step by step instructions to install cuda v9.0 and cudnn 7.2 in ubuntu 18.04 | |
### steps #### | |
# verify the system has a cuda-capable gpu | |
# download and install the nvidia cuda toolkit and cudnn | |
# setup environmental variables | |
# verify the installation | |
### |
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
#include <linux/module.h> | |
#include <linux/init.h> | |
#include <linux/kthread.h> | |
#include <linux/delay.h> | |
struct task_struct* ts; | |
static int thread_func(void) | |
{ | |
while (1) |