shift3 / laptop Goto Github PK
View Code? Open in Web Editor NEWSetup any computer with sensible and extensible defaults for git, packages, editors and dotfiles.
License: MIT License
Setup any computer with sensible and extensible defaults for git, packages, editors and dotfiles.
License: MIT License
What do we think of https://tfswitch.warrensbox.com/? Ive been using it since May of last year and it works like nvm for terraform. We can match the exact version of terraform when doing debug sessions. Its also easier to maintain when needing specific version of terraform to deploy or get updated.
Installation instructions are pretty easy: https://tfswitch.warrensbox.com/Install/ It also seems to be well maintained.
The dotfiles should support Arch and Arch-based systems.
Not yet implemented.
pacman
.Describe the bug
Received an error while installing
Cloning into '/Users/kenclements/.zsh/completion'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Shift3 will install required software
Screenshots
Homebrew Bundle complete! 23 Brewfile dependencies now installed.
Already using zsh ...
Cloning into '/Users/kenclements/.zsh/completion'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
Desktop (please complete the following information):
Additional resources
Did a google search and found this link:
here
https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported
We took the following steps:
Used rscherer solution found roughly in the middle of the page.
Not sure if this is considered a bug on our end since the error occurs with certain versions of macOS.
Starting with Catalina, the vertical
value generates an error when starting vim:
E474: Invalid argument: diffopt+=vertical
See: thoughtbot/dotfiles#655 (comment)
Potential fix is to update the affected section in vimrc
:
if &diff
set diffopt+=vertical
endif
On an M1 Mac running Monterey, after running the laptop setup, brew is not quite recognized as a zsh command.
staging (main) # brew -v
zsh: command not found: brew
I was able to solve this by adding the following line to ~/.zshrc
:
# for mac systems this will pickup homebrew, otherwise nice to have.
export PATH="/usr/local/bin:$PATH"
export PATH="/opt/homebrew/bin:$PATH" # the fix
As we consolidate the tools we use in our repositories, it could be nice to have some of them configured here.
Not yet implemented.
https://circleci.com/docs/2.0/local-cli/#installation
https://www.terraform.io/downloads.html
At Shift3 we use AWS frequently enough to where the aws
and eb
cli's should be installed by default.
I got the following warning on a new Macbook Pro 2019:
Mac OS Version: 10.15.4
New setup without any customization.
Last login: Tue Apr 7 09:29:14 on ttys000
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? compinit: initialization aborted
complete:13: command not found: compdef
~ # compaudit
There are insecure directories:
/usr/local/share/zsh/site-functions
/usr/local/share/zsh
@coreyshuman / @mwallert / Anyone
Couple of questions that are related to this repo.
What does long term maintenance look like for this repo? Justin spearheaded this repo (and did an amazing job at it) but now we dont have a dedicated dev/team looking at our common tools (at least that I am aware).
Does the shop still use this in the on-boarding of new developers?
Should DevOps own this repo or Architecture? Someone else?
I personally still think it still provides value. And I would still like to se tfswitch to be part of the repo as well as more testing within the Mac OS side (Circleci or otherwise). But I would like to hear peoples thoughts and get their feedback. I have a feeling most just set and forget about these tools once the are installed.
I was running the PowerLevel10k ZSH theme and it got unset by the script.
Everything seems to still be there, I'm guessing it just got moved over to the default or other custom theme.
CircleCI does not yet (as of posting) support M1 silicon as an executor target. When they do we should test on that target as well, as developers are starting to pick up M1's, we want to ensure that laptop is compatible with Apple Silicon.
Desired Use Case
Allow the use of arrow keys in vim.
Actual/Current Behavior
Currently the arrow keys don't work. The solution is to add set nocompatible
. This option is already set in the first line. However, for some reason that I have not found it is ignored.
Steps to Implement This Feature
Move set nocompatible
lower in the file. It's no longer ignored lower in the file.
Learning
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.