Skip to content

Instantly share code, notes, and snippets.

View jensgro's full-sized avatar

Jens Grochtdreis jensgro

View GitHub Profile
@jensgro
jensgro / question.md
Created June 22, 2017 07:42
Installing PHP via Homebrew

I tried to install or update PHP via Homebrew on my Mac. But all I got were error messages that I don't understand.

One solution to the problem could be to delete josegonzalez/php/php56 as it causes problems. But how? Just delete the folder?

And after all: I want to add the path to this PHP-version to my PATH-variable. What would be the correct path or how can I retrieve it via the terminal?

@jensgro
jensgro / index.html
Created June 21, 2017 15:16 — forked from danielpost/index.html
Initiate toggle functionality.
<button aria-pressed="false" aria-label="Toggle something">I'm a toggle button!</button>
<button aria-checked="false" role="switch" aria-label="Switch something">I'm a switch!</button>
@jensgro
jensgro / SassMeister-input-HTML.html
Created May 24, 2017 15:08
Generated by SassMeister.com.
<button class="btn">.btn</button>
<button class="btn-warning">.btn-warning</button>
<button class="btn2">.btn2</button>
<button class="btn2-warning">.btn2-warning</button>
@jensgro
jensgro / atom-packages.json
Created April 25, 2017 12:46
My packages for Atom
"packages": [
"atom-beautify",
"atom-bootstrap3",
"atom-bootstrap4",
"atom-csscomb",
"atom-handlebars",
"atom-html-preview",
"atom-jade",
"atom-json-color",
"atom-material-syntax",
@jensgro
jensgro / button-with-animated-border.markdown
Created March 27, 2017 13:33
Button with animated border
@jensgro
jensgro / farbiger-rahmen-um-die-webseite.markdown
Created February 21, 2017 14:44
Farbiger Rahmen um die Webseite
module.exports = function(grunt) {
require('time-grunt')(grunt);
// This one line spares us the call for each task at the end of the gruntfile.
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
copy: {
dist: {
@jensgro
jensgro / automatische-uberschriftennummerierung.markdown
Created February 16, 2017 18:30
Automatische Überschriftennummerierung
@jensgro
jensgro / SassMeister-input-HTML.html
Created February 14, 2017 14:37
Generated by SassMeister.com.
<ul class="sg-color-list">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
@jensgro
jensgro / web-servers.md
Created February 6, 2017 16:52 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000