Skip to content

Instantly share code, notes, and snippets.

View davidboy's full-sized avatar

David Reed davidboy

  • Paragon Component Systems
  • Tennessee
View GitHub Profile
using Gtk;
int main(string[] args) {
Gtk.init (ref args);
try {
var builder = new Builder ();
builder.add_from_file ("crux.glade");
var window = builder.get_object ("other_window") as Window;
import socket
import atexit
import requests
import json
CURRENT_LOCATION = "level02-2.stripe-ctf.com"
class Webhook:
def __init__(self):
self.last_remote_port = 0
function onEdit() {
var cell = SpreadsheetApp.getActiveSheet().getActiveCell();
switch (cell.getColumn()) {
case 2:
insertTimestamp(cell, 'C');
break;
case 4:
insertTimestamp(cell, 'E');
break;
private static final double[][] RGB_TO_LMS = {
{0.3811, 0.5783, 0.0402},
{0.1967, 0.7244, 0.0782},
{0.0241, 0.1288, 0.8444}
};
private static final double[][] LOG_LMS_TO_LAB = {
{0.5773502691896258, 0.5773502691896258, 0.5773502691896258},
{0.4082482904638631, 0.4082482904638631, -0.8164965809277261},
{0.7071067811865475, -0.7071067811865475, 0.0}
<?xml version="1.0" encoding="UTF-8"?>
<!--
IIS configuration sections.
For schema documentation, see
%IIS_BIN%\config\schema\IIS_schema.xml.
Please make a backup of this file before making any changes to it.