Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pvinis/my
test
https://github.com/pvinis/my
Last synced: about 1 month ago
JSON representation
test
- Host: GitHub
- URL: https://github.com/pvinis/my
- Owner: pvinis
- Created: 2019-05-09T08:44:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T07:33:41.000Z (3 months ago)
- Last Synced: 2024-08-28T08:50:04.011Z (3 months ago)
- Language: Ruby
- Size: 12.6 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pavlos' files
## setup a new computer
- install brew
https://brew.sh/index
- install git and mackup
```
brew install git mackup
```
name the computerrrrrrrrrr
- add ssh keys to github and gitlab
```
ssh-keygen -t rsa -b 4096 -C "[email protected]"
pbcopy < ~/.ssh/id_rsa.pub
```
https://github.com/settings/keys
https://gitlab.com/profile/keys
- clone this repo
```
git clone --recursive [email protected]:pvinis/dotfiles.git .d
```
- link all the dotfiles
```
cd .d
stow base macos git private
```1 pwpolicy getaccountpolicies > ~/Desktop/file.plist
2 sudo nano ~/Desktop/file.plist
3 Delete the first line, which says Getting global account policies to make the file valid XML
4 Change the bolded part to your Regex
policyAttributePassword matches '^$|.{4,}+'
5 pwpolicy setaccountpolicies ~/Desktop/file.plist
6 passwd
Presets:192:~ pvinis$ git clone https://github.com/pvinis/dotfiles.git .d
Me https, gia na ginei prin to ssh.Stow, ola ok
Switch to Zsh?
Run brew bundleGit clone the private stuff, after naming the system?
Creds
https://pawelgrzybek.com/change-macos-user-preferences-via-command-line/
https://github.com/mathiasbynens/dotfiles/blob/master/.macossetup zsh
nvm setup
brew bundleeeee and separate the brewfile file to work, home etcafter brew bundle, do ruby-install ~/.ruby-version to install the version i need
ruby-install?
scroll natural
## old way
```
git init --bare .d
```
then go to .d/config and make `bare = false` and `worktree = ..`
then from `~` i can do `git --git-dir=.d status`to work with magit, we need a text file `~/.git` that has `gitdir: .d` inside
that makes git work in all subdirs, so its better not to have it there always