Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Single and Ready to Mingle

Jolli McBee jmcbee

💭
Single and Ready to Mingle
View GitHub Profile
@FrozenCow
FrozenCow / PKGBUILD
Created May 1, 2015
PKGBUILD for Android Studio 1.2.0.12
View PKGBUILD
# Maintainer: danyf90 <daniele.formichelli@gmail.com>
# Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
# Contributor: Christoph Brill <egore911-at-gmail-dot-com>
# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
pkgname=android-studio
pkgver=1.2.0.12
pkgrel=1
_build=141.1890965
@sergejmueller
sergejmueller / nginx.conf
Last active Apr 20, 2021
Stop search engines from indexing .txt, .log, .xml, .css and .js files in Nginx
View nginx.conf
location ~* \.(txt|log|xml|css|js)$ {
add_header X-Robots-Tag noindex;
}
@raddeus
raddeus / app.js
Last active Apr 27, 2021
Basic Express 4.0 Setup with connect-flash
View app.js
var express = require('express');
var session = require('express-session');
var cookieParser = require('cookie-parser');
var flash = require('connect-flash');
var app = express();
app.use(cookieParser('secret'));
app.use(session({cookie: { maxAge: 60000 }}));
app.use(flash());
@chuckg
chuckg / SPLUNK_RECIPES.md
Last active May 18, 2020
Splunk Storm recipes for Heroku logs.
View SPLUNK_RECIPES.md

Splunk Recipes for Heroku

A collection of Splunk recipes for Heroku logs. Instructions for setting up Splunk Storm with Heroku can be found here. For the vast majority of these recipes you'll need to have enabled the Heroku labs feature, log-runtime-metrics, for your application.