Skip to content

Instantly share code, notes, and snippets.

View kamaulynder's full-sized avatar
💭
Need great Female Tech Talent, talk to me!!

Linda Kamau kamaulynder

💭
Need great Female Tech Talent, talk to me!!
View GitHub Profile
1 ##
2 # Host Database
3 #
4 # localhost is used to configure the loopback interface
5 # when the system is booting. Do not change this entry.
6 ##
7 127.0.0.1 localhost
8 255.255.255.255 broadcasthost
9 ::1 localhost
10 fe80::1%lo0 localhost
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="robots" content="noindex,nofollow" />
<style>
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
html { backgr
<?php
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use RollCall\Seeders\OauthTableSeeder;
use RollCall\Seeders\UserTableSeeder;
class DatabaseSeeder extends Seeder
{
/**
<?php
namespace RollCall\Seeders;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
use RollCall\Entities\Models\User;
class UserTableSeeder extends Seeder
{
<?php
namespace RollCall\Seeders;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
use RollCall\Entities\Models\User;
class UserTableSeeder extends Seeder
{
@kamaulynder
kamaulynder / laravel.log
Created November 18, 2015 09:22
log file
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id' cannot be null (SQL: insert into `oauth_clients` (`created_at`, `id`, `name`, `secret`, `updated_at`) values (1447838212, , RollCall, , 1447838212))' in /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Database/Connection.php:651
Stack trace:
#0 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Database/Connection.php(611): Illuminate\Database\Connection->runQueryCallback('insert into `oa...', Array, Object(Closure))
#1 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Database/Connection.php(391): Illuminate\Database\Connection->run('insert into `oa...', Array, Object(Closure))
#2 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Database/Connection.php(347): Illuminate\Database\Connection->statement('insert into `oa...', Array)
#3 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1783):
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
hostname: rollcall-api
name: rollcall-api
provider: virtualbox
authorize: /Users/phpmechanix/.ssh/id_rsa.pub
@kamaulynder
kamaulynder / phpunit.rb
Last active August 29, 2015 14:16 — forked from shakie/phpunit.rb
require 'formula'
class Phpunit < Formula
homepage 'http://www.phpunit.de/manual/current/en/index.html'
url 'http://phar.phpunit.de/phpunit.phar'
sha1 '4acc07c1730d85e2016a1ed613a1355a9d271636'
version 'HEAD'
def install
bin.install "phpunit.phar" => "phpunit"
TestFlight follows Apple's beta and internal distribution guidelines. When an app is built and needs to be sent out to multiple devices, it needs to be signed with a distribution provisioning profile (Ad Hoc or Enterprise). Once the binary has been compiled with a valid distribution provisioning profile and packaged as an IPA, it is ready to distribute.
There are two (2) types of provisioning profiles, development and distribution. Development profiles should only be used when debugging the application on your own device. When you are ready to send out your application to other users, we recommend using an Ad Hoc or Enterprise distribution provisioning profile. Ad Hoc distribution provisioning profiles are recommended since they are almost identical to the App Store profile and the "get-task-allow" Entitlements property is not enabled for debugging.
The "Developer Certificate Detected" warning will not be shown if the app is signed with a distribution profile. To learn how to create an Ad Hoc distribution
@kamaulynder
kamaulynder / readme
Created November 11, 2014 13:17
set up instructions
Dependencies
Run composer install to get all the php requirements (via composer)
Run npm install to get all the packages necessary for grunt (via npm)
While developing, run grunt in an open terminal window and it will automatically watch for and compile changes to scss and js files (and reload your browser if you have livereload configured). If you need to install grunt, use npm install -g grunt-cli
Run bower install to get all the required frontend components (via bower)