Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Peter Dave Hello PeterDaveHello

🏠
Working from home
Block or report user

Report or block PeterDaveHello

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
@PeterDaveHello
PeterDaveHello / gist:1cec0dd60527b408b681964cc1f1daff
Created Apr 23, 2017 — forked from davidbalbert/gist:6815258
How to install custom SSL certificates on an ASUS RT-N66U running asuswrt-merlin
View gist:1cec0dd60527b408b681964cc1f1daff
# First, enable SSH in the Administration->System tab.
# Then log in to the device.
# Verify that https_crt_save is off
admin@RT-N66U:/tmp/home/root# nvram get https_crt_save
0
# Enable https_crt_save and verify that it was set correctly
admin@RT-N66U:/tmp/home/root# nvram set https_crt_save=1
admin@RT-N66U:/tmp/home/root# nvram get https_crt_save
@PeterDaveHello
PeterDaveHello / make.conf
Created Dec 27, 2015
My FreeBSD /etc/make.conf
View make.conf
WITH_PKGNG=yes
NO_INET6?=YES
NO_PROFILE?=YES
CPUTYPE=native
CFLAGS+=-march=native -O2 -pipe -fno-strict-aliasing
COPTFLAGS+=-O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
OPTIMIZED_CFLAGS?=YES
BUILD_OPTIMIZED?=YES
WITH_CPUFLAGS?=YES
WITH_OPTIMIZED_CFLAGS?=YES
@PeterDaveHello
PeterDaveHello / extc++.h
Created Jun 9, 2015
gcc-4.9.2 precompiled headers
View extc++.h
// C++ includes used for precompiling extensions -*- C++ -*-
// Copyright (C) 2006-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
You can’t perform that action at this time.