Skip to content

Instantly share code, notes, and snippets.

View berkeleynerd's full-sized avatar
:octocat:

Rebecca berkeleynerd

:octocat:
  • Reykjavik, Iceland
  • 10:48 (UTC -12:00)
View GitHub Profile
@berkeleynerd
berkeleynerd / git.settings.inf
Last active November 7, 2021 10:02
Happy-Path Settings for Git for Windows
[Setup]
Lang=default
Dir=C:\Program Files\Git
Group=Git
NoIcons=0
SetupType=default
Components=ext,ext\shellhere,ext\guihere,gitlfs,assoc,windowsterminal
Tasks=
EditorOption=Notepad
CustomEditorPath=
@berkeleynerd
berkeleynerd / goland.config
Last active November 7, 2021 10:01
goland.config
; Installation mode. It can be user or admin.
; NOTE: for admin mode please use "Run as Administrator" for command prompt to avoid UAC dialog.
mode=user
; Desktop shortcut for launchers
launcher32=0
launcher64=1
; Add launchers path to PATH env variable
updatePATH=1
@berkeleynerd
berkeleynerd / Microsoft.PowerShell_profile.ps1
Created November 7, 2021 09:58
PowerShell profile script adding git branch information
function Write-BranchName () {
try {
$branch = git rev-parse --abbrev-ref HEAD
if ($branch -eq "HEAD") {
# we're probably in detached HEAD state, so print the SHA
$branch = git rev-parse --short HEAD
Write-Host " ($branch)" -ForegroundColor "red"
}
else {
@berkeleynerd
berkeleynerd / instructions.md
Created April 12, 2022 11:40 — forked from 1ma/instructions.md
VSCode Ada Debugging
  1. Enable Allow breakpoints everywhere setting

  2. Install both the C/C++ and Language Support for Ada extensions from VSCode Marketplace.

  3. Add a .vscode/launch.json file to your project, adapting the "program" line as necessary:

{
   "version": "0.2.0",
 "configurations": [
@berkeleynerd
berkeleynerd / oh-my-zsh
Created July 27, 2022 23:34 — forked from dynax60/oh-my-zsh
Oh-my-zsh on OpenBSD
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.0/packages/i386
$ sudo pkg_add -v zsh-4.3.12 git-1.7.6p0
$ chsh -s /usr/local/bin/zsh
$ git clone git://github.com/robbyrussell/oh-my-zsh.git
$ mv oh-my-zsh .oh-my-zsh
$ cp .oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
@berkeleynerd
berkeleynerd / setup.py
Created March 29, 2024 13:48 — forked from duggan/setup.py
OpenVoice updated setup.py for running on Apple Silicon with Python 3.11
from setuptools import setup
setup(name='MyShell-OpenVoice',
version='0.0.0',
description='Instant voice cloning by MyShell.',
long_description=open('README.md').read().strip(),
long_description_content_type='text/markdown',
keywords=[
'text-to-speech',
'tts',