Skip to content

Instantly share code, notes, and snippets.

View bnortman's full-sized avatar
🎯
Focusing Dependency Mapping

Cap10Bill bnortman

🎯
Focusing Dependency Mapping
View GitHub Profile
@maxivak
maxivak / _readme.md
Last active June 8, 2022 06:19
Vagrant with Ubuntu 16.04 in VirtualBox

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

Prepare Vagrant box with Ubuntu 16.04

We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.

  • Vagrantfile
¢‿¢
©¿© o
ª{•̃̾_•̃̾}ª
¬_¬
¯\(º_o)/¯
¯\(º o)/¯
¯\_(⊙︿⊙)_/¯
¯\_(ツ)_/¯
°ω°
°Д°
@Shourai
Shourai / namecheap SSL.md
Created October 21, 2017 12:49
Letsencrypt SSL certificate with namecheap hosting

source: https://savedlog.com/uncategorized/letsencrypt-ssl-certificate-namecheap-hosting/

The “Positive SSL” certificate I bought along with my domain is invalid with any of my subdomains and cannot be used with wildcards. One annoying thing is that namecheap doesn’t offer auto installation of free let’s encrypt certificates, even though, they are saying “Namecheap is dedicated to data security and privacy for all internet users. We believe the movement to encrypt nearly all web traffic is a positive direction. As more sites embrace HTTPS and use of security products, providers of free SSL are beginning to come online.”

Let me show you what it needs to be done in order to “encrypt nearly all web traffic”.

First, not required but it’s helpful to enable ssh access, it is not enabled by default on the base hosting plans, just go an start a live chat and request ssh access.

@ebcodes
ebcodes / README.md
Last active July 9, 2019 01:19
Slack Dark Theme 3.4.2

Instructions (works with v3.4.2)

  • Download Slack (Linux: https://slack.com/downloads/linux)
  • Download the theme from https://github.com/laCour/slack-night-mode (or use the below css file)
  • Modify index.js if you like and add to /Applications/Slack.app/Contents/Resources/extracted/src/static (override the original)
    • Windows: %homepath%\AppData\Local\slack\app-3.4.2\resources\app.asar.unpacked\src\static (use forward slashes in ssb-interop.js and index.js)
    • Linux (Debian based): /usr/lib/slack/...
    • Linux (Not Working Currently! -- Fedora - Flatpak version): /var/lib/flatpak/app/com.slack.Slack/current/active/files/extra/lib/slack/resources/app.asar.unpacked/
    • Linux (RPM/DEB verson): /usr/lib/slack/resources/app.asar.unpacked/
  • Modify ssb-interop.js to point the correct CSS file near the bottom of the script below
  • Modify index.js below (lines 8-13)
@sebmarkbage
sebmarkbage / The Rules.md
Last active April 12, 2025 17:55
The Rules of React

The Rules of React

All libraries have subtle rules that you have to follow for them to work well. Often these are implied and undocumented rules that you have to learn as you go. This is an attempt to document the rules of React renders. Ideally a type system could enforce it.

What Functions Are "Pure"?

A number of methods in React are assumed to be "pure".

On classes that's the constructor, getDerivedStateFromProps, shouldComponentUpdate and render.