I hereby claim:
- I am prebrov on github.
- I am prebrov (https://keybase.io/prebrov) on keybase.
- I have a public key whose fingerprint is 8BDF 54B3 A7D3 F1C2 9856 788B AD04 EE48 472C 7177
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>video.js HLS Plugin Example</title> | |
| <link href="node_modules/video.js/dist/video-js/video-js.css" rel="stylesheet"> | |
| <!-- video.js --> | |
| <script src="node_modules/video.js/dist/video-js/video.js"></script> |
| /** | |
| * PLUGIN CODE | |
| */ | |
| // create a simple javascript plugin that gets the current video ID and sets up ads: | |
| videojs.plugin('setupAds', function() { | |
| 'use strict'; | |
| var player = this, | |
| currentVideoId = player.el().getAttribute('data-video-id'); | |
| player.ima3({ |
| server { | |
| listen 80; | |
| root /var/www/craft.dev/public; | |
| index index.php index.html index.htm; | |
| server_name craft.dev; | |
| location / { | |
| try_files $uri $uri/ @rewrites; |
| #!/bin/bash | |
| # Get Homebrew in the new location | |
| git clone git@github.com:Homebrew/homebrew.git ~/Homebrew | |
| # Move all your installed packages to the new location | |
| mv /usr/local/Cellar ~/Homebrew/Cellar | |
| mv /usr/local/Library ~/Homebrew/Library | |
| # Remove "root" directory files left behind | |
| rm -rf /usr/local/.git /usr/local/{.gitignore,.yardopts,CODEOFCONDUCT.md,CONTRIBUTING.md,LICENSE.txt,README.md,SUPPORTERS.md} |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import settings | |
| from twilio.rest import Client | |
| import csv, datetime | |
| # put your own credentials here | |
| account_sid = 'YOUR TWILIO ACCOUNT SID' | |
| auth_token = 'YOUR TWILIO AUTH TOKEN' |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os, json | |
| import requests | |
| # Configure variables | |
| ACCOUNT_SID = 'AC*********************' | |
| AUTH_TOKEN = '***********************' | |
| FLOW_SID = 'FW**********************' |
| # Save this file | |
| # mac - "~/Library/Application Support/Sublime Text 3/Packages/" | |
| # linux - "~/.config/sublime-text-3/Packages/" | |
| # NOTE! | |
| # ~/.nvm/alias/default must contain full version name. | |
| # $ nvm alias default v4.3.5 | |
| import os |
| import os | |
| import argparse | |
| from twilio.rest import Client | |
| # Load .env file and overwrite existing environment vars if they exist | |
| from dotenv import load_dotenv, find_dotenv | |
| load_dotenv(find_dotenv(), override=True) | |
| # Your Account Sid and Auth Token from twilio.com/console | |
| account_sid = os.getenv("TWILIO_ACCOUNT_SID") |