This file contains 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 2024 Google LLC. | |
# SPDX-License-Identifier: Apache-2.0 | |
from cyclic_toposort import cyclic_toposort, acyclic_toposort | |
from collections import defaultdict | |
import re | |
votes = """ | |
Shane: 1 ~> 3a > (3b ~> 5) > (2 ~> 4) | |
Manish: (1 ~> 3b) > 3a > 5 > 2 >> 4 |
This file contains 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
// Build this file with: | |
// rustc --target wasm32-unknown-unknown bigbox.rs | |
#![crate_type = "cdylib"] | |
type INNER = Vec<u8>; | |
#[no_mangle] | |
pub extern "C" fn make_big_box(len: usize) -> *mut core::ffi::c_void { | |
let memory: Box<INNER> = Box::new(vec![0; len]); |
This file contains 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
Apache v2 Contributor License Agreement: Octave Online LLC | |
========================================================== | |
Thank you for your interest in Octave Online LLC (the "Company"). | |
In order to clarify the intellectual property license granted with | |
Contributions from any person or entity, the Company must have a | |
Contributor License Agreement ("CLA") on file that has been signed by | |
each Contributor, indicating agreement to the license terms below. | |
This license is for your protection as a Contributor as well as the | |
protection of the Company and its users; it does not change your |
This file contains 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
{ | |
"$id": "http://unicode.org/icu-filter-schema", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"description": "JSON Schema for an ICU data filter file", | |
"type": "object", | |
"properties": { | |
"localeFilter": { "$ref": "#/definitions/filter" }, | |
"featureFilters": { | |
"type": "object", | |
"properties": { |
This file contains 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="Content-Language" content="en-us"> | |
<link rel="stylesheet" href="http://www.unicode.org/reports/reports.css" | |
type="text/css"> | |
<title>UTS #35: Unicode LDML: General</title> |
This file contains 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
# File: /etc/apache2/conf-available/markdown.conf | |
# | |
# Copyright (c) 2018 Shane F. Carr | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains 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
gem "image_optim", "~> 0.25" | |
gem "image_optim_pack", "~> 0.5.1" |
This file contains 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
# To autoload this file into GDB, put the following line in ~/.gdbinit: | |
# | |
# python execfile("/path/to/icu_unicodestring_prettyprinter.py") | |
# | |
# You can also run that line of code in the GDB console without adding it to ~/.gdbinit. | |
from __future__ import print_function | |
from array import array | |
import re |
This file contains 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
#include "stdio.h" | |
#include "stdint.h" | |
#include <float.h> | |
#include <limits.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <math.h> | |
#define LOG2_10 3.32192809488736 |
This file contains 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 ruby | |
require 'uri' | |
LAST_MONTH_DAN = "2017/april-dan.txt" | |
THIS_MONTH_DAN = "2017/may-dan.txt" | |
THIS_MONTH_RULERS = "2017/may-rulers.txt" | |
THIS_MONTH_THREADS = "2017/may-threads.txt" | |
rulers = File |