Skip to content

Instantly share code, notes, and snippets.

View graphis's full-sized avatar

Zsolt Sándor graphis

View GitHub Profile
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 / 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
@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 / 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 / gist:7933ac36dd9bcdc45000aff65ef22907
Last active September 30, 2022 22:20
NVRAM and KEXT Cache Cleanup
#!/bin/sh
echo "NVRAM and KEXT Cache Cleanup"
sudo nvram -c
sudo purge
sync
In the next version of iPulse, I'd like to show GPU statistics. Unfortunately, the format
for these statistics is vendor specfic (see the "Performance Statistics" dictionary below.)
In order to cover as many devices as possible, I'd like you to run the following commands
from your Terminal:
$ sysctl hw.model
$ ioreg -r -d 1 -w 0 -c "IOAccelerator"
You can help me read the results by putting them in a code block (triple backticks).
@graphis
graphis / hhkb
Last active April 4, 2018 12:35
[
[
"~\n`",
"!\n1",
"@\n2",
"#\n3",
"$\n4",
"%\n5",
"^\n6",
"&\n7",
@graphis
graphis / Zeal60_UnderglowGuidePublic.md
Created April 14, 2018 07:41 — forked from tusing/Zeal60_UnderglowGuidePublic.md
A guide detailing how to enable underglow on the Zeal60 with WS2812 LEDs.

RGB Underglow Strip on the Zeal60: A Guide

A. Connecting the strip

You might find the full PCB image helpful. Ignore the red boxes!

  1. Connect V+ to the receiving end of the thermistor labeled F1; connect GND to the board's GND pin. (Avoid connecting +V to the board's +5V pin - you will likely overload the thermistor, and you will limit your maximum brightness.)
@graphis
graphis / avr-devenv-install-osx.md
Created May 15, 2018 10:50 — forked from jj1bdx/avr-devenv-install-macos.md
Installing 8bit AVR development kit from macOS HomeBrew and FreeBSD Ports with the optiboot environment

AVR 8bit HomeBrew installation for OS X

#/bin/sh
umask 022
brew tap osx-cross/avr
# removal needed before upgrading
brew remove avr-gcc avr-binutils avr-libc
# avr-libc is now included in avr-gcc
brew install avr-gcc avr-binutils
@graphis
graphis / pop_os_ubuntu_suff
Last active June 26, 2018 13:57
what to do when installing pop os
netflix error
sudo apt-get install ubuntu-restricted-extras
installing:
plank
// plank --preferences
gnome tweaks