Skip to content

Instantly share code, notes, and snippets.

View ryanvade's full-sized avatar
💭
42

Ryan Owens ryanvade

💭
42
View GitHub Profile
[ 94.446715] JFS: nTxBlock = 8192, nTxLock = 65536
[ 94.452458] ntfs: driver 2.1.32 [Flags: R/W MODULE].
[ 95.102599] device-mapper: uevent: version 1.0.3
[ 95.102737] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 96.661050] FAT-fs (sdc3): bogus number of reserved sectors
[ 96.661052] FAT-fs (sdc3): Can't find a valid FAT filesystem
[ 96.661906] EXT4-fs (sdc3): VFS: Can't find ext4 filesystem
[ 96.662784] EXT4-fs (sdc3): VFS: Can't find ext4 filesystem
[ 96.663637] EXT4-fs (sdc3): VFS: Can't find ext4 filesystem
[ 96.664805] XFS (sdc3): Invalid superblock magic number
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3 LABEL=Arch-Root
UUID=461c361a-f744-40f3-bbb1-648644432c85 / btrfs rw,relatime,compress=lzo,ssd,space_cache,autodefrag,inode_cache,subvolid=5,subvol=/ 0 0
# /dev/sda1
UUID=FF76-A030 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="nvidia"
# BINARIES
# This setting includes any additional binaries a given user may
[ 0.000000] microcode: CPU0 microcode updated early to revision 0x1e, date = 2015-08-13
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=461c361a-f744-40f3-bbb1-648644432c85 rw quiet splash
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 vfat C8EE-C41A
├─sda2 ext4 9e5c46e5-ef6c-4b59-b47f-a51d66129170
└─sda3 swap c45aa2c0-e0f3-40be-828e-92bae8a25a2e
sdb
├─sdb1 vfat FF76-A030 /boot
├─sdb2 swap cbed6b9e-16bd-45a4-94c2-561221422848 [SWAP]
└─sdb3 btrfs Arch-Root 461c361a-f744-40f3-bbb1-648644432c85 /
sdc
-- Logs begin at Tue 2015-12-29 18:05:51 CST, end at Sat 2016-03-12 11:40:18 CST. --
Mar 12 11:06:23 ryan-desktop-linux systemd-journald[229]: Runtime journal (/run/log/journal/) is 8.0M, max 799.7M, 791.7M free.
Mar 12 11:06:23 ryan-desktop-linux systemd-journald[229]: System journal (/var/log/journal/) is 896.0M, max 4.0G, 3.1G free.
Mar 12 11:06:23 ryan-desktop-linux systemd-journald[229]: Time spent on flushing to /var is 118.838ms for 2 entries.
Mar 12 11:06:23 ryan-desktop-linux kernel: microcode: CPU0 microcode updated early to revision 0x1e, date = 2015-08-13
Mar 12 11:06:23 ryan-desktop-linux kernel: Initializing cgroup subsys cpuset
Mar 12 11:06:23 ryan-desktop-linux kernel: Initializing cgroup subsys cpu
Mar 12 11:06:23 ryan-desktop-linux kernel: Initializing cgroup subsys cpuacct
Mar 12 11:06:23 ryan-desktop-linux kernel: Linux version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016
Mar 12 11:06:23 ryan-desktop-linux kernel: Command line: BOOT
Apr 09 21:41:57 ryan-desktop-linux systemd[1004]: Stopped target Default.
Apr 09 21:41:57 ryan-desktop-linux systemd[1]: Stopping User Manager for UID 120...
Apr 09 21:41:57 ryan-desktop-linux systemd-logind[690]: Removed session c2.
Apr 09 21:41:57 ryan-desktop-linux /usr/lib/gdm/gdm-x-session[1011]: (II) Server terminated successfully (0). Closing log file.
Apr 09 21:41:57 ryan-desktop-linux gdm[712]: Child process -1011 was already dead.
Apr 09 21:41:57 ryan-desktop-linux /usr/lib/gdm/gdm-x-session[1268]: (II) systemd-logind: got pause for 13:67
Apr 09 21:41:57 ryan-desktop-linux /usr/lib/gdm/gdm-x-session[1268]: (II) systemd-logind: got pause for 13:70
Apr 09 21:41:57 ryan-desktop-linux /usr/lib/gdm/gdm-x-session[1268]: (II) systemd-logind: got pause for 13:64
Apr 09 21:41:57 ryan-desktop-linux /usr/lib/gdm/gdm-x-session[1268]: (II) systemd-logind: got pause for 226:0
Apr 09 21:41:57 ryan-desktop-linux /usr/lib/gdm/gdm-x-session[1268]: (II) systemd-logind: got pause for 13:68
<?php
namespace App\Http\Controllers\Auth;
//use Auth;
use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller
<?php
namespace App\Http\Controllers\Auth;
//use Auth;
use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller
public function roles()
{
return $this->belongsToMany('Csb\Role', 'role_users');
}
public function wpRole()
{
$roles = $this->roles;
foreach ($roles as $role) {
if(strpos($role->name, 'WP_') !== false)