$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
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
function Install-LinuxToolChain { | |
<# | |
.SYNOPSIS | |
Downloads and installs the UE4 linux toolchain components. | |
.DESCRIPTION | |
Downloads the clang compiler to $ToolChainDestination and creates a | |
system-wide environment variable pointing to it. | |
Afterwards you have to regenerate the UE4 engine project files and |
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
#!/usr/bin/env node | |
const { spawn } = require('child_process'); | |
const path = require('path'); | |
// Set the paths where your UE4 is located | |
const UE4Source = { | |
Win: 'D:/Work/github/UnrealEngine', | |
Mac: '/Users/Shared/Epic Games/UE_4.20' | |
}; |
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
// http://stackoverflow.com/questions/17603666/copy-move-requirements-for-the-key-value-types-in-a-stdmap | |
#include <map> | |
#include <vector> | |
struct foo | |
{ | |
int i; | |
foo(int j) : i(j) {} |
sudo su
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
Thanks @NINOMAE1995 very much!
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
# Unix (Terminal) | |
open -a "Google Chrome" --args --disable-gpu-vsync --disable-frame-rate-limit | |
# Windows (Command prompt) | |
start chrome --args --disable-gpu-vsync --disable-frame-rate-limit |