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
| (define-derived-mode typescriptreact-mode web-mode "TypescriptReact" | |
| "A major mode for tsx.") | |
| (use-package typescript-mode | |
| :mode (("\\.ts\\'" . typescript-mode) | |
| ("\\.tsx\\'" . typescriptreact-mode))) | |
| (use-package eglot | |
| :ensure t | |
| :defer 3 |
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
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| # Other examples: | |
| # set -g @plugin 'github_username/plugin_name' | |
| # set -g @plugin 'github_username/plugin_name#branch' | |
| # set -g @plugin '[email protected]:user/plugin' | |
| # set -g @plugin '[email protected]:user/plugin' |
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
| (use-package denote | |
| :straight t | |
| :config | |
| ;; (require 'org) | |
| (require 'denote-org-dblock) | |
| (require 'denote-journal-extras) | |
| (denote-rename-buffer-mode 1) | |
| (add-hook 'dired-mode-hook #'denote-dired-mode) |
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
| ;;; ox-taskjuggler.el --- TaskJuggler Back-End for Org Export Engine | |
| ;; | |
| ;; Copyright (C) 2007-2014 Free Software Foundation, Inc. | |
| ;; | |
| ;; Emacs Lisp Archive Entry | |
| ;; Filename: ox-taskjuggler.el | |
| ;; Author: Christian Egli | |
| ;; Nicolas Goaziou <n dot goaziou at gmail dot com> | |
| ;; Maintainer: Christian Egli | |
| ;; Keywords: org, taskjuggler, project planning |
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
| # unregister broken GHC packages. Run this a few times to resolve dependency rot in installed packages. | |
| # ghc-pkg-clean -f cabal/dev/packages*.conf also works. | |
| function ghc-pkg-clean() { | |
| for p in `ghc-pkg check $* 2>&1 | grep problems | awk '{print $6}' | sed -e 's/:$//'` | |
| do | |
| echo unregistering $p; ghc-pkg $* unregister $p | |
| done | |
| } | |
| # remove all installed GHC/cabal packages, leaving ~/.cabal binaries and docs in place. |
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
| app.controller('Ctrl1', function($scope, DataFactory) { | |
| // bind the controller property to the service collection | |
| this.items = DataFactory.items; | |
| // watch the collection for changes | |
| $scope.$watch(watchSource, function(current, previous){ | |
| this.items = current; | |
| }); | |
| function watchSource(){ |
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
| set number | |
| " Folding | |
| augroup vimrc | |
| au BufReadPre * setlocal foldmethod=indent | |
| au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif | |
| augroup END | |
| " set smartindent | |
| set tabstop=2 |
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
| set number | |
| " Folding | |
| augroup vimrc | |
| au BufReadPre * setlocal foldmethod=indent | |
| au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif | |
| augroup END | |
| " Fix for either airline or | |
| " powerline uis |
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
| /** | |
| * Google-style progress indicator (process) | |
| */ | |
| .progress { | |
| display: inline-block; | |
| font-size: 50px; /* Size of the progress indicator */ | |
| width: 1em; | |
| height: 1em; | |
| border: 0 solid grey; |
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
| /** | |
| * urlencoded SVG checkerboard | |
| */ | |
| min-height: 300px; | |
| background: tan url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%2358a"><rect x="50" width="50" height="50" /><rect y="50" width="50" height="50" /></svg>'); | |
| background-size: 20px 20px; |
NewerOlder