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
ModuleSyntaxError: Syntax error in file <blogger_bridge.py> line <82>: | |
Syntax errors in file blogger_bridge.py: | |
* line 23: invalid syntax ... fixed | |
* line 82: expected an indented block ... raised! | |
Traceback (most recent call last): | |
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/decorators.py", line 53, in newfunc | |
return func(*args, **kwds) | |
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 274, in completions | |
return _CodeAssist(self, self.env).completions() | |
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 593, in completions |
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
""" | |
SQLAlchemy, PostgreSQL (psycopg2), and autocommit | |
See blog post: http://oddbird.net/2014/06/14/sqlalchemy-postgres-autocommit/ | |
""" | |
from contextlib import contextmanager | |
from sqlalchemy import create_engine, event | |
from sqlalchemy.orm import sessionmaker, Session as BaseSession |
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
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property 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
;; File has moved over to https://github.com/kaushikgopal/dotfiles/blob/master/.karabiner.edn | |
;; Feel free to raise github issues in that repo, if you have questions/comments/edits |
These files illustrate the way that I have set up Nix and Home Manager for standalone use on macOS on both an Intel and Apple Silicon machine, in case the examples are useful to anyone. Some of the configuration is separated out into separate files in configs/
which get imported in home.nix
. Some of my existing dotfiles are placed in dotfiles/
and then symlinked in by Nix to the location that that the system expects to find them.
It is a work in progress so currently I am handling installation of R separately.
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
;;; eglot-booster.el --- boost eglot using emacs-lsp-booster -*- lexical-binding: t; -*- | |
;; Copyright (C) 2024 J.D. Smith | |
;;; Commentary: | |
;; **UPDATE** This has been superseded by the following package: | |
;; https://github.com/jdtsmith/eglot-booster | |
;; | |
;; Boost eglot with emacs-lsp-booster. | |
;; 1. Download a recent emacs-lsp-booster from |