start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| * MinHook - The Minimalistic API Hooking Library for x64/x86 | |
| * Copyright (C) 2009-2017 Tsuda Kageyu. | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * | |
| * 1. Redistributions of source code must retain the above copyright |
| (require 'package) | |
| (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) | |
| ;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities` | |
| ;; and `package-pinned-packages`. Most users will not need or want to do this. | |
| ;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) | |
| (package-initialize) | |
| ;; Deps: | |
| ;; dracula-theme | |
| ;; slime |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
| # import pymysql as sql | |
| import platform, re, os, shutil, signal, sys, _thread as thread, time, urllib, socketserver as SocketServer, subprocess, \ | |
| codecs | |
| # if "-judge" not in sys.argv: | |
| # print("\nArgus Online Judge : Execution Protocol (Linux Version 1.0)"); | |
| # print("\nCommand Line Options :") | |
| # print(" -judge : Connect to the server and start judging submissions.") | |
| # print(" -cache : Use IO Files in Current Directory instead of downloading them.") | |
| # print() |
| command! T !clang++ -g -W -DTEST -std=c++14 %:r.cpp -o %:r && ./%:r | |
| command! R !clang++ -g -W -DDEBUG -std=c++14 %:r.cpp -o %:r && ./%:r | |
| colorscheme evening | |
| " " Set 7 lines to the cursor - when moving vertically using j/k | |
| set so=7 | |
| "Always show current position | |
| set ruler | |
| " For regular expressions turn magic on | |
| set magic |
| // | |
| // Created by Ruslan Jankurazov. | |
| // Copyright © 2018 Ruslan Jankurazov. All rights reserved. | |
| // | |
| #pragma GCC optimize("Ofast") | |
| #include "bits/stdc++.h" | |
| #define pb push_back |
| cmake_minimum_required(VERSION 3.9) | |
| project(myGame) | |
| set(CMAKE_CXX_STANDARD 11) | |
| include_directories(${CMAKE_SOURCE_DIR}) | |
| file(GLOB_RECURSE SOURCES RELATIVE ${CMAKE_SOURCE_DIR} "Box2D/*.cpp") | |
| add_library(Box2D SHARED ${SOURCES}) | |
| include_directories(SFML/include) |
| The remaining functions are provided for optimization purposes. | |
| Built-in Function: int __builtin_ffs (int x) | |
| Returns one plus the index of the least significant 1-bit of x, or if x is zero, returns zero. | |
| Built-in Function: int __builtin_clz (unsigned int x) | |
| Returns the number of leading 0-bits in x, starting at the most significant bit position. If x is 0, the result is undefined. | |
| Built-in Function: int __builtin_ctz (unsigned int x) | |
| Returns the number of trailing 0-bits in x, starting at the least significant bit position. If x is 0, the result is undefined. |
| jQuery ("[id^='UnsubscribeItemBtn']").children().trigger('click'); setTimeout(function(){location.reload();},500); |