Skip to content

Instantly share code, notes, and snippets.

View lookingcloudy's full-sized avatar

lookingcloudy

View GitHub Profile
client
dev tun
# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one. On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap
@lookingcloudy
lookingcloudy / install-teamcity.md
Created November 28, 2015 15:21 — forked from sandcastle/install-teamcity.md
Install TeamCity 9.0.3 on Ubuntu with Nginx
@lookingcloudy
lookingcloudy / Basic reverse proxy configuration
Last active November 10, 2015 12:49
NGinX sample configuration
upstream myservers {
server 10.10.120.10:8080;
}
server {
listen 80 default_server;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl default_server;
@lookingcloudy
lookingcloudy / slack-skype.coffee
Created November 2, 2015 14:58 — forked from kemayo/slack-skype.coffee
Hubot plugin to drop a skype conference call link into the chat
# Description
# Drop a link into chat which will work as a skype conference call for the requested user
#
# Dependencies:
# "slack-node": "^0.0.95"
# "hubot-slack-attachment": "^1.0.0"
#
# Configuration:
# HUBOT_SLACK_TOKEN
# HUBOT_SLACK_INCOMING_WEBHOOK
@lookingcloudy
lookingcloudy / moteino_sms.js
Last active September 13, 2022 00:17
Moteino SMS Gateway
/**
* Created by brad on 10/24/15.
*/
/*
* USER DEFINED SETTINGS
*/
var twilio_sid = 'your-sid-here';
var twilio_auth = 'your-key-here';
var socketURL = 'http://10.0.0.8:8080'; // assumes this runs on the gateway Pi
@lookingcloudy
lookingcloudy / hubot.conf
Created September 18, 2015 01:10
Hubot on Digital Ocean
#!upstart
description "Hubot Service"
start on runlevel [2345]
stop on runlevel [06]
env HUBOT_DIR='/opt/hubot/'
env HUBOT='bin/hubot'
@lookingcloudy
lookingcloudy / main.html
Last active August 29, 2015 14:27
Meteor with Materialize
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" charset="utf-8"/>
<meta name="description" content="grocery list savings messenger"/>
<link rel="icon" href="/public/images/favicon.ico"/>
<title>Listory</title>
</head>
<body>
<nav class="light-blue lighten-5" role="navigation">
@lookingcloudy
lookingcloudy / readme
Created December 1, 2014 01:57
Setup internal DNS server using DNSMasq on OMV server
# This is for a home network
# My OMV server is: 10.0.0.99
# I kept DHCP running on my router for simplicity
# Install dnsmasq
apt-get install dnsmasq
# Edit the configuration file
nano /etc/dnsmasq.conf
@lookingcloudy
lookingcloudy / client.opvn
Last active March 16, 2023 05:38
Setup OpenVPN on Open Media Vault Server
#sample client configuration file
#place the ca.crt, client.crt, and client.key
#in the same folder as this configuration file.
#Import this into your OpenVPN client
client
dev tun
proto udp
# change this to the IP or name of your server
@lookingcloudy
lookingcloudy / owncloud-omv
Last active October 6, 2018 15:38
nginx configuration for owncloud running on OMV
## NGINX Configuration file for owncloud 7 running on Open Media Vault version 1
server {
listen [::]:8443 default_server ipv6only=off ssl deferred;
ssl_certificate /etc/ssl/certs/openmediavault-bcdd5585-47e8-4bc3-a069-b3e21bbcee7e.crt;
ssl_certificate_key /etc/ssl/private/openmediavault-bcdd5585-47e8-4bc3-a069-b3e21bbcee7e.key;
server_name owncloud;
root /var/www/owncloud;
index index.php;
autoindex off;