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
| # Use the latest 2.1 version of CircleCI pipeline process engine. | |
| # See: https://circleci.com/docs/configuration-reference | |
| version: 2.1 | |
| rails_build: &rails_build | |
| resource_class: small | |
| docker: | |
| - image: cimg/ruby:3.2-browsers | |
| - image: cimg/postgres:16.1 | |
| environment: |
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
| # prototype extracted from the Practical Framework | |
| class PracticalFramework::Components::TiptapDocument < Phlex::HTML | |
| class UnknownNodeTypeError < StandardError; end | |
| class UnknownMarkupTypeError < StandardError; end | |
| module NodeRendering | |
| def render_node(node:) | |
| case node[:type].to_sym | |
| when :text |
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 'sinatra' | |
| require 'json' | |
| require 'openssl' | |
| require 'byebug' | |
| require 'httparty' | |
| NOKO_TOKEN = "YOUR TOKEN" | |
| BROADCAST_RECEIVER_NAME = "Timer Status" | |
| PAYLOAD_URI = "YOUR URI" |
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
| <main> | |
| <section id='login-sections'> | |
| <section id="signin" class="login-section"> | |
| <h2>Sign in</h2> | |
| <form> | |
| <div> | |
| <label for='email'>email</label> | |
| <input type="email" id="email" name="email" required> | |
| </div> |
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 'sinatra' | |
| require 'json' | |
| require 'openssl' | |
| def read_payload(secret, request) | |
| body = request.body.read | |
| push = JSON.parse(body) | |
| given_signature = request.env["HTTP_X_NOKO_SIGNATURE"] | |
| signature = OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha256'), secret, body) |
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
| EventTarget.prototype._addEventListener = EventTarget.prototype.addEventListener; | |
| EventTarget.prototype.addEventListener = function(a,b,c) { | |
| if(c==undefined) | |
| c=false; | |
| this._addEventListener(a,b,c); | |
| if(!window.eventListenerList) | |
| window.eventListenerList = {}; | |
| if(!window.eventListenerList[a]) | |
| window.eventListenerList[a] = []; | |
| //this.removeEventListener(a,b,c); // TODO - handle duplicates.. |
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
Show hidden characters
| [ | |
| // TABS | |
| { | |
| "class": "tab_label", | |
| "parents": [{"class": "tab_control","attributes": ["selected"]}], | |
| "shadow_offset": [0,0], | |
| "fg": [255, 255, 255] // 06 | |
| }, | |
| { | |
| "class": "tab_control", |
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
| using UnityEngine; | |
| using System.Collections; | |
| using System; | |
| namespace Telemachus | |
| { | |
| public class CameraCapture : MonoBehaviour | |
| { | |
| public RenderTexture overviewTexture; | |
| Camera OVcamera = null; |
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
| <script src="https://zapier.com/zapbook/embed/widget.js?services=freckle&limit=6"></script> |