Many updates, too many to count
commit messages are for code, not config I guess
This commit is contained in:
parent
23b179ad1d
commit
35c76e7098
24 changed files with 1533 additions and 427 deletions
8
snippets/haskell-mode/hlint
Normal file
8
snippets/haskell-mode/hlint
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: hlint
|
||||
# uuid:
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# key: hlint
|
||||
# condition: t
|
||||
# --
|
||||
{-# ANN module ("Hlint: ignore $1" :: String) #- }
|
||||
12
snippets/nix-mode/fetchFromGitHub
Normal file
12
snippets/nix-mode/fetchFromGitHub
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: fetchFromGitHub
|
||||
# uuid:
|
||||
# key: fetchFromGitHub
|
||||
# condition: t
|
||||
# --
|
||||
fetchFromGitHub {
|
||||
owner = "$1";
|
||||
repo = "$2";
|
||||
rev = "$3";
|
||||
sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||
}
|
||||
16
snippets/nix-mode/pythonPackage
Normal file
16
snippets/nix-mode/pythonPackage
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# key: pypkg
|
||||
# name: pythonPackage
|
||||
# condition: t
|
||||
# --
|
||||
${1:pname} = buildPythonPackage rec {
|
||||
name = "\${pname}-\${version}";
|
||||
pname = "$1";
|
||||
version = "${2:1.0.0}";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||
};
|
||||
propagatedBuildInputs = with pythonSelf; [
|
||||
$3
|
||||
];
|
||||
};
|
||||
7
snippets/nix-mode/sha256
Normal file
7
snippets/nix-mode/sha256
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: sha256
|
||||
# uuid:
|
||||
# key: sha256
|
||||
# condition: t
|
||||
# --
|
||||
sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||
13
snippets/org-mode/combat
Normal file
13
snippets/org-mode/combat
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: combat
|
||||
# uuid:
|
||||
# key: combat
|
||||
# condition: t
|
||||
# --
|
||||
| | initiative | max hp | current hp | status | |
|
||||
|-------------+------------+--------+------------+--------+------|
|
||||
| Barty Barty | | | | | <--- |
|
||||
| Hectoroth | | | | | |
|
||||
| Xanadu | | | | | |
|
||||
| Aurora | | | | | |
|
||||
| EFB | | | | | |
|
||||
6
snippets/org-mode/reveal
Normal file
6
snippets/org-mode/reveal
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# key: reveal
|
||||
# name: reveal
|
||||
# condition: t
|
||||
# --
|
||||
#+ATTR_REVEAL: :frag ${1:roll-in}
|
||||
$0
|
||||
15
snippets/python-mode/decorate
Normal file
15
snippets/python-mode/decorate
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: decorate
|
||||
# uuid:
|
||||
# key: decorate
|
||||
# condition: t
|
||||
# --
|
||||
def wrap(inner):
|
||||
@wraps(inner)
|
||||
def wrapped(*args, **kwargs):
|
||||
ret = inner(*args, **kwargs)
|
||||
return ret
|
||||
|
||||
return wrapped
|
||||
|
||||
return wrap
|
||||
7
snippets/python-mode/name
Normal file
7
snippets/python-mode/name
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: name
|
||||
# uuid:
|
||||
# key: name
|
||||
# condition: t
|
||||
# --
|
||||
__name__
|
||||
7
snippets/python-mode/pdb
Normal file
7
snippets/python-mode/pdb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: pdb
|
||||
# uuid:
|
||||
# key: pdb
|
||||
# condition: t
|
||||
# --
|
||||
import pdb; pdb.set_trace()
|
||||
Loading…
Add table
Add a link
Reference in a new issue