Skip to content

Instantly share code, notes, and snippets.

View chintanparikh's full-sized avatar
🎯
Focusing

Chintan Parikh chintanparikh

🎯
Focusing
View GitHub Profile
<div class="row cards">
<div ng-hide="videos.length">No videos!</div>
<a ng-href="{{video.video_url}}" class="col-md-4 card-wrapper" ng-repeat="video in videos" ng-show="videos">
<div class="card" style="background: url('{{video.thumbnail}}') center;">
<div class="info-wrapper">
<span class="info">
{{video.team}}
</span>
<div ng-controller="VideosController">
<div class="full-width search">
<div class="container">
<form ng-submit="submitSearch(searchTerms)">
<input type="text" ng-model="searchTerms", ng-change="search(searchTerms)"/>
<a href="" class="glyphicon glyphicon-search submit button" ui-sref="search({terms: searchTerms })"></a>
<a href="" class="glyphicon glyphicon-plus add-filter button" ui-sref="new"></a>
</form>
</div>
App.controller("VideosController", [ '$scope', '$routeParams', '$location', 'Video',
($scope, $routeParams, $location, Video) ->
$scope.videos = Video.all()
$scope.search = () ->
search_result = Video.search($scope.searchTerms)
if $scope.searchTerms
unless $scope.videos == search_result
$scope.videos = search_result
else
class VideosController < ApplicationController
respond_to :html, :json
before_action :get_video, only: [:show, :update, :destroy]
def index
@videos = Video.all
respond_with @videos
end
// Relies on jQuery
var Graph = function(options) {
var graph = {}
graph.data = options.data
graph.graphSelector = options.graphSelector;
graph.barPadding = options.barPadding;
graph.$graphElem = $(graph.graphSelector);
{
"BBRY" => {
"Qtrly Rev Growth" => {
"datapoint" =>"Qtrly Rev Growth (yoy)",
"data" =>"-0.69"
},
"Revenue" => {
"datapoint" =>"Revenue (ttm)",
"data" =>"4.71B"
},
So sX (Startup Exchange) is a bunch of different things. One way to describe it is the hub for student entrepreneurship. But it's more than that - it's a movement of students who want more from their college education than what their classes provide. It's a movement of students who have passions, and who aren't okay with just letting them go to focus on their grades. And everything we do is kinda under the banner of entrepreneurship.
So to help people, we run a bunch of different programs. Startup Semester is our pre-incubator where we teach people with ideas how to go from idea -> startup. We teach them customer discovery, figuring out what to build, building the product, etc.
HackGT is going to be the biggest hackathon in the south. Check out http://hackgt.com for more info.
3 Day Startup was the first event we ever threw - it's basically an entrepreneurship based hackathon where you try and create some kind of startup in 3 days. They're rarely good, but it's awesome in teaching the basics of entrepreneu
{
"people": [
{
"name": "Greg_James",
"job": "Nextdoor, Engineering Manager"
},
{
"name": "James_Tamplin",
"job": "Firebase, CEO"
},
@chintanparikh
chintanparikh / prose.zsh-theme
Created June 5, 2014 00:53
prose.zsh-theme
function collapse_pwd {
echo $(pwd | sed -e "s,^$HOME,~,")
}
function prompt_char {
git branch >/dev/null 2>/dev/null && echo '±' && return
hg root >/dev/null 2>/dev/null && echo '☿' && return
echo '○'
}
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <time.h>
#include <unistd.h>
typedef struct _Matrix {
int rows;
int cols;