- Disable gameover functionality
var original = Runner.prototype.gameOver
Runner.prototype.gameOver = function (){}
- Enable gameover functionality
var original = Runner.prototype.gameOver
Runner.prototype.gameOver = function (){}
{ | |
"workbench.startupEditor": "none", | |
"code-runner.fileDirectoryAsCwd": true, | |
"code-runner.runInTerminal": true, | |
"code-runner.saveFileBeforeRun": true, | |
"code-runner.terminalRoot": "/mnt/", | |
// shell config | |
// "code-runner.terminalRoot": "/mnt/", | |
// "terminal.external.windowsExec": "/mnt/c/Windows/System32/cmd.exe", | |
"terminal.integrated.profiles.windows": { |
" VIM Configuration File | |
" Description: Optimized for C/C++ development for now. | |
" Author: Vishnu | |
" | |
" disable vi compatibility (emulation of old bugs - it's better to be safe than sorry) | |
set nocompatible | |
" use indentation of previous line | |
set autoindent | |
" use intelligent indentation for C |
watch
runs command repeatedly, displaying its output (the first screenfull). This allows you to watch the program output change over time. By default, the program is run every 2 seconds; use -n or --interval to specify a different interval.
Function: Execute a program periodically, showing output fullscreen
Syntax: watch [options] command
Syntax: watch [-bdehpvtx] [-n seconds] [--beep] [--color] [--differences[=cumulative]] [--errexit] [--exec] [--help] [--interval=seconds] [--no-title] [--precise] [--version] command
sudo apt-get install mux
sudo yum install tmux
brew install tmux
3 Major things in MUX:
Rclone is an open source, multi threaded, command line computer program to manage or migrate content on cloud and other high latency storage. Its capabilities include sync, transfer, crypt, cache, union, compress and mount. The rclone website lists supported backends including S3, and Google Drive.
Descriptions of rclone often carry the strapline Rclone syncs your files to cloud storage. Those prior to 2020 include the alternative Rsync for Cloud Storage. Users have called rclone The Swiss Army Knife of cloud storage.
Rclone is well known for its rclone sync and rclone mount commands. It provides further management functions analogous to those ordinarily used for files on local disks, but which tolerate some intermittent and unreliable service. Rclone is commonly a front-end for media servers such as Plex, Emby or Jellyfin to stream content direct from consumer file storage services.
>Official Ubuntu, Debian, Fedora, Gentoo, Arch, Brew, Chocolatey, and other package managers include rcl
// declare dynamic array in C++ | |
int main() | |
{ | |
int size; | |
std::cin >> size; | |
int *array = new int[size]; | |
delete [] array; | |
(function (global) { | |
// Set up a namespace for our utility | |
var ajaxUtils = {}; | |
// Returns an HTTP request object | |
function getRequestObject() { | |
if (global.XMLHttpRequest) { | |
return (new XMLHttpRequest()); |