W3C Introduction to Web Components - explainer/overview of the technologies
This file contains hidden or 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 'json' | |
| require 'uri' | |
| @token = '' | |
| def list_files | |
| ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
| params = { | |
| token: @token, |
This file contains hidden or 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 'securerandom' | |
| require 'set' | |
| tokens = Set.new | |
| i = ENV['I'].to_i | |
| length = ENV['KEY_LENGTH'].to_i | |
| i.times do |i| |
This file contains hidden or 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
| #!/bin/bash | |
| # Stop all containers | |
| docker stop $(docker ps -a -q) | |
| # Delete all containers | |
| docker rm $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi $(docker images -q) |
This file contains hidden or 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
| ### Keybase proof | |
| I hereby claim: | |
| * I am boram on github. | |
| * I am boram (https://keybase.io/boram) on keybase. | |
| * I have a public key whose fingerprint is 8992 7D29 BB91 7899 AAAF A45B D871 A7A9 AF45 D4B4 | |
| To claim this, I am signing this object: |
This file contains hidden or 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
| var App = Em.Application.create(); | |
| App.ApplicationController = Em.Controller.extend(); | |
| App.ApplicationView = Em.View.extend({ templateName: 'application' }); | |
| App.HomeController = Em.Controller.extend(); | |
| App.HomeView = Em.View.extend({ templateName: 'home' }); | |
| App.AuthController = Em.Controller.extend({ |