From 81ccc83ecc008b6d2be04f181b3a1ec7375a77d6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 14:42:52 -0800 Subject: twitter: remove pants checker/change work-machine --- emacs/custom/fcuny-defuns.el | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'emacs') diff --git a/emacs/custom/fcuny-defuns.el b/emacs/custom/fcuny-defuns.el index 48a9d97..974d8c8 100644 --- a/emacs/custom/fcuny-defuns.el +++ b/emacs/custom/fcuny-defuns.el @@ -13,18 +13,7 @@ (defun fcuny/check-work-machine-p () "Returns t if this is a work machine" - (string-match "tw-mbp.*" (system-name))) - -(defun fcuny/build-python-checker () - "Compiles a newer version of the checker for Python." - (interactive) - (let ((output (make-temp-file "checker-foo")) - (errors (make-temp-file "checker-errors")) - (default-directory "~/workspace/source")) - (let ((status (call-process "~/workspace/source/pants" nil `(,output ,errors) nil "-q" "binary" "src/python/twitter/devprod/checkstyle:check"))) - (if (zerop status) - (message "Built check.pex successfully") - (message (buffer-file-name output)))))) + (string-match "HQ\\.*" (system-name))) ;; from https://karl-voit.at/2014/08/10/bookmarks-with-orgmode/ (defun fcuny/string-replace (this withthat in) -- cgit 1.4.1