Skip to content

Instantly share code, notes, and snippets.

View justin-vanwinkle's full-sized avatar

Justin VanWinkle justin-vanwinkle

View GitHub Profile
{
"name": "Cardano Cloud Pool",
"description": "One pool to rule them all",
"ticker": "CCP",
"homepage": "https://cardano-cloud.com"
}
#!/bin/bash
echo "vm.nr_hugepages=128" > /etc/sysctl.d/60-hugepages.conf
echo "* - memlock 262144" > /etc/security/limits.d/60-memlock.conf
echo "root - memlock 262144" >> /etc/security/limits.d/60-memlock.conf
# this requires a reboot
./xmr-stak-rx --url stratum+tcp://randomxmonero.usa-east.nicehash.com:3380 --user 3N7woHKQqpWA8HdgSFBugiDkzkDT6KBaCV.cpu01 --pass "" --use-nicehash --currency monero --noDevSupport
wget https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
@justin-vanwinkle
justin-vanwinkle / spacemacs-keybindings
Created September 1, 2020 13:44 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
"You are what you measure" - Jared Porcenaluk
@justin-vanwinkle
justin-vanwinkle / selenium-grid-node.sh
Created December 17, 2019 18:49
starts a selenium grid node
#!/bin/bash
hubhost=$0
docker run -d -e HUB_HOST=$hubhost -e HUB_PORT=4444 -e START_XVFB=false -e NODE_MAX_INSTANCES=2 -e NODE_MAX_SESSION=2 -v /dev/shm:/dev/shm selenium/node-chrome
@justin-vanwinkle
justin-vanwinkle / gnome-settings.sh
Created September 18, 2019 14:36
My preferred settings for Gnome
#!/bin/bash
# alt-tab only switches items in the current workspace
gsettings set org.gnome.shell.app-switcher current-workspace-only true
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
Import-Module -Name posh-git
Import-Module Get-ChildItemColor
Start-SshAgent
config:
payload:
path: "./z9.csv"
fields:
- zip4
- zip
defaults:
headers:
x-my-service-auth: 'sample header'
environments:
using System.Collections.Generic;
using System.Linq;
namespace PowerDMS.Main
{
public class Interview
{
/// <summary>
/// Compares two strings for an anagram
/// </summary>
@justin-vanwinkle
justin-vanwinkle / news-feed.opml
Last active October 26, 2017 13:13
My news sources packed into an OPML. RSS readers use this format to pull from each individual source contained within.
<opml version="1.0">
<head>
<title>Justin VanWinkle Essential News</title>
</head>
<body>
<outline text="Hacker News" title="Hacker News" type="rss" xmlUrl="http://news.ycombinator.com/rss" htmlUrl="https://news.ycombinator.com/"/>
<outline text="Medium - Editor' Picks" title="Medium - Editor' Picks" type="rss" xmlUrl="https://medium.com/feed/frontpage-picks" htmlUrl="https://medium.com/editors-picks"/>
<outline text="Medium - Entrepreneurship" title="Medium - Entrepreneurship" type="rss" xmlUrl="https://medium.com/feed/topic/entrepreneurship" htmlUrl="https://medium.com/topic/entrepreneurship"/>
<outline text="Medium - Business" title="Medium - Business" type="rss" xmlUrl="https://medium.com/feed/topic/entrepreneurship" htmlUrl="https://medium.com/topic/entrepreneurship"/>
<outline text="Designer News" title="Designer News" type="rss" xmlUrl="https://www.designernews.co/?format=rss" htmlUrl="https://www.designernews.co"/>