Skip to content

Instantly share code, notes, and snippets.

View HartS's full-sized avatar

Hart Simha HartS

View GitHub Profile
@HartS
HartS / player.html
Created January 7, 2024 11:01
Chromecast subtitle player
<head>
<!-- Edit myvideo.mp4 and mysubtitles.srt to reference your filenames -->
<link href="https://vjs.zencdn.net/8.6.1/video-js.css" rel="stylesheet" />
<!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
<!-- <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script> -->
</head>
<body>
<video
@HartS
HartS / nextein-guide-setup.sh
Last active February 8, 2021 09:07
nextein-guide-setup
#!/bin/bash
mkdir my-blog && cd my-blog && npm init -y
npm install --save next react react-dom nextein webpack@4
cat > next.config.js << 'EOF'
const nexteinConfig = require('nextein/config').default
module.exports = nexteinConfig({
// place your next config in here!
@HartS
HartS / bootstrap.log
Created September 23, 2016 01:35
bootstrap log
This file has been truncated, but you can view the full file.
INFO[0000] Using config file: bootstrap.properties
INFO[0000] Validating the required parameters for the IaaS provider: AWS
INFO[0000] Validation successful.
INFO[0033] Bootstrapping HCP version 1.2.44 ...
INFO[0033] Kubernetes version 1.3.7-hpe.1
INFO[0033] Cluster ID: 8bfae28b-804b-11e6-a8af-02bd695187ab
INFO[0033] Initial state: null_resource.hcp_kubernetes_master_3afec598-29c0-11e6-9136-60f81dc1edbe, null_resource.hcp_kubernetes_node_79ff2756-29c0-11e6-9cb6-60f81dc1edbe, null_resource.hcp_secgroup_129dd454-29c0-11e6-9090-60f81dc1edbe
INFO[0034] Creating Security group for HCP...
DEBU[0034] Writing terraform config to /tmp/tform_rpmgr080307797
INFO[0037] aws_security_group.hcp_secgroup_8ce5fb6a-804b-11e6-a8af-02bd695187ab: Creating...