// purportedly colour-blind friendly colours
black: '0x222222'
red: '0xde4949'
green: '0x30b06e'
yellow: '0xffb937'
blue: '0x3352e1'
magenta: '0x533354'
cyan: '0x5a7d8b'
white: '0xeeeeee'
# goes in ~/.config/alacritty/alacritty.toml | |
[bell] | |
animation = "EaseOutQuad" | |
color = "0xffb937" | |
duration = 500 | |
[colors.bright] | |
black = "0x666666" | |
blue = "0x0037ff" |
# example usage: | |
# $ prompt-to-run 'echo hi' | |
prompt_acc='' | |
read -p 'run `'"$1"'` | |
' -i "$1" -e prompt_acc | |
eval "$prompt_acc" |
// | |
// SO copy-pasta | |
// | |
function perm(xs) { | |
let ret = []; | |
for (let i = 0; i < xs.length; i = i + 1) { | |
let rest = perm(xs.slice(0, i).concat(xs.slice(i + 1))); | |
if(!rest.length) { |
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
be () { | |
source be-impl $@ | |
} |
<!DOCTYPE html> | |
<html><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><style type="text/css">body{ | |
margin:40px auto; | |
max-width:650px; | |
line-height:1.6; | |
font-size:18px; | |
color:#888; | |
background-color:#111; | |
padding:0 10px |
As far as i can tell there is no way to change the theme of git-gui
as packaged in git for windows without editing .tcl
files.
When you use the Git GUI here
context menu option, the .tcl
files that are interpreted are those in C:\Users\USERNAME\AppData\Local\Programs\Git\mingw64\lib\tk8.6\ttk
. You can confirm this with Process Monitor. You'll want to filter for wish.exe
if you do so. Oddly enough there is a totally separte copy of these files in Program Files/Git
.
A .tcl
file that git-gui
interprets directly is ttk.tcl
. To demonstrate that this is the case add the following line ttk.tcl
somewhere at the top level.
tk_messageBox -type ok -icon info -message "Hello world" -title "Info"
diff --git a/src/editor.c b/src/editor.c | |
index 460c832a..0cee854c 100644 | |
--- a/src/editor.c | |
+++ b/src/editor.c | |
@@ -315,15 +315,7 @@ static gboolean on_editor_button_press_event(GtkWidget *widget, GdkEventButton * | |
} | |
if (event->type == GDK_BUTTON_PRESS && state == GEANY_PRIMARY_MOD_MASK) | |
{ | |
- sci_set_current_position(editor->sci, editor_info.click_pos, FALSE); | |
- |
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs | |
index bafe23e..c01717a 100644 | |
--- a/src/libstd/lib.rs | |
+++ b/src/libstd/lib.rs | |
@@ -230,11 +230,6 @@ | |
// Tell the compiler to link to either panic_abort or panic_unwind | |
#![needs_panic_runtime] | |
-// Always use alloc_system during stage0 since we don't know if the alloc_* | |
-// crate the stage0 compiler will pick by default is available (most |