Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
// Fill out your copyright notice in the Description page of Project Settings. | |
using System; | |
using System.IO; | |
using UnrealBuildTool; | |
public class codevr : ModuleRules | |
{ | |
public codevr(ReadOnlyTargetRules Target) : base(Target) | |
{ | |
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; |
xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa |
#!/bin/bash -e | |
ln -s /usr/lib/x86_64-linux-gnu/amdgpu-pro . | |
ln -s /etc/OpenCL . | |
tar -czvf libs.tar.gz amdgpu-pro/* | |
tar -czvf conf.tar.gz OpenCL/* | |
cat > .dockerignore << EOF | |
OpenCL |
#!/bin/bash | |
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin | |
### Thanks Xream's Work XD | |
# if you don't have several vpn servers to select, you can comment following line | |
# and use your openvpn config file name to replace "${host}.ovpn" in while loop. | |
read -p "Select the host: " host |
#include <stdio.h> | |
#include <stdlib.h> | |
#ifdef __APPLE__ | |
#include <OpenCL/opencl.h> | |
#else | |
#include <CL/cl.h> | |
#endif | |
int main() { |
If you are facing the following error while trying to connect to a MySQL server using the MySQL Workbench snap and Ubuntu Focal Fossa: "mysql workbench an apparmor policy prevents this sender [...]" | |
You might try the following solution: | |
1 - On a new terminal window, run the following commands: | |
# snap connect mysql-workbench-community:password-manager-service | |
# snap connect mysql-workbench-community:ssh-keys | |
By using snap connect, you will fix the issue with the MySQL Workbench snap, allowing you to connect to the server(s). |
Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
/* | |
Check SSE/AVX support. | |
This application can detect the instruction support of | |
SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX. | |
*/ | |
#include <iostream> | |
#ifdef _MSC_VER | |
#include <intrin.h> | |
#endif |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dlfcn.h> | |
int main(int argc, char** argv) | |
{ | |
void *handle; | |
void (*func_print_name)(const char*); |