This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Arrays | |
{ | |
class List | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function plusCtrl($scope, $resource){ | |
$scope.plus = $resource('https://www.googleapis.com/plus/v1/people/<!--Google User ID Here-->', | |
{key: '<!--Your Google Access Key Here!-->', callback: 'JSON_CALLBACK'}, | |
{get: {method: 'JSONP'}}); | |
$scope.plusFeed = $scope.plus.get(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function plusCtrl($scope, $resource){ | |
$scope.UserID = '<!-- User ID Here! -->'; | |
$scope.Key = '<!-- GoogleAPI Access Key Here! -->'; | |
$scope.Activity = $resource( | |
'https://www.googleapis.com/plus/v1/people/:id/activities/public?key=:key&callback=JSON_CALLBACK', | |
{ | |
id: $scope.UserID, key: $scope.Key | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin keyframes( $animationName ) | |
{ | |
@-webkit-keyframes $animationName { | |
@content; | |
} | |
@-moz-keyframes $animationName { | |
@content; | |
} | |
@-o-keyframes $animationName { | |
@content; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Animation Specfic stuff related to carousel | |
// All of the following mixins were built by me | |
// so... blame me if they don't work | |
// | |
// This file is not repsonsive. I am working on that right, in a project | |
// | |
// This file does not rely on any other libraries to work. Only SASS | |
@mixin keyframes($name) { | |
@-webkit-keyframes #{$name} { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
phalcon=${OPENSHIFT_REPO_DIR}/cphalcon | |
function download_phalcon() { | |
#mkdir -p ${OPENSHIFT_REPO_DIR} | |
cd ${OPENSHIFT_REPO_DIR} | |
pushd ${OPENSHIFT_REPO_DIR} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class SessionController extends \Phalcon\Mvc\Controller | |
{ | |
public function indexAction() | |
{ | |
// Will display users profile... once logged in | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin svg_colorize($hue, $saturation, $lightness) { | |
fill: hsl($hue, $saturation, $lightness - 20); | |
&:hover { | |
fill: hsl($hue, $saturation, $lightness); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin svg_colorize($red, $green, $blue, $alpha) { | |
fill: rgba($red, $green, $blue, $alpha); | |
&:hover { | |
fill: rgba($red, $green, $blue, $alpha - .2); | |
} | |
} | |
/***************** | |
* Useage Example* | |
****************/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class UsersController extends ControllerBase{ | |
public function IndexAction() | |
{ | |
//Displays Classic Style Form at domain.dev/users |