Skip to content

Instantly share code, notes, and snippets.

Avatar

alexiscounsell firecall

View GitHub Profile
@SeanChristopherConway
SeanChristopherConway / docker-compose.yaml
Last active Sep 12, 2020
Docker Pihole with unbound for authoritative, validating, recursive caching DNS
View docker-compose.yaml
version: "3.7"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
dns: 127.0.0.1
restart: unless-stopped
links:
- unbound
@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md
Last active Oct 7, 2020
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS
View Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md

Update 28 July 2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

@jpbalarini
jpbalarini / rails_dev.md
Last active Jan 26, 2020
Mac OS Sierra Rails development
View rails_dev.md

How to configure your Mac OS for Ruby on Rails development

  1. Install Sublime Text from here
  2. Install Xcode from the AppStore
  3. Open Xcode and accept the licence
  4. Install command line tools. From the terminal run:
    xcode-select --install
    
  5. Install homebrew
@natelandau
natelandau / .bash_profile
Last active Oct 18, 2020
Mac OSX Bash Profile
View .bash_profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@jaicab
jaicab / responsive-video.css
Last active Jul 24, 2020
Pure CSS solution for embed videos with an aspect ratio of 16:9
View responsive-video.css
.video-container {
position: relative;
padding-bottom: 56.25%; /*16:9*/
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe,
.video-container object,
View NSData+Base64.h
//
// NSData+Base64.h
// base64
//
// Created by Matt Gallagher on 2009/06/03.
// Copyright 2009 Matt Gallagher. All rights reserved.
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software. Permission is granted to anyone to
@roolo
roolo / mysql2-gem-install.sh
Last active Dec 25, 2018
Fixing "Incorrect MySQL client library version! This gem was compiled for 5.5.29 but the client library is 5.6.10. (RuntimeError)" on OS X while using Brew
View mysql2-gem-install.sh
ARCHFLAGS="-arch x86_64" gem install mysql2 -- –with-mysql-config=/usr/local/bin/mysql_config
@ndarville
ndarville / business-models.md
Last active Oct 12, 2020
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.
View business-models.md

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@Abizern
Abizern / NSData+Base64.h
Created Jan 19, 2012
A category on NSData for coding and encoding Base64
View NSData+Base64.h
//
// NSData+Base64.h
// base64
//
// Created by Matt Gallagher on 2009/06/03.
// Copyright 2009 Matt Gallagher. All rights reserved.
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software. Permission is granted to anyone to
You can’t perform that action at this time.