Deleted prometeo's configs

This commit is contained in:
Roger Gonzalez 2023-04-26 12:03:59 -03:00
parent 6b33134d7e
commit 8b5505926a
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
8 changed files with 19 additions and 60 deletions

Binary file not shown.

View File

@ -174,15 +174,10 @@
("B" "Book on the to-read-list" entry (file+headline "~/org/private.org" "Libros para leer") (file "~/org/templates/book.org") :empty-lines-after 2) ("B" "Book on the to-read-list" entry (file+headline "~/org/private.org" "Libros para leer") (file "~/org/templates/book.org") :empty-lines-after 2)
("p" "Create a daily plan") ("p" "Create a daily plan")
("pP" "Daily plan private" plain (file+olp+datetree "~/org/plan-free.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t) ("pP" "Daily plan private" plain (file+olp+datetree "~/org/plan-free.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t)
("pW" "Daily plan Prometeo" plain (file+olp+datetree "~/org/plan-work.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t)
("pX" "Daily plan X-Team" plain (file+olp+datetree "~/org/plan-xteam.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t) ("pX" "Daily plan X-Team" plain (file+olp+datetree "~/org/plan-xteam.org") (file "~/org/templates/dailyplan.org") :immediate-finish t :jump-to-captured t)
("j" "Journal entry") ("j" "Journal entry")
("jP" "Journal entry private" entry (file+olp+datetree "~/org/journal-private.org") "** %U - %^{Heading}") ("jP" "Journal entry private" entry (file+olp+datetree "~/org/journal-private.org") "** %U - %^{Heading}")
("jW" "Journal entry work" entry (file+olp+datetree "~/org/journal-work.org") "** %U - %^{Heading}")
("jX" "Journal entry X-Team" entry (file+olp+datetree "~/org/journal-xteam.org") "** %U - %^{Heading}") ("jX" "Journal entry X-Team" entry (file+olp+datetree "~/org/journal-xteam.org") "** %U - %^{Heading}")
("d" "Create a Prometeo deployment")
("dF" "Deploy features" plain (file+olp+datetree "~/org/deploy-features.org") (file "~/org/templates/deployment.org") :immediate-finish t :jump-to-captured t)
("dB" "Deploy bugs" plain (file+olp+datetree "~/org/deploy-bugs.org") (file "~/org/templates/deployment.org") :immediate-finish t :jump-to-captured t)
))) )))
;; Custom agenda views ;; Custom agenda views
(setq org-agenda-custom-commands (setq org-agenda-custom-commands
@ -286,10 +281,6 @@
(interactive) (interactive)
(setq org-agenda-files '("~/org/private.org")) (setq org-agenda-files '("~/org/private.org"))
(message "Focusing on private Org files")) (message "Focusing on private Org files"))
(defun org-focus-work() "Set focus on work things."
(interactive)
(setq org-agenda-files '("~/org/work.org"))
(message "Focusing on work Org files"))
(defun org-focus-xteam() "Set focus on X-Team things." (defun org-focus-xteam() "Set focus on X-Team things."
(interactive) (interactive)
(setq org-agenda-files '("~/org/xteam.org")) (setq org-agenda-files '("~/org/xteam.org"))
@ -357,7 +348,6 @@ text and copying to the killring."
(:prefix-map ("a" . "applications") (:prefix-map ("a" . "applications")
:desc "HTTP Status cheatsheet" "h" #'helm-httpstatus) :desc "HTTP Status cheatsheet" "h" #'helm-httpstatus)
(:prefix-map ("ao" . "org") (:prefix-map ("ao" . "org")
:desc "Org focus work" "w" #'org-focus-work
:desc "Org focus X-Team" "x" #'org-focus-xteam :desc "Org focus X-Team" "x" #'org-focus-xteam
:desc "Org focus private" "p" #'org-focus-private :desc "Org focus private" "p" #'org-focus-private
:desc "Org focus all" "a" #'org-focus-all :desc "Org focus all" "a" #'org-focus-all
@ -403,21 +393,21 @@ text and copying to the killring."
;; Dashboard mode ;; Dashboard mode
;;(use-package dashboard ;; (use-package dashboard
;;:init ;; tweak dashboard config before loading it ;; :init ;; tweak dashboard config before loading it
;;(setq dashboard-set-heading-icons t) ;; (setq dashboard-set-heading-icons t)
;;(setq dashboard-set-file-icons t) ;; (setq dashboard-set-file-icons t)
;;(setq dashboard-center-content nil) ;; set to 't' for centered content ;; (setq dashboard-center-content nil) ;; set to 't' for centered content
;;(setq dashboard-items '((recents . 5) ;; (setq dashboard-items '((recents . 5)
;;(bookmarks . 5) ;; (bookmarks . 5)
;;(projects . 5))) ;; (projects . 5)))
;;(setq dashboard-set-navigator t) ;; (setq dashboard-set-navigator t)
;;:config ;; :config
;;(dashboard-setup-startup-hook) ;; (dashboard-setup-startup-hook)
;;(dashboard-modify-heading-icons '((recents . "file-text") ;; (dashboard-modify-heading-icons '((recents . "file-text")
;;(bookmarks . "book")))) ;; (bookmarks . "book"))))
;;(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) ;; (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
;;(setq doom-fallback-buffer-name "*dashboard*") ;; (setq doom-fallback-buffer-name "*dashboard*")
(defun my/html2org-clipboard () (defun my/html2org-clipboard ()
"Convert clipboard contents from HTML to Org and then paste (yank)." "Convert clipboard contents from HTML to Org and then paste (yank)."
@ -433,19 +423,6 @@ text and copying to the killring."
(defadvice clipmon--on-clipboard-change (around stop-clipboard-parsing activate) (let ((interprogram-cut-function nil)) ad-do-it)) (defadvice clipmon--on-clipboard-change (around stop-clipboard-parsing activate) (let ((interprogram-cut-function nil)) ad-do-it))
(setq clipmon-timer-interval 1) (setq clipmon-timer-interval 1)
;; Jenkins
(require 'butler)
(add-to-list 'butler-server-list
'(jenkins "prometeo-jenkins"
(server-address . "http://jenkins.prometeoapi")
(auth-file . "~/.authinfo.gpg")))
(defun my/jenkins-verify ()
"Check if my current Jenkinsfile has the correct format"
(interactive)
(projectile-with-default-dir (projectile-acquire-root)
(message (shell-command-to-string "/usr/bin/python ~/.doom.d/scripts/check_jenkinsfile.py"))))
(after! groovy-mode (after! groovy-mode
(define-key groovy-mode-map (kbd "<f4>") 'my/jenkins-verify)) (define-key groovy-mode-map (kbd "<f4>") 'my/jenkins-verify))

View File

@ -1,3 +0,0 @@
function prometeo-jenkins
ssh rgonzalez@172.31.1.184
end

View File

@ -1,4 +0,0 @@
function prometeo-marketplace
cd ~/code/prometeo/qualia-marketplace
source .venv/bin/activate.fish
end

View File

@ -1,6 +0,0 @@
function prometeo-vpn
sudo wg-quick down wg0
pritunl-client stop r1e5vfvldadchscs
mullvad disconnect
sudo wg-quick up wg0
end

View File

@ -1,4 +0,0 @@
function prometeo
cd ~/code/prometeo/banking_api
source .venv/bin/activate.fish
end

View File

@ -1,5 +1,4 @@
function ua-vpn function ua-vpn
sudo wg-quick down wg0
pritunl-client stop r1e5vfvldadchscs pritunl-client stop r1e5vfvldadchscs
mullvad disconnect mullvad disconnect
pritunl-client start r1e5vfvldadchscs pritunl-client start r1e5vfvldadchscs

View File

@ -6,10 +6,10 @@
# |___/ # |___/
# #
keepassxc --lock keepassxc --lock
if pidof openvpn; then #if pidof openvpn; then
notify-send "Shutting down VPN" #notify-send "Shutting down VPN"
pritunl-client stop r1e5vfvldadchscs #pritunl-client stop r1e5vfvldadchscs
fi #fi
scrot /tmp/screen.png scrot /tmp/screen.png
xwobf -s 11 /tmp/screen.png xwobf -s 11 /tmp/screen.png
i3lock -i /tmp/screen.png i3lock -i /tmp/screen.png