This file contains hidden or 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
local wezterm = require 'wezterm' | |
return { | |
leader = { key = 'b', mods = 'CTRL' }, | |
hide_mouse_cursor_when_typing = false, | |
keys = { | |
-- Split pane vertically | |
{ key = '"', mods = 'LEADER|SHIFT', action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' } }, |
This file contains hidden or 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
// CodeMirror, copyright (c) by Marijn Haverbeke and others | |
// Distributed under an MIT license: https://codemirror.net/5/LICENSE | |
// Modified by Matthew Rathbone | |
import CodeMirror from 'codemirror' | |
let setupDone = false | |
export function setupEmacsMini() { | |
"use strict"; |
This file contains hidden or 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
CREATE TABLE `big_ass_table2` ( | |
`foo` INT default 100, | |
bar0 int default 000, | |
bar1 int default 100, | |
bar2 int default 200, | |
bar3 int default 300, | |
bar4 int default 400, | |
bar5 int default 500, | |
bar6 int default 600, |
This file contains hidden or 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
CREATE TABLE mytable( | |
FIELD1 INTEGER NOT NULL PRIMARY KEY | |
,week INTEGER NOT NULL | |
,arrest BIT NOT NULL | |
,fin VARCHAR(3) NOT NULL | |
,age INTEGER NOT NULL | |
,race VARCHAR(5) NOT NULL | |
,wexp VARCHAR(3) NOT NULL | |
,mar VARCHAR(11) NOT NULL | |
,paro VARCHAR(3) NOT NULL |
This file contains hidden or 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
INSTRUCTIONS: | |
```bash | |
sudo cp thinkfan.conf /etc/thinkfan.conf | |
sudo echo 'options thinkpad_acpi fan_control=1' > /etc/modprobe.d/thinkpad_acpi.conf | |
sudo reboot # for the modprobes to work | |
sudo emacs /etc/defaults/thinkfan # change START=no to START=yes | |
``` |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
/** ${1:Description of function} | |
* | |
* @param ${2:Parameter1 - blah blah} | |
* @return ${3:Return value - blah blah} | |
*/]]></content> | |
<tabTrigger>docs</tabTrigger> | |
<scope>source.scala</scope> | |
<description>Insert a scaladoc comment block</description> |