top -b -n 1 -p `pgrep $PROCESS_NAME` | grep $PROCESS_NAME | awk {'print $9'}
Install the most current stable version of Git for Ubuntu, using PPA of Ubuntu Git Maintainers team.
For details, see this PPA page.
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
" Enable different settings for different file types | |
" See: http://vim.wikia.com/wiki/Indenting_source_code | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=4 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=4 | |
" On pressing tab, insert 4 spaces | |
set expandtab |
Because the build tools of UE4 works across platforms (Windows, Mac OS, Linux), steps in this article can be applied to Mac OS and Windows as well.
On Windows, You need to replace RunUAT.sh
with RunUAT.bat
though.
First, get Unreal Engine 4 sourcecode and export the following environment variables:
If you don't like or need the kdc process on Mac OS X, which opens TCP port 88 to the world, you can disable it with launchctl.
Disable:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist
Enable:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist
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
alias netls='sudo netstat -plant | grep LISTEN' | |
alias netls4='sudo netstat -4 -plant | grep LISTEN' | |
alias netls6='sudo netstat -6 -plant | grep LISTEN' | |
alias netlsc='sudo netstat -plant | grep -v LISTEN' | |
alias netlsc4='sudo netstat -4 -plant | grep -v LISTEN' | |
alias netlsc6='sudo netstat -6 -plant | grep -v LISTEN' | |
alias netlsa='sudo netstat -plant' |
find . -name "*.sh" -exec chmod u+x {} \;
Copy ssserver.service
to under /lib/systemd/system/
and run:
sudo systemctl enable ssserver
sudo systemctl start ssserver
sudo systemctl status ssserver