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
| #!/usr/bin/env bash | |
| # This script is for upgrading OLM from a GitHub release | |
| set -e | |
| default_base_url=https://github.com/operator-framework/operator-lifecycle-manager/releases/download | |
| if [[ ${#@} -lt 1 || ${#@} -gt 2 ]]; then |
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
| select c.chunk_name, | |
| to_char(range_start, 'YYYY-MM-DD HH24:MI') start, | |
| to_char(AGE(range_end, range_start), 'DD "days" HH24 "hours"') as interval, | |
| is_compressed, | |
| pg_size_pretty( | |
| CASE | |
| WHEN cs.before_compression_total_bytes is null THEN cds.total_bytes | |
| ELSE cs.before_compression_total_bytes END | |
| ) as before_total, | |
| pg_size_pretty(after_compression_total_bytes) as after_total, |
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
| package certutil | |
| import ( | |
| "crypto/tls" | |
| "fmt" | |
| "software.sslmate.com/src/go-pkcs12" | |
| ) | |
| func PKCS12ToCertChain(pfxData []byte, password string) (tls.Certificate, error) { |
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
| package wsstomp | |
| import ( | |
| "io" | |
| "github.com/gorilla/websocket" | |
| ) | |
| type WebsocketSTOMP struct { | |
| connection *websocket.Conn |
This file has been truncated, but you can view the full file.
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
| { | |
| "DIPLOBLASTIC": "Characterizing the ovum when it has two primary germinallayers.", | |
| "DEFIGURE": "To delineate. [Obs.]These two stones as they are here defigured. Weever.", | |
| "LOMBARD": "Of or pertaining to Lombardy, or the inhabitants of Lombardy.", | |
| "BAHAISM": "The religious tenets or practices of the Bahais.", | |
| "FUMERELL": "See Femerell.", | |
| "ROYALET": "A petty or powerless king. [R.]there were at this time two other royalets, as only kings by hisleave. Fuller.", | |
| "TROPHIED": "Adorned with trophies.The trophied arches, storied halls, invade. Pope.", |
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
| import sys | |
| from threading import Thread | |
| from random import seed | |
| from random import random | |
| from datetime import datetime | |
| from PyQt5.QtCore import QCoreApplication, Qt, QLineF, QRectF, QTimer | |
| from PyQt5.QtGui import QPainter, QColor, QFont, QKeySequence, QMouseEvent, QCursor | |
| from PyQt5.QtWidgets import QApplication, QWidget, QMainWindow, QPushButton, QAction, QMessageBox | |
| from PyQt5.QtWidgets import QCheckBox, QProgressBar, QShortcut | |
| import numpy as np |
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
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "os" | |
| ) | |
| var ( | |
| content = flag.String("content", "", "what gets written to the file") |
