Skip to content

Instantly share code, notes, and snippets.

View zachcb's full-sized avatar
🏠
Working from home

Zach Barnes zachcb

🏠
Working from home
  • Columbia, SC
  • 17:33 (UTC -04:00)
View GitHub Profile
@zachcb
zachcb / wsl.md
Last active February 15, 2022 20:57
Windows WSL

Steps

  • Follow this Setup
  • Make sure Node is in Windows Path
  • Add .wslconfig
  • Activate Docker WSL to Ubuntu in Docker App Settings
  • Git clone from inside WSL, not Windows
  • Symlink to directory
  • Use yarn start-lite
    • Yarn uses a lot of resources in Windows
@zachcb
zachcb / proposal.md
Last active February 10, 2022 01:31
Hackathons for Formative

Hackathons for Formative

Why?

Hackathons are a great opprotunity to learn new technologies, work with different coworkers, and be a cataylst for products that may have viability. They can give a chance for you to fix your biggest issue with our current products, create great new features, or pave a new path.

Guidelines

Duration

@zachcb
zachcb / install.sh
Last active August 19, 2020 20:34
PGBLITZ
#!/bin/bash
#
# Title: PGBlitz (Reference Title File)
# Author(s): Admin9705 - Deiteq - Sub7Seven
# URL: https://pgblitz.com - http://github.pgblitz.com
# GNU: General Public License v3.0
################################################################################
# Upgrade
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
@zachcb
zachcb / ExampleComponent.vue
Last active February 28, 2019 19:48
Vuex Loading Setup
<template></template>
<script>
import { mapActions, mapGetters, mapState } from "vuex";
import formMixin from "@/mixins/form";
import { ifErrorGetMessage } from "@/forms/utils";
import { defaults, messages, validations } from "@/forms/login";
import TemplateCard from "./TemplateCard";
const formName = "login";
@zachcb
zachcb / fileoutput.sh
Created June 26, 2018 02:02
Output file info and compress
#!/bin/sh
# Initializations
file=$1
# wc command gets word, line, bytes count
# < input operator gets info from file so filename is not added
lines=$(wc -l < "$file")
words=$(wc -w < "$file")
characters=$(wc -m < "$file")
@zachcb
zachcb / gist:6b0b7cb737b7e5a140740de64ae547bf
Last active June 2, 2018 23:22
Installing Hackintosh
Guide that works best
https://www.tonymacx86.com/threads/success-5k-high-sierra-ga-h170n-wifi-gtx-960-dell-up2715k.238500/
If it has issues installing, uncheck nvidia disable option
waiting on ioproviderclass, apple apfs error - fixed by removing smbios device in config
https://www.tonymacx86.com/threads/success-5k-high-sierra-ga-h170n-wifi-gtx-960-dell-up2715k.238500/
-GraphicsEnabler=no -x
@zachcb
zachcb / Setup.md
Last active December 11, 2017 00:06
L2TP over IPsec Connection to Meraki on Ubuntu 16.xx - 17.xx