Skip to content

Instantly share code, notes, and snippets.

Toni Laukka tonilaukka

Block or report user

Report or block tonilaukka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tonilaukka
tonilaukka / Course.tsx
Last active Jan 6, 2019
React Components in Framer X
View Course.tsx
import * as React from "react";
import { PropertyControls, ControlType } from "framer";
import styled from 'styled-components';
const CourseContainer = styled.div`
background-color: ${props => props.color};
background-image: url(${props => props.image});
background-position: center;
background-size: cover;
@tonilaukka
tonilaukka / MySQL_macOS_Sierra.md
Created May 18, 2018 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL on Sierra using Homebrew
View MySQL_macOS_Sierra.md

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

View gist:6554658
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/private/etc \
--with-apxs2=/usr/sbin/apxs \
--enable-cli \
--with-config-file-path=/etc \
--with-libxml-dir=/usr \
--with-openssl=/usr \
View gist:2392771
<!--[if lt IE9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
View reset.css
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
@tonilaukka
tonilaukka / gist:2314511
Created Apr 5, 2012 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts
View gist:2314511

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
You can’t perform that action at this time.