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
// example how to set up OpenGL core context on Windows | |
// and use basic functionality of OpenGL 4.5 version | |
// important extension functionality used here: | |
// (4.3) KHR_debug: https://www.khronos.org/registry/OpenGL/extensions/KHR/KHR_debug.txt | |
// (4.5) ARB_direct_state_access: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_direct_state_access.txt | |
// (4.1) ARB_separate_shader_objects: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_separate_shader_objects.txt | |
// (4.2) ARB_shading_language_420pack: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_shading_language_420pack.txt | |
// (4.3) ARB_explicit_uniform_location: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_explicit_uniform_location.txt |
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
const table = [ | |
'073642', | |
'dc322f', | |
'859900', | |
'b58900', | |
'268bd2', | |
'd33682', | |
'2aa198', | |
'eee8d5', | |
'002b36', |
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
-- This script has been succeeded by | |
-- https://github.com/shadmansaleh/colorsceme_generator.nvim | |
-- Thid script is nolonger maintained so please use the plugin version. | |
-- This file creates a colorscheme from aleady available colorscheme | |
-- Author : Shadman Saleh | |
-- Licence : You can do whatever you want with it but do provide proper cradit | |
-- Uses : |
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 | |
# Credits: https://pastebin.com/NJxfe8Ex | |
PROTON_VERSION="5.0" | |
PROTON_DIR=$HOME/.steam/steam/steamapps/common/Proton\ $PROTON_VERSION | |
RUNNING="$1" | |
if [ ! -f "$PROTON_DIR/proton" ] ; then | |
echo "Proton version $PROTON_VERSION not found!"; |