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
{ | |
description = "runme application"; | |
inputs = { | |
nixpkgs.url = "nixpkgs"; # Resolves to github:NixOS/nixpkgs | |
# Helpers for system-specific outputs | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: |
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
(defun quiet-auto-revert () | |
"A hook to run for buffers you want to revert automatically and silently" | |
(auto-revert-mode 1) | |
(setq-local auto-revert-verbose nil)) | |
;; you can also make auto-revert-verbose nil globally, but I like to avoid global changes if I can | |
(add-hook 'dired-mode-hook #'quiet-auto-revert t nil) | |
;; you can add this to any other mode's hook, as it will be compatible |
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
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el | |
index b0ff3c2..82cf122 100644 | |
--- a/lisp/pdf-annot.el | |
+++ b/lisp/pdf-annot.el | |
@@ -981,6 +981,7 @@ other annotations." | |
(pdf-cache-renderpage-highlight | |
page (car size) | |
`("white" "steel blue" 0.35 ,@edges)) | |
+ :width (car size) | |
:map (pdf-view-apply-hotspot-functions |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Apr 24 16:30:42 2018 | |
@author: deargle | |
""" | |
from sklearn.feature_extraction.text import TfidfVectorizer | |
from nltk.stem.porter import PorterStemmer | |
import nltk |
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
/** | |
* K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex") | |
* | |
* More language ports, as well as legacy 2014 OpenSimplex, can be found here: | |
* https://github.com/KdotJPG/OpenSimplex2 | |
*/ | |
public class OpenSimplex2S { | |
private static final long PRIME_X = 0x5205402B9270C86FL; |