This file contains 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 namespace App\Http; | |
use BetterReflection\Reflection\ReflectionClass; | |
/** | |
* Class Route | |
* | |
* Installation : | |
* package require https://github.com/Roave/BetterReflection | |
* $ composer require roave/better-reflection |
This file contains 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
require 'net/http' | |
require 'uri' | |
require 'json' | |
module NewRelic | |
module Insights | |
class Query | |
attr_reader :key, :account_id | |
def initialize(key, account_id) |
This file contains 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
from gmusicapi import Webclient | |
from gmusicapi import Mobileclient | |
import vlc | |
import urllib | |
# Use Google account credintials. If two factor is enabled, use application specific password. | |
email = 'user@gmail.com' | |
password = 'password' | |
# Device ID for API queries. Leave blank if unknown. |
This file contains 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 | |
/** | |
* UUID class | |
* | |
* The following class generates VALID RFC 4122 COMPLIANT | |
* Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
* | |
* UUIDs generated validates using OSSP UUID Tool, and output | |
* for named-based UUIDs are exactly the same. This is a pure | |
* PHP implementation. |