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
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index a2fcf2e372..4b78f9ee01 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -656,6 +656,9 @@ macro (CMAKE_BUILD_UTILITIES) | |
endif() | |
#--------------------------------------------------------------------- | |
+ set(CURSES_INCLUDE_PATH "/usr/x86_64-w64-mingw32/include/ncursesw") | |
+ set(CURSES_LIBRARY "/usr/x86_64-w64-mingw32/lib/libncursesw.a;/usr/x86_64-w64-mingw32/lib/libformw.a") |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.8.0-50-generic Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=90300 | |
CONFIG_LD_VERSION=234000000 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_CC_CAN_LINK=y |
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
#/bin/bash | |
# Original by tuxutku (https://gist.github.com/tuxutku/79daa2edca131c1525a136b650cdbe0a) | |
# Modified by haxpor (based also on older version tha work with ROcm 3.3 at https://gist.github.com/haxpor/8533fde401853615f4b2e4510048a319) | |
# This version with following changes | |
# - support ROCm 4.1.x for Ubuntu 20.04 (tested with kernel 5.8.0-48-generic) | |
# - improved to not re-download a driver package again unncessary | |
# - early exit with error if found error | |
# - refactor misc code | |
prefix='amdgpu-pro-' |
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
set listchars=eol:↓,space:·,trail:●,tab:→⇥⇥,extends:>,precedes:< |
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
# change prefix key to alt+a | |
set-option -g prefix M-a | |
# shorten the key repeat interval | |
set-option -g repeat-time 200 | |
# to not lose the color when enter into tmux | |
set -g default-terminal "screen-256color" | |
# bind switching to panel with vim's motion keys |
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
#!/bin/bash | |
# From https://pastebin.com/XSuXNJZs by StingyKarmaWhore and u/yramagicman (upstream https://www.reddit.com/r/godot/comments/b7ad4u/open_terminalvim_from_godot/eqtavz1/) | |
# Modifed by haxpor: auto read from external changes, getting rid of line, and properly target an existing file on server | |
[ -n "$1" ] && server=$1 | |
[ -n "$2" ] && file=$2 | |
serverlist=`echo $(vim --serverlist)` | |
echo ${serverlist,,} | |
if [[ ${serverlist,,} == *"${server,,}"* ]]; then | |
vim +'set autoread|au CursorHold * checktime' --servername $server --remote-tab-silent $file |
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
#include <string.h> | |
#include "${header}" | |
#include "../../../server/baseapp/baseapp_interface.h" | |
#include "../../../server/baseapp/baseapp_interface.h" | |
#include "../../../server/baseappmgr/baseappmgr_interface.h" | |
#include "../../../server/cellapp/cellapp_interface.h" | |
#include "../../../server/cellapp/cellapp_interface.h" | |
#include "../../../server/cellappmgr/cellappmgr_interface.h" | |
#include "../../../server/dbmgr/dbmgr_interface.h" |
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
#/bin/bash | |
## Original by tuxutku (https://gist.github.com/tuxutku/79daa2edca131c1525a136b650cdbe0a) | |
## Modified by haxpor (https://gist.github.com/haxpor/8533fde401853615f4b2e4510048a319) | |
prefix='amdgpu-pro-' | |
postfix='-ubuntu-18.04' | |
major='19.50' | |
minor='967956' | |
shared="opt/amdgpu-pro/lib/x86_64-linux-gnu" | |
srcdir="$(pwd)" | |
pkgdir="${srcdir}/pkgdir" |
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
--- main-ref.cpp 2020-04-06 15:22:30.210006554 +0700 | |
+++ main2.cpp 2020-04-06 15:23:11.217588339 +0700 | |
@@ -13,11 +13,13 @@ | |
#include <cstdint> | |
#include <optional> | |
#include <set> | |
+#include <iomanip> | |
const int WIDTH = 800; | |
const int HEIGHT = 600; |
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
amdgpu amdgpu-core amdgpu-dkms amdgpu-lib amdgpu-lib32 amdgpu-pro amdgpu-pro-core amdgpu-pro-lib32 clinfo-amdgpu-pro glamor-amdgpu gst-omx-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-amdgpu1:i386 libdrm-amdgpu-common libdrm2-amdgpu libdrm2-amdgpu:i386 libegl1-amdgpu-mesa libegl1-amdgpu-mesa:i386 libegl1-amdgpu-mesa-drivers libegl1-amdgpu-mesa-drivers:i386 libegl1-amdgpu-pro libegl1-amdgpu-pro:i386 libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx libgl1-amdgpu-mesa-glx:i386 libgl1-amdgpu-pro-appprofiles libgl1-amdgpu-pro-dri libgl1-amdgpu-pro-dri:i386 libgl1-amdgpu-pro-ext libgl1-amdgpu-pro-glx libgl1-amdgpu-pro-glx:i386 libglapi-amdgpu-mesa libglapi-amdgpu-mesa:i386 libglapi1-amdgpu-pro libglapi1-amdgpu-pro:i386 libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386 libgles2-amdgpu-mesa libgles2-amdgpu-mesa:i386 libgles2-amdgpu-pro libgles2-amdgpu-pro:i386 libllvm9.0-amdgpu libllvm9.0-amdgpu:i386 libomxil-bellagio-bin libomxil-bellagio0 libopencl1-amdgpu-pro |