-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
412fbed
commit 48e9194
Showing
255 changed files
with
29,879 additions
and
48 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
|
||
"jsfiddle.com", | ||
"observablehq.com", | ||
"codepen.com", | ||
"whaetever" | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
"https://macwright.com/", | ||
|
||
"jsfiddle.com", | ||
"observablehq.com", | ||
"codepen.com", | ||
"whaetever" | ||
] |
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 renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# NixOS Config | ||
|
||
https://github.com/mitchellh/nixos-config + https://zero-to-nix.com/start/install + | ||
|
||
|
||
|
||
next.js | ||
typescript | ||
trpc | ||
prismatic | ||
trailwind | ||
nextauth | ||
|
||
¿?? https://melpa.org/#/?q=%C2%B7&sort=downloads&asc=false https://emacsdocs.org/docs/elisp/Transaction-Queues | ||
golang (tensorflow) | ||
grpc | ||
sqlite | ||
tailwind | ||
nixos - linux w/ a functional package manager |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
|
||
|
||
|
||
|
||
print_step() { | ||
GREEN='\033[0;32m]' | ||
RESET='\033[9m]' # no color | ||
printf "\n${GREEN}>>> $(1)${RESET}\n\n" | ||
} | ||
|
||
|
||
# to install | ||
# curl https://raw.githubusercontent.com/adnanwahab/Dot-files/main/bootstrap.sh | sh | ||
# curl aw.com/install.sh | sh | ||
# | ||
# | ||
|
||
git clone https://github.com/adnanwahab/Dot-files | ||
mv Dot-files ~/.config/ | ||
cd ~/.config/Dot-files | ||
|
||
print_step "Install Nix" | ||
|
||
|
||
curl -L https://nixos.org/nix/install | sh -s -- --no-daemon | ||
|
||
. /home/awahab/.nix-profile/etc/profile.d/nix.sh | ||
|
||
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz | ||
nix-channel --update | ||
|
||
nix-shell '<home-manager>' -A install | ||
|
||
|
||
|
||
print_step "sym linking" | ||
ln -s ~/.config/Dot-files/home-manager ./home-manager/ | ||
|
||
# git clone doom | ||
# ./doom/bin/install | ||
# | ||
ln -s ~/.config/Dot-files/doom ./doom/ | ||
|
||
print_step "Everything is settled up, now restart and enjoy your new machine." |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
;;; ../Dot-files-main/doom/+apm.el -*- lexical-binding: t; -*- | ||
;; APM (Application Performance Management) | ||
(require 'gptel) | ||
(gptel-make-ollama "baka" ;Any name of your choosing | ||
:host "localhost:11434" ;Where it's running | ||
:stream t ;Stream responses | ||
:models '("mistral:latest")) | ||
|
||
(setq deft-directory "~/Documents/fortress_of_solitude/") | ||
(after! deft | ||
(setq deft-default-extension "org")) | ||
|
||
(defun gptel-rewrite-and-replace (bounds &optional directive) | ||
(interactive | ||
(list | ||
(cond | ||
((use-region-p) (cons (region-beginning) (region-end))) | ||
((derived-mode-p 'text-mode) | ||
(list (bounds-of-thing-at-point 'sentence))) | ||
(t (cons (line-beginning-position) (line-end-position)))) | ||
(read-string "write good code."))) | ||
(gptel-request | ||
(buffer-substring-no-properties (car bounds) (cdr bounds)) ;the prompt | ||
:system (or directive "only best code. ty.") | ||
:buffer (current-buffer) | ||
:context (cons (set-marker (make-marker) (car bounds)) | ||
(set-marker (make-marker) (cdr bounds))) | ||
:callback mydick)) | ||
|
||
;;(global-set-key (kbd "C-\\") 'gptel-rewrite-and-replace) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
;;; ../Dot-files-main/doom/+git.el -*- lexical-binding: t; -*- | ||
;; Git | ||
(map! :after magit "C-c C-g" #'magit-status) |
Oops, something went wrong.