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
diff --git b/src/rust/cryptography-x509-validation/src/lib.rs a/src/rust/cryptography-x509-validation/src/lib.rs | |
index 778ad4962..0f6ba7d6c 100644 | |
--- b/src/rust/cryptography-x509-validation/src/lib.rs | |
+++ a/src/rust/cryptography-x509-validation/src/lib.rs | |
@@ -163,8 +163,23 @@ impl<'a> AccumulatedNameConstraints<'a> { | |
pub struct Intermediates<'a>(HashSet<Certificate<'a>>); | |
impl<'a> Intermediates<'a> { | |
- fn new(intermediates: impl IntoIterator<Item = Certificate<'a>>) -> Self { | |
- Self(intermediates.into_iter().collect()) |
This file has been truncated, but you can view the full file.
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
{ | |
"specs": { | |
"chia-rs": { | |
"kind": "package", | |
"package": { | |
"chia_rs-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl": [ | |
{ | |
"name": "chia_rs.abi3.so", | |
"result": { | |
"is_abi3": true, |
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
sip | |
base2048 | |
pybundletool | |
opencv-contrib-python-rolling | |
pyrage | |
pillow-heif | |
rjmespath | |
placeholder | |
pyobjc-framework-cryptotokenkit | |
editdistance-s |
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
from blight.action import ASAction | |
class SayHello(ASAction): | |
def before_run(self, tool): | |
print(f"running {tool.wrapped_tool()} from {tool.cwd} on {tool.inputs}") | |
def after_run(self, tool): | |
print(f"finished running {tool.wrapped_tool()} on {tool.inputs}") |
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
auto *md = indir_data->messageDigest; | |
auto nid = OBJ_obj2nid(md->digestAlgorithm->algorithm); | |
auto digest = std::vector<std::uint8_t>(md->digest->data, md->digest->data + md->digest->length); |
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/local/Cellar/samba/4.7.5/bin/cifsdd | |
/usr/local/Cellar/samba/4.7.5/bin/dbwrap_tool | |
/usr/local/Cellar/samba/4.7.5/bin/eventlogadm | |
/usr/local/Cellar/samba/4.7.5/bin/gentest | |
/usr/local/Cellar/samba/4.7.5/bin/ldbadd | |
/usr/local/Cellar/samba/4.7.5/bin/ldbdel | |
/usr/local/Cellar/samba/4.7.5/bin/ldbedit | |
/usr/local/Cellar/samba/4.7.5/bin/ldbmodify | |
/usr/local/Cellar/samba/4.7.5/bin/ldbrename | |
/usr/local/Cellar/samba/4.7.5/bin/ldbsearch |
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
require "benchmark" | |
# Exception thrown on an INI parse error. | |
class ParseException < Exception | |
getter line_number : Int32 | |
getter column_number : Int32 | |
def initialize(message, @line_number, @column_number) | |
super "#{message} at #{@line_number}:#{@column_number}" | |
end |
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
pairs = gets.chomp.split.map { |p| p.split(/d/i).map(&:to_i) } | |
pairs.each { |s, t| puts "You rolled %s" % [*1..s].sample(t).reduce(:+) } |
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
size, times, _ = gets.chomp.split(/d/i).map(&:to_i) | |
puts "You totaled %d" % [*1..size].sample(times).reduce(:+) |
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 bash | |
# music-backup: use rsync to back ~/music up to /media/backup/music | |
function installed { | |
local cmd=$(command -v "${1}") | |
[[ -n "${cmd}" ]] && [[ -f "${cmd}" ]] | |
return ${?} | |
} |
NewerOlder