Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Constantine Antonakos ConAntonakos

🏠
Working from home
View GitHub Profile
View google-maps.jsx
import React from 'react';
import has from 'lodash.has';
class GoogleMaps extends React.Component {
constructor(props){
super(props);
this.state = {
mapReady: this.props.mapReady
};
}
View index.html
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body ng-app="categoryBids">
<div ng-controller="CategoryBidsController">
View youtube_playlist_downloader.php
<?php
$playlist_id= 'PLzJZ3ahfm9Q_VSVXmANa8s6v99t3uRkkL';
$api_key = 'AIzaSyAL7YE_8oGFPPWJ6pgQVbAYF-G7tsbf15I';
$base_url = 'https://www.googleapis.com/youtube/v3/';
$playlist_items_url = 'playlistItems?part=contentDetails%2Csnippet&maxResults=50&playlistId='.$playlist_id.'&key='.$api_key;
$playlist_url = $base_url . 'playlists?part=contentDetails%2Csnippet&id='.$playlist_id.'&key='.$api_key;
$playlist_output = curl_get($playlist_url);
View README.md
View example.html.haml
!!! 5
%html
%head
%title Example HAML
/[if IE]
%link{ :rel => "stylesheet", :href => "/css/ie.css" }
%body
#container
%header
%h2 Our Awesome HTML5 Template
You can’t perform that action at this time.