Skip to content

Instantly share code, notes, and snippets.

View ktsosno's full-sized avatar

Kyle ktsosno

View GitHub Profile
if($response->Result == 'Success') {
\Log::info("CampusExplorer: School Successfully Submitted", array($ret));
die($ret);
} else {
\Log::error("CampusExplorer: Failed School Submit", array($ret));
}
if($response->Result == 'Success') {
\Log::info("CampusExplorer: School Successfully Submitted", array($ret));
return $ret;
exit();
} else {
\Log::error("CampusExplorer: Failed School Submit", array($ret));
exit();
}
<?php
require_once(APPPATH.'controllers/bright.php');
require_once(APPPATH.'controllers/rest_controller.php');
class API_Quinstreet extends REST_Controller
{
const API_KEY = '32b5f47678285210d925c4a78e0af10531566a71';
public function __construct()
{
vagrant@precise32:~$ curl -s -O -L https://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain
vagrant@precise32:~$ chmod u+x git-credential-osxkeychain
vagrant@precise32:~$ sudo mv git-credential-osxkeychain "$(dirname $(which git))/git-credential-osxkeychain"
vagrant@precise32:~$ git config --global credential.helper osxkeychain
ksosnows-mn1:bloc-vagrant ksosnows$ vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
==> default: Running cleanup tasks for 'chef_solo' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
basic html branch:
git merge --squash basic_html
git commit -a -m "hey"
git pull --rebase
{
"author": "Bloc",
"name": "bloc-rdio-skeleton",
"description": "Starter skeleton for Bloc's Rdio project.",
"version": "0.0.1",
"homepage": "",
"repository": {
"type": "git",
"url": "https://github.com/Bloc/bloc-jamz-checkpoint-outline"
},
html:
<input ng-keyup="$event.keyCode == 13 ? log() : null" type="text" name="logData"/>
app.controller('PlayerBarController', ['$scope', 'SongPlayer', 'ConsoleLogger', function($scope, SongPlayer, ConsoleLogger) {
$scope.songPlayer = SongPlayer;
$scope.log = function(){
console.log($scope.logData);
}
'use strict';
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope){
$scope.logResult = function(){
console.log($scope.input);
}
+2 girls 1 cup
+acrotomophilia
+alabama hot pocket
+alaskan pipeline
+anal
+anilingus
+anus
+apeshit
+arsehole
+ass