Fix the error bundle not found error
or something similar. This happens when the rubocop VSCode extension is set to execute using bundle exec
.
Open this file:
~/.vscode/extensions/misogi.ruby-rubocop-0.8.6/out/src/configuration.js
# Usage: | |
# ~/.config/tmux/tmux.conf | |
# Install TPM and follow instructions: | |
# https://github.com/tmux-plugins/tpm | |
# vim ~/.config/tmux/tmux.conf && tmux source ~/.config/tmux/tmux.conf | |
set -g exit-empty off | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' |
#!/usr/bin/env bash | |
# Use this to reset the layout. | |
setxkbmap -layout jp | |
# Tip: Use 'xev' to get keycodes. | |
# Set modifier. | |
# Menu key = 135 | |
# Caps Lock = 66 |
import sys | |
import re | |
# TODO: The main code should be inside a __main__, I think. | |
FILE = sys.argv[1] | |
file = open(FILE, "r", encoding="utf8") | |
data = file.read() | |
file.close() |
#include <bits/stdc++.h> | |
using namespace std; | |
struct Point { | |
int x, y; | |
}; | |
ostream& operator<<(ostream& os, const Point& p) { | |
return os << "(" << p.x << ", " << p.y << ")"; | |
} |
search-text(){ | |
if [ ! -z "$1" ] | |
then | |
grep --exclude-dir={.git,tmp,log,node_modules,vendor} -r "$1" . | |
fi | |
} | |
# Example usage: | |
# search-text "with a suffix tree" |
# Note: Execute directly on the terminal (it has no effect if it's inside a bash script) | |
export PS1="\$ " |
#!/bin/bash | |
# A bash utility for quickly running a simple C++ file using: | |
# c++ my_file.cpp | |
# | |
# Features: | |
# * stderr output becomes red (use std::cerr or fprintf(stderr, ...) to debug). | |
# * Caches the compiled file based on the code content (if the file doesn't change, | |
# it will run the same pre-compiled binary). | |
# |
// normalizeTitle :: String -> String | |
const normalizeTitle = rawTitle => { | |
const parts = rawTitle.split(" - "); | |
const right = parts[1].toLowerCase().replace(/\s/g, "_").replace(/[^a-z_0-9]+/g, ""); | |
return `${parts[0]}-${right}`; | |
} | |
const rawTitle = document.getElementById("problem-name").innerHTML; |
const fs = require("fs"); | |
const path = require ("path"); | |
const readline = require('readline'); | |
const { spawn } = require('child_process'); | |
let ROMS_FOLDER = "C:/Users/.../PSX"; | |
let MEDNAFEN_HOME = "C:/Users/.../Mednafen"; | |
// Initialize the line reader | |
const rl = readline.createInterface({ |