Skip to content

Instantly share code, notes, and snippets.

View sidcarter's full-sized avatar

Khader Syed sidcarter

View GitHub Profile
@sidcarter
sidcarter / install.sh
Created January 26, 2020 04:53 — forked from ewnd9/install.sh
google's deepdream ubuntu installation
# sources
# http://www.scipy.org/install.html
# http://sohliloquies.blogspot.ru/2015/07/setting-up-deep-dream-google-researchs.html
# https://github.com/BVLC/caffe/wiki/Ubuntu-14.04-VirtualBox-VM
# ~2gb dependencies
mkdir deep-dream && cd deep-dream
sudo apt-get install subversion cmake
@sidcarter
sidcarter / VIA Porting Info.md
Created July 14, 2019 04:47 — forked from nooges/VIA Porting Info.md
Info on adding VIA Configurator support to a board using QMK

Making a board compatible with VIA Configurator

💥NOTE💥: Don't do this yet, all of this stuff is still 🚑💣BLEEDING EDGE💣🚑, and you will 🔪cut yourself🔪 badly if you choose to do it. Please wait for 🗿Wilba's QMK code to be refactored prior to pushing anything to QMK, as we don't want to end up with a bunch of different forks of the code.

So you've seen VIA Configurator in action, and you want to get this magic supported for your board?

There's two main steps:

  1. Add dynamic keymap support to keyboard in QMK
  2. Add layout to VIA
@sidcarter
sidcarter / azure-linux-extension.sh
Created November 9, 2017 19:03
Some magic to use on an Azure VM - CentOS only, but can be easily changed for Debian/Ubuntu
#!/usr/bin/env bash
set -x
yum -y install epel-release
yum -y install jq unzip
# get environment variables from tags
INSTANCE_METADATA=$(curl -s -H Metadata:true "http://169.254.169.254/metadata/instance?api-version=2017-08-01")
TAGS=$(echo $INSTANCE_METADATA | jq -r .compute.tags )
@sidcarter
sidcarter / debian-docker.sh
Created June 27, 2017 02:26
Setup Docker on Debian 9 "Stretch"
#!/usr/bin/env bash
apt-get update
apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
@sidcarter
sidcarter / packer.sls
Created May 17, 2015 15:14
packer state
{% set version = '0.7.5' %}
{% set sha256_hash = '8fab291c8cc988bd0004195677924ab6846aee5800b6c8696d71d33456701ef6' %}
packer:
archive:
- extracted
- name: /usr/local/bin/
- source: https://dl.bintray.com/mitchellh/packer/packer_{{version}}_linux_amd64.zip
- source_hash: sha256={{sha256_hash}}
- archive_format: zip
@sidcarter
sidcarter / .gemrc
Created March 2, 2014 17:39
my .gemrc
verbose: true
update_sources: true
gem: --no-document --user-install
benchmark: false
bulk_threshold: 1000
backtrace: false
sources:
- http://gems.rubyforge.org/
- http://gems.github.com