Skip to content

Instantly share code, notes, and snippets.

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

jenniecoffee kimjayney

🏠
Working from home
View GitHub Profile
@kimjayney
kimjayney / readme.sh
Created May 18, 2021 16:08 — forked from thiagomarini/readme.sh
How to install supervisor on Amazon Linux
# Install it as a yum package instead of throgh pip (will save you from lots of hassle)
# first get epel
sudo amazon-linux-extras install epel
# then install supervisor
sudo yum install supervisor
@kimjayney
kimjayney / readme.md
Last active May 30, 2020 04:20
MacBook Air Turbo Boost Disable/Enable command line / script

Turbo Boost Disabler/Enabler

  • Macbook Air i5 2020 Catalina 10.15.5 works.
  • but sleep after sometimes t/b enabled. - need to fix
  • no reboot required

requirements

  • clone repository
git clone https://github.com/rugarciap/Turbo-Boost-Switcher/
FROM ricardbejarano/nginx
ADD nginx.conf /etc/nginx/nginx.conf
@kimjayney
kimjayney / nginx.conf
Last active March 23, 2019 06:13
nginx
server {
listen 80;
server_name _;
return 444; # "Connection closed without response"
}
server {
listen 443 ssl http2 default_server;
server_name _;
ssl on;
ssl_certificate /etc/nginx/cert/server.crt;
@kimjayney
kimjayney / guide.md
Last active August 16, 2019 07:17
hackintosh ga p67a-ud3-b3 Sierra Guide

HackinTosh Spec

  • MB : ga p67a-ud3-b3
  • CPU : E3-1270 v2 3.50Ghz
  • RAM : 12GB
  • VGA : GTX 1060
  • Sound Card : ALC889

Works

  • Ethernet
  • VGA with Acceleration
@kimjayney
kimjayney / initscript
Created April 27, 2018 06:42
docker install
#!/bin/bash
sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
  • /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
@kimjayney
kimjayney / Stackscript
Last active October 3, 2017 13:33
Linode Nodebalancer SSL Automate with Stackscript, tested on CentOS 7
#!/bin/bash
# <UDF name="APIKEY" label="linode API Key"/>
# <UDF name="NODENAME" label="SSL Linode name"/>
# <UDF name="DOMAIN" label="HTTPS domain" />
# <UDF name="BALANCERNAME" label="Nodebalancer Name" />
cd ~
# If have error, Check Stackscript.log on Node with SSL Prompt