Skip to content

Instantly share code, notes, and snippets.

View baumannsven's full-sized avatar

Sven Baumann baumannsven

  • way.vision
  • Deutschland
View GitHub Profile
@rueycheng
rueycheng / GNU-Make.md
Last active May 26, 2024 17:17
GNU Make cheatsheet
@dtomasi
dtomasi / default
Last active December 8, 2023 04:20
Brew Nginx PHP7
server {
listen 80;
server_name localhost;
root /Users/YOUR_USERNAME/Sites;
access_log /Library/Logs/default.access.log main;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
}
@tristanlins
tristanlins / contao.conf
Last active August 3, 2016 20:10
Contao 3 nginx setup
# Prevent logging favicon.ico and robots.txt
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
@discordier
discordier / .travis.yml
Last active December 31, 2019 02:39
Reference .travis.yml when using phpcq with Contao 3.2 to 3.5.
language: php
php:
- "5.3"
- "5.4"
- "5.5"
- "5.6"
- "7.0"
env:
@nicolasembleton
nicolasembleton / restart_bluetooth.sh
Last active May 11, 2024 17:43
Restart Bluetooth Daemon on Mac OS X without restarting
#!/bin/bash
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
@ScottPhillips
ScottPhillips / .htaccess
Created February 2, 2012 04:30
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/