GithubHelp home page GithubHelp logo

mrpbboss / general Goto Github PK

View Code? Open in Web Editor NEW

This project forked from starcry/general

0.0 0.0 0.0 32 KB

general coding goodness that doesn't belong anywhere else

Shell 67.36% PowerShell 13.56% Dockerfile 12.12% Vim Script 6.95%

general's Introduction

REPO FOR AWESOME TECHY TECHY STUFF

This is just a place where I put things that I often use for work and play.

.bashrc and .vimrc

just useful stuff to both, either append them or add them with source

plugin stuff for vim

plugin commands

|---|---|

Command Description
PlugInstall [name ...] [#threads ] Install plugins
PlugUpdate [name ...] [#threads] Install or update plugin
PlugClean[!] Remove unlisted plugins (bang version will clean without prompt)
PlugUpgrade Upgrade vim-plug itself
PlugStatus Check the status of plugins
PlugDiff Examine changes from the previous update and the pending changes
PlugSnapshot[!] [output path] Generate script for restoring the current snapshot of the plugins
--- ---

Windows

in my current role I have to use windows so all my Linux magic happens on a VM, here's how I set everything up

  1. Install hyper-v if you don't already have it
  2. Download your prefered linux distro, I use Ubuntu server
  3. Setup your instance via hyper-v
  4. Hyper-v doesn't automatically give the IP of Linux instance because... reasons? ยฏ\_(ใƒ„)_/ Whatever the reason the instructions to see the IP are here
    • run this in the terminal
      • sudo apt-get install "linux-cloud-tools-$(uname -r)"
      • you may have to play around with this a bit, install some other stuff and/or restart your machine
    • Congratulations now you can get the IP and ssh in
  5. Next you'll need to mount a shared directory (directory!!!! Not folder, we're engineers not users)
    1. this URL covers the windows side far better than I can
    2. add this to your bashrc
      • alias msha="sudo mount -t cifs //<computer name>/<path to shared directory> ~/shared -o user=$(whoami),uid=$UID,gid=$(getent group $(whoami) | cut -d ':' -f3)"
    3. restart your bash and msha should automatically mount the directory
      • You'll probably notice that everything has execute, not sure why that is the case yet or how to fix it

general's People

Contributors

starcry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.