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
| import pygame | |
| import socket | |
| import threading | |
| ADDRESS = ('127.0.0.1', 8000) | |
| position1 = (0, 0) | |
| position2 = (0, 0) | |
| pygame.init() |
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
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'dracula/tmux' | |
| # fix colors in neovim | |
| set -g default-terminal "screen-256color" | |
| set -ga terminal-overrides ",xterm-256color*:Tc" | |
| # set prefix | |
| set -g prefix C-a |
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
| extern crate glfw; | |
| extern crate gl; | |
| use glfw::{Action, Context, Key}; | |
| use std::{os::raw::*, ffi::CString, ptr, mem}; | |
| fn main() { | |
| let vertex_shader_source = String::from(" | |
| #version 330 core |
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
| #include <iostream> | |
| #define GLEW_STATIC | |
| #include <GL/glew.h> | |
| #include <GLFW/glfw3.h> | |
| const char *vertex_shader_source = | |
| "#version 330 core\n" | |
| "layout (location = 0) in vec3 pos;\n" |
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
| import socket | |
| HOST = "127.0.0.1" | |
| PORT = 8080 | |
| RESPONSE = """HTTP/1.1 200 OK | |
| Content-Length: 3 | |
| Content-Type: text/plain | |
| lol""" |
NewerOlder