Skip to content

Instantly share code, notes, and snippets.

View graphis's full-sized avatar

Zsolt Sándor graphis

View GitHub Profile
@graphis
graphis / gist:f896d0dc75a5c84f2829669f892bfe9d
Last active August 1, 2017 05:43
El sierra kernel cache update
touch /System/Library/Extensions
touch /Library/Extensions
kextcache -i /
sudo chmod -R 755 name.kext
@graphis
graphis / cltools.sh
Last active July 19, 2017 20:23 — forked from justinbellamy/cltools.sh
Install Autoconf and Automake on OS X El Capitan
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
@graphis
graphis / cltools.sh
Created July 19, 2017 20:23 — forked from justinbellamy/cltools.sh
Install Autoconf and Automake on OS X El Capitan
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
server {
listen 80;
server_name aurarouter.com;
root /var/www/projects/aura-router-test;
index index.php index.html index.htm;
location / {
try_files $uri @rewriteapp;
}
@graphis
graphis / composer.json
Created April 11, 2017 17:12 — forked from harikt/composer.json
Aura.Router version 3 example
{
"require": {
"aura/router": "^3.0",
"zendframework/zend-diactoros": "^1.3"
}
}
@graphis
graphis / gist:d390e56962ce38f37327c996b8e5debc
Created April 3, 2017 14:41 — forked from rtrouton/gist:e6cf0f4064aea52fac2e5116c4b05f2e
Sierra compatible Macs, sorted by Model ID and board ID
MacBook9,1: 'Mac-9AE82516C7C6B903'
iMac14,1: 'Mac-031B6874CF7F642A'
iMac10,1: 'Mac-F2268DC8'
MacBookPro8,1: 'Mac-50619A408DB004DA'
MacBook6,1: 'Mac-F22C8AC8'
MacBookPro10,2: 'Mac-AFD8A9D944EA4843'
iMac12,2: 'Mac-942B59F58194171B'
iMac14,2: 'Mac-27ADBB7B4CEE8E61'
MacBook8,2: 'Mac-F305150B0C7DEEEF'
MacBookAir6,1: 'Mac-35C1E88140C3E6CF'
@graphis
graphis / Makefile
Created March 8, 2017 15:11 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@graphis
graphis / deleteMacKeeper.sh
Created February 13, 2017 13:37 — forked from kitzy/deleteMacKeeper.sh
Delete MacKeeper and JustCloud
#!/bin/bash
# This program will uninstall MacKeeper and JustCloud
#################
### Variables ###
#################
# Items at the system level to be removed
systemItems=(
@graphis
graphis / html5 js window resize
Created October 6, 2016 21:07
html5 js window resize
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
div#content {
background: #ffccff;
/**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,