Skip to content

Instantly share code, notes, and snippets.

@jimbrig
jimbrig / README.md
Created June 7, 2020 18:45 — forked from akashnimare/README.md
A Beginners Guide to writing a Kickass README ✍

Project title

A little info about your project and/ or overview that explains what the project is about.

Motivation

A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.

Build status

Build status of continus integration i.e. travis, appveyor etc. Ex. -

Build Status

GTD Mindsweep list

Professional

Projects started, not completed

Projects that need to be started

"Look into . . ." projects

Commitments/promises to others

@jimbrig
jimbrig / git-pushing-multiple.rst
Created June 7, 2020 18:46 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

msys2 vs msys vs msysgit
MinGW doesn't provide a linux-like environment, that is MSYS(2) and/or Cygwin
Cygwin is an attempt to create a complete UNIX/POSIX environment on Windows.
MinGW is a C/C++ compiler suite which allows you to create Windows executables - you only
need the normal MSVC runtimes, which are part of any normal Microsoft Windows installation.
MinGW provides headers and libraries so that GCC (a compiler suite,
not just a "unix/linux compiler") can be built and used against the Windows C runtime.
@jimbrig
jimbrig / r_logo.R
Created October 22, 2020 16:47 — forked from thomasp85/r_logo.R
library(magick)
library(reshape2)
library(dplyr)
library(tidygraph)
library(particles)
library(animation)
plot_fun <- function(sim) {
df <- as_tibble(sim)
plot(df$x, df$y, col = df$color, pch = '.', axes = FALSE, xlim = c(-100, 317), ylim = c(-268, 100), xlab = NA, ylab = NA)
@jimbrig
jimbrig / 00-New setup.md
Created October 22, 2020 16:56 — forked from cderv/00-New setup.md
New computer setup
# installed by winget
winget install PowerShell-Preview
winget install git
git config --global user.name "Christophe Dervieux"
git config --global user.email christophe.dervieux@gmail.com
winget install rstudio
winget install vscode
winget install -e R
winget install Github.GithubDesktop
@jimbrig
jimbrig / readme.md
Created December 17, 2020 23:34 — forked from zsoumya/readme.md
Windows Setup and Customization Guide for New Installs

Windows Setup and Customization Guide for New Installs

  • Go to Bluetooth settings and add mouse (Logitech Master 2S is my current mouse)
  • Logitech Options will ask to be auto-installed. Allow.
  • Log into Logitech Options with the Logi account.
  • Go to mouse profile and configure the middle button.

  • Go to Windows Activation settings.
  • Click Troubleshoot.
  • Windows will auto-detect edition upgrade (Windows 10 Pro For Workstations) and reboot.
@jimbrig
jimbrig / readme.md
Created December 17, 2020 23:38 — forked from zsoumya/readme.md
Docker Cheat Sheet

Docker Cheat Sheet

Stop all containers

docker container stop $(docker container ls -aq)

Remove all containers

docker container rm $(docker container ls -aq)

@jimbrig
jimbrig / Readme.md
Created December 18, 2020 22:26 — forked from deathau/Readme.md
Obsidian scss

Obsidian SASS theme switching tools

I was building up a small library of css snippets, and mixing and matching via copy-paste was getting tiresome.
So, I knocked myself up a little solution using https://sass-lang.com/
To use this solution, you need to follow the instructions on the website to install the SASS command line utility.

Instructions

For my purposes, I created a subfolder in my Obsidian vault called ./.themes where my obsidian.scss file lives. I also created a subfolder for mixins (./.themes/mixins) containing small snippets like "Andy Matuschak" mode and collapsing sidebars (and my preferred custom colours for my Base2Tone theme)

@jimbrig
jimbrig / README.md
Created January 4, 2021 03:04 — forked from rstacruz/README.md
How to install Docker in Mac, Windows, and Linux

Getting Docker

Docker is available for Linux, MacOS, and Windows.

MacOS

Docker for Mac is best installed with Homebrew and Homebrew Cask. For other ways to install on MacOS, see Install Docker for Mac in Docker's docs.

brew cask install docker # Install Docker