Skip to content

Instantly share code, notes, and snippets.

Avatar

Logan Lindquist llbbl

View GitHub Profile
View composer-things.md

See a list of composer configuration settings.

composer config --list -g

Check to see if you already set a github personal access token

@llbbl
llbbl / compare.sh
Created Nov 26, 2015
Compare two files and if they are different overwrite the second one with the first one.
View compare.sh
#!/bin/bash
filePath1="$1"
filePath2="$2"
if cmp -s "$1" "$2"
then
echo "match"
else
echo "different"
View austin php lightning topics
https://www.evernote.com/l/AAoEOtFGgThO94zN6ia6mpGHd_0fxzhrwtk
@llbbl
llbbl / update.sh
Created Jun 30, 2015
update all the things
View update.sh
#!/bin/sh
echo 'updating composer'
composer selfupdate
echo 'updating home brew'
brew update
@llbbl
llbbl / remove_footer_genesis.php
Created May 10, 2015
remove footer from genesis child theme
View remove_footer_genesis.php
View copy_db.sh
#!/bin/bash
# Simple script to copy a MySQL to another
# Parent backup directory
backup_parent_dir="/path/to/tmp/backup/dir" #notice no ending slash
# MySQL settings
mysql_user="elevateduser"
mysql_password="elevateduserpassword"
@llbbl
llbbl / keybase.md
Created Jan 24, 2015
keybase markdown file to verify identity
View keybase.md

Keybase proof

I hereby claim:

  • I am llbbl on github.
  • I am llbbl (https://keybase.io/llbbl) on keybase.
  • I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); }

To claim this, I am signing this object:

View .screenrc-main-example
# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: Christian Wills - cwills.sys@gmail.com
# Allow bold colors - necessary for some reason
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
View new_gist_file_0
CREATE DATABASE `mydb` CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL ON `mydb`.* TO `username`@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
You can’t perform that action at this time.