Skip to content

Instantly share code, notes, and snippets.

View benjaminfritz's full-sized avatar
🏠
Working from home

Benjamin Fritz benjaminfritz

🏠
Working from home
View GitHub Profile
@benjaminfritz
benjaminfritz / .htaccess
Created June 4, 2018 14:32
.htaccess mit Kirby Installation auf HostEurope Webhosting Server
# Kirby .htaccess
# rewrite rules
<IfModule mod_rewrite.c>
# enable awesome urls. i.e.:
# http://yourdomain.com/about-us/team
RewriteEngine on
# make sure to set the RewriteBase correctly
# Kirby .htaccess
# rewrite rules
<IfModule mod_rewrite.c>
# enable awesome urls. i.e.:
# http://yourdomain.com/about-us/team
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
@benjaminfritz
benjaminfritz / svg-code.php
Created August 2, 2017 10:34
Currently used SVG code
<svg width="328px" height="146px" viewBox="0 0 328 146" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 44.1 (41455) - http://www.bohemiancoding.com/sketch -->
<title>logo</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M125.951995,2.96805948 L191.793831,145.988462 L180.70713,145.988462 L114.865294,2.96805948 L125.951995,2.96805948 Z M0,144.988462 L0,1.96805948 L44.2263653,1.96805948 C71.178268,1.96805948 96.6117612,8.98625948 96.6117612,41.2322595 C96.6117612,51.6647995 90.9176908,63.8044595 81.2377831,68.7361995 C98.1301707,71.7711195 109.897909,88.2734695 109.897909,104.965509 C109.897909,133.607529 85.413434,144.988462 60.1697445,144.988462 L0,144.988462 Z M213.848043,3.51435948 C248.848329,-5.52454052 259.888473,4.54955948 274.588417,14.8188595 C291.626989,24.0114595 300.092325,25.9289595 328,21.8234595 L297.776077,
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@benjaminfritz
benjaminfritz / slack-portfolio-theme.txt
Created July 6, 2016 09:07
Benjamin Fritz Portfolio Slack Theme
#001F3F,#000000,#FF4136,#FFFFFF,#013263,#FFFFFF,#ffffff,#001F3F
alfred://theme/searchForegroundColor=rgba(255,255,255,1.00)&resultSubtextFontSize=1&separatorColor=rgba(255,255,255,0.00)&resultSelectedBackgroundColor=rgba(10,10,10,0.80)&shortcutColor=rgba(255,255,255,0.24)&scrollbarColor=rgba(0,150,255,1.00)&imageStyle=9&resultSubtextFont=System&background=rgba(33,33,33,0.75)&shortcutFontSize=3&searchFontSize=4&resultSubtextColor=rgba(255,255,255,0.24)&searchBackgroundColor=rgba(33,33,33,0.00)&name=El%20Capitan%20Dark%20Blur&resultTextFontSize=3&resultSelectedSubtextColor=rgba(255,255,255,0.59)&shortcutSelectedColor=rgba(0,150,255,1.00)&widthSize=3&border=rgba(25,25,25,0.00)&resultTextFont=System&resultTextColor=rgba(231,231,231,1.00)&cornerRoundness=3&searchFont=System&searchPaddingSize=2&credits=Benjamin%20Fritz&shortcutFont=System&resultSelectedTextColor=rgba(255,255,255,1.00)&resultPaddingSize=3
@benjaminfritz
benjaminfritz / gulpfile.js
Last active August 29, 2015 14:12
Default gulpfile.js
/*!
* gulp
* $ npm install gulp-ruby-sass gulp-autoprefixer gulp-minify-css gulp-jshint gulp-concat gulp-uglify gulp-imagemin gulp-notify gulp-rename gulp-livereload gulp-cache del --save-dev
*/
// Load all plugins
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autoprefixer'),
minifycss = require('gulp-minify-css'),
@benjaminfritz
benjaminfritz / calenders-readdle-app-store-GERMAN
Created December 27, 2013 22:23
Improved German translation for App Store Screenshots of Calendars by Readdle - http://readdle.com/products/calendars5/
Screenshot No. 1:
• Der beste Kalender
• Für Google und iCal
• Auf Ihrem iPhone und iPad
Screenshot No. 2:
Mit Monats-, Tages-, Wochen- und Listenansicht
Screenshot No. 3:
Synchronisiert mit iCal und Google Kalender