# .conf 파일을 만들어 부팅 시 모듈을 로드한다
cat <<EOF | sudo tee /etc/modules-load.d/crio.conf
overlay
br_netfilter
EOF
modprobe overlay
modprobe br_netfilter
This file contains 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
case "${OSTYPE}" in | |
darwin*) | |
alias ls="ls -G" | |
alias ll="ls -lG" | |
alias la="ls -laG" | |
;; | |
linux*) | |
alias ls='ls --color' | |
alias ll='ls -l --color' | |
alias la='ls -la --color' |
This file contains 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
#if _MSC_VER >= 1800 | |
template<typename T, typename ... TArgs> | |
void push(lua_State *L, T ret, const TArgs& ... args) { push(L, ret); push(L, args...); } | |
template<typename RVal, typename ... TArgs> | |
RVal call(lua_State* L, const char* name, const TArgs&... args) | |
{ | |
lua_pushcclosure(L, on_error, 0); | |
int errfunc = lua_gettop(L); |
This file contains 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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Change input source to ENGLISH by left ctrl + command + E</name> | |
<identifier>private.change_input_source_to_english</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::E, ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L, | |
KeyCode::VK_CHANGE_INPUTSOURCE_ENGLISH, | |
KeyCode::VK_WAIT_100MS, |
This file contains 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 <random> | |
#include <iostream> | |
#include <unordered_map> | |
std::discrete_distribution<> dist({ | |
90, // 90% | |
9, // 9% | |
1, // 1% | |
}); |
This file contains 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 <string> | |
#include <iostream> | |
#include <fstream> | |
#include <regex> | |
using namespace std; | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
string names; |
This file contains 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> | |
#include <string> | |
#include <cmath> | |
using namespace std; | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
int total = 0; | |
char buf[256]; |
This file contains 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
// ==UserScript== | |
// @name THE IDOLMASTER SHINY COLORS - background sound enabler | |
// @namespace https://twitter.com/_uyza_ | |
// @version 0.1 | |
// @description Playing sound when browser loses focus | |
// @author Azyu | |
// @match https://shinycolors.enza.fun/* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
@echo off | |
echo Load alias command... | |
doskey cd~=cd /D %USERPROFILE% | |
doskey scoop_update=scoop update *$Tscoop cache rm *$Tscoop cleanup * |
- The Missing Package Manager for macOS (or Linux) — Homebrew
- exelban/stats: macOS system monitor in your menu bar (github.com)
- Pixea on the Mac App Store (apple.com)
- MonitorControl/MonitorControl: 🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs. (github.com)
- CheatSheet - Know your short cuts (mediaatelier.com)
- AppCleaner (freemacsoft.net)
- rxhanson/Rectangle: Move and resize windows on macOS with keyboard shortcuts and snap areas (github.com)
- Mortennn/Dozer: Hide menu bar icons on macOS (github.com)
OlderNewer