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
    
  
  
    
  | # .github/actions/yarn-changeset-publish/action.yml | |
| name: "Yarn Changeset Publish" | |
| description: "Creates release tags from changesets" | |
| outputs: | |
| published: | |
| description: "The published state" | |
| runs: | |
| using: "node12" | |
| main: "index.js" | 
  
    
      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
    
  
  
    
  | type PromiseCreator<T = any> = (() => Promise<T>) | Promise<T>; | |
| type PromiseCreatorMap<T> = { | |
| [P in keyof T]: PromiseCreator<T[P]>; | |
| }; | |
| type ResolvedPromiseMap<T> = { | |
| [P in keyof T]: T[P]; | |
| }; | 
  
    
      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
    
  
  
    
  | PUT https://<ARTIFACTORYURL>/api/npm/npm/-/user/org.couchdb.user:<USER> | |
| Content-Type: application/json | |
| { | |
| "_id": "org.couchdb.user:<USER>", | |
| "name": "<USER>", | |
| "password": "<APIKEY>", | |
| "type": "user", | |
| "roles": [], | |
| "date": "2020-10-09T00:04:22.579Z" | 
  
    
      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
| // This file was initially generated by Windows Terminal 0.11.1251.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | 
  
    
      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
    
  
  
    
  | // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // Simple extension to replace lolcat images from | |
| // http://icanhascheezburger.com/ with loldog images instead. | |
| chrome.webRequest.onBeforeRequest.addListener( | |
| function(info) { | |
| console.log("Cat intercepted: " + info.url); | 
  
    
      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
    
  
  
    
  | version: "3" | |
| services: | |
| postgres-db: | |
| image: postgres | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| environment: | |
| POSTGRES_PASSWORD: postgres | 
  
    
      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 | |
| # ==================================================================================== | |
| # | |
| # Title: | |
| # scpbak.sh | |
| # | |
| # Description: | |
| # A simple shell script to transfer files to a remote server, | |
| # followed by adding a suffix to transfered files to mark it as complete. | |
| # | 
  
    
      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
    
  
  
    
  | WITH from_table AS ( | |
| SELECT unnest(array[ | |
| -- tables go here | |
| -- start | |
| 'bookSessions', | |
| 'bookTimeslots', | |
| 'bookUnits', | |
| 'carts', | |
| 'errorLogs', | 
  
    
      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
    
  
  
    
  | /** | |
| * Title: Simple React State Management with Context | |
| * Description: | |
| * This is a React State Management proof of concept which uses the React ^16 Context API. | |
| * This POC is loosely based on redux, with the ommission of reducers to limit the amount of boilerplate required. | |
| * | |
| * --- | |
| * Author: Elias Hussary <[email protected]> | |
| * Created: 2018-06-07 | |
| * Updated: 2018-06-07 | 
  
    
      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
    
  
  
    
  | // paste in chrome console. | |
| let answers = Array.prototype.slice | |
| .call( | |
| document.querySelectorAll( | |
| "table > tbody > tr > td > table > tbody > tr > td:nth-child(2)[valign='top'] > div > span.correctAnswerFlag" | |
| ) | |
| ) | |
| .reduce((acc, n) => { | |
| const node = n.parentNode.children[2] | 
NewerOlder