Skip to content

Instantly share code, notes, and snippets.

View teslamint's full-sized avatar
💭
I may be slow to respond.

Jaehoon You teslamint

💭
I may be slow to respond.
View GitHub Profile
@teslamint
teslamint / # php71-libsodium - 2017-05-18_15-35-21.txt
Created May 18, 2017 06:38
php71-libsodium (homebrew/php/php71-libsodium) on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for homebrew/php/php71-libsodium on macOS 10.12.5
Build date: 2017-05-18 15:35:21
@teslamint
teslamint / hotspot.php
Last active May 11, 2017 05:51 — forked from narze/hotspot.php
Chillispot php auth
<?php
// TODO:
// - Refactor, but keeping original behaviour first
// - Use bootstrap.css
// - Use simple xView (create a git project from RestQL xView implementation)
// - one view per 'res' state
// - one window layout, one popup layout
// - separate js files
// - Keep debugging feature (keep it kiss)
@teslamint
teslamint / # php56-suhosin - 2017-05-10_16-27-55.txt
Created May 10, 2017 07:40
php56-suhosin (homebrew/php/php56-suhosin) on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for homebrew/php/php56-suhosin on macOS 10.12.5
Build date: 2017-05-10 16:27:55
@teslamint
teslamint / mariadb_repo_setup
Created April 20, 2017 10:13
fork of mariadb_repo_setup from downloads.mariadb.com/MariaDB/
#!/usr/bin/env bash
# shellcheck disable=2016 disable=1091 disable=2059
# This script will identify the OS distribution and version, make sure it's
# supported, and set up the appropriate MariaDB software repositories.
supported="These Linux OSs are supported, on x86-64 only:
RHEL/CentOS 6 & 7; Ubuntu 14.04 LTS (trusty) & 16.04 LTS (xenial);
Debian 7 (wheezy) & 8 (jessie); SLES 12"
@teslamint
teslamint / # percona-server-mongodb - 2017-04-02_16-11-27.txt
Created April 3, 2017 01:41
percona-server-mongodb on macOS 10.12.4 - Homebrew build logs
Homebrew build logs for percona-server-mongodb on macOS 10.12.4
Build date: 2017-04-02 16:11:27
@teslamint
teslamint / # mongodb - 2017-03-29_00-06-13.txt
Created March 28, 2017 15:12
mongodb on macOS 10.12.4 - Homebrew build logs
Homebrew build logs for mongodb on macOS 10.12.4
Build date: 2017-03-29 00:06:13
@teslamint
teslamint / # mongodb - 2017-03-29_00-06-13.txt
Created March 28, 2017 15:12
mongodb on macOS 10.12.4 - Homebrew build logs
Homebrew build logs for mongodb on macOS 10.12.4
Build date: 2017-03-29 00:06:13
@teslamint
teslamint / index.html
Last active January 24, 2018 05:41
Ubiquiti UniFi Guest Portal Redirect to External Server
<html>
<head>
</head>
<body>
<script type="text/javascript">
var site = decodeURIComponent(window.location.pathname), url = "YOUR_URL_HERE"
+ (window.location.search.indexOf('?') === -1 ? '?' : '')
+ window.location.search
// customize parameters with your needs
+ '&cip=' + window.location.hostname
@teslamint
teslamint / # pam_yubico - 2016-02-22_12-43-10.txt
Created February 22, 2016 04:54
pam_yubico on OS X 10.11.4 - Homebrew build logs
Homebrew build logs for pam_yubico on OS X 10.11.4
Build date: 2016-02-22 12:43:10
@teslamint
teslamint / archer-c2.patch
Last active February 28, 2017 08:59
OpenWrt patch to add support TP-LINK Archer C2(0) router board (WIP, UNTESTED)
From 898b8af1fdc9cace5bfe55ded60f9574d41f3516 Mon Sep 17 00:00:00 2001
From: Jaehoon You <teslamint@gmail.com>
Date: Sat, 29 Aug 2015 11:09:19 +0900
Subject: [PATCH] ramips: add support for TP-LINK Archer C2, C20i board
---
.../linux/ramips/base-files/etc/board.d/02_network | 1 +
target/linux/ramips/base-files/lib/ramips.sh | 9 ++
.../ramips/base-files/lib/upgrade/platform.sh | 2 +
target/linux/ramips/dts/ArcherC2.dts | 125 +++++++++++++++++++++