Skip to content

Instantly share code, notes, and snippets.

View infomaniac50's full-sized avatar

Derek Chafin infomaniac50

View GitHub Profile
@infomaniac50
infomaniac50 / bash.readline
Last active May 9, 2018 08:54
Vue Webpack Simple config without Sass
$ vue init webpack-simple my-project
? Project name my-project
? Project description A Vue.js project
? Author Derek Chafin <censored>
? License MIT
? Use sass? No
vue-cli · Generated "my-project".
To get started:
@infomaniac50
infomaniac50 / build-failure.log
Last active April 3, 2018 23:32
PHP 7.1.16 Failed Build with PHPBrew
configure: creating cache /home/derek/.phpbrew/cache/config.cache
./configure: line 3173: /home/derek/.phpbrew/cache/config.cache: No such file or directory
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
checking whether the C compiler works... yes
@infomaniac50
infomaniac50 / config.json
Created April 26, 2016 18:35 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@infomaniac50
infomaniac50 / config.json
Created October 22, 2015 18:23 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@infomaniac50
infomaniac50 / trac2down.py
Last active August 29, 2015 14:16 — forked from sgk/trac2down.py
#!/usr/bin/python
# vim:set fileencoding=utf-8 sw=2 ai:
import datetime
import re
import sys
def trac2md():
text = sys.stdin.read()
@infomaniac50
infomaniac50 / api response.html
Last active August 29, 2015 14:09
Github API Markdown with Editor CSS
<div class="highlight highlight-ruby">
<pre>
<span class="pl-mr">
<span class="pl-kos">require</span>
<span class="pl-s1">
<span class="pl-pds">'</span>redcarpet
<span class="pl-pds">'</span>
</span>
</span>
markdown
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10