- GET https://www.googleapis.com/drive/v2/files/{fileId}
fileId
: string : The file's google fileId- Options:
acknowledgeAbuse
:bool,projection
:string,revisionId
:string,updateViewedDate
:bool
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
:root { | |
--primary: #09F; | |
--accent: #57A; | |
--background: #080808; | |
--background-elevated: #222; | |
--background-hover: rgba(255, 255, 255, 0.1); | |
--sidebar-background: #1a2129; | |
--border-dim: #666; |
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
import sublime, sublime_plugin | |
import random | |
import time | |
class PushidCommand(sublime_plugin.TextCommand): | |
def run(self, edit): | |
self.view.insert(edit, self.view.sel()[0].begin(), PushID().next_id()) | |
class PushID(object): | |
PUSH_CHARS = ('-0123456789' |
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
# This config will host your main [Laravel] GUI application at /, and any additional [Lumen] webservices at /api/v1 and /api/v2... | |
# This also works perfectly for all static file content in all projects | |
# This is full of debug comments so you can see how to print debug output to browser! Took me hours to nail this perfect config. | |
# Example: | |
# http://example.com - Main Laravel site as usual | |
# http://example.com/about - Main Laravel site about page as usual | |
# http://example.com/robots.txt - Main Laravel site static content as usual | |
# http://example.com/api/v1 - Lumen v1 api default / route | |
# http://example.com/api/v1/ - Lumen v1 api default / route |
$url = parse_url($_SERVER['HTTP_HOST']);
$host = explode('.', $url['path']);
$subdomain = count($host) > 2
? implode('.', array_slice($host, 0, count($host)-2))
: "";
$_SESSION['subdomain'] = $subdomain;
switch ($subdomain)
{