View 1password-8.9.13.ebuild
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 2023 Gentoo Authors | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=8 | |
inherit desktop xdg | |
DESCRIPTION="1password" | |
HOMEPAGE="https://1password.com" | |
SRC_URI="amd64? ( https://downloads.1password.com/linux/tar/stable/x86_64/${P}.x64.tar.gz )" |
View id_ed25519-to-pkcs8-pem.rb
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
path = ARGV[0] | |
pem = File.binread(path) | |
unless pem =~ /^-----BEGIN OPENSSH PRIVATE KEY-----(.*)-----END OPENSSH PRIVATE KEY-----$/m | |
raise "invalid OpenSSH private key" | |
end | |
binary = $1.unpack1("m") | |
magic = binary.byteslice(0, 15) | |
raise "invalid magic" if magic != "openssh-key-v1\0" |
View chromium.diff
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 a/components/url_formatter/url_formatter.cc b/components/url_formatter/url_formatter.cc | |
index 047ab69bf7ae..bd58042b4e60 100644 | |
--- a/components/url_formatter/url_formatter.cc | |
+++ b/components/url_formatter/url_formatter.cc | |
@@ -462,14 +462,14 @@ bool IDNToUnicodeOneComponent(const base::char16* comp, | |
} // namespace | |
const FormatUrlType kFormatUrlOmitNothing = 0; | |
-const FormatUrlType kFormatUrlOmitUsernamePassword = 1 << 0; | |
-const FormatUrlType kFormatUrlOmitHTTP = 1 << 1; |
View gist:47938183f9b9bfa458ce152319697abe
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 a/Makefile b/Makefile | |
index d0657aaea0f5..cf72ad5d9c7d 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -196,7 +196,8 @@ progs = $(progs_install) btrfsck btrfs-corrupt-block | |
progs_install = btrfs mkfs.btrfs btrfs-debug-tree \ | |
btrfs-map-logical btrfs-image btrfs-zero-log \ | |
btrfs-find-root btrfstune \ | |
- btrfs-select-super | |
+ btrfs-select-super \ |
View a.c
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
void | |
sfunc(int room) | |
{ | |
if (room) | |
go(); | |
} | |
void | |
func(int argc) | |
{ |
View 0001-Add-a-rake-task-to-install-testing-dependencies.patch
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 e7c0f184530fa3f056ac2939793797fff9d5448e Mon Sep 17 00:00:00 2001 | |
From: Kazuki Yamaguchi <k@rhe.jp> | |
Date: Wed, 26 Oct 2016 18:29:09 +0900 | |
Subject: [PATCH] Add a rake task to install testing dependencies | |
Extracted from tool/ruby-openssl-docker/init.sh. Parse the dependency | |
gems from openssl.gemspec and install them. | |
--- | |
Rakefile | 22 ++++++++++++++++++---- | |
tool/ruby-openssl-docker/init.sh | 11 +---------- |
View gist:2a36cee51612a1b44563052b6daec077
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
import java.math.BigInteger; | |
import java.security.KeyFactory; | |
import java.security.Signature; | |
import java.security.interfaces.*; | |
import java.security.spec.DSAPrivateKeySpec; | |
import java.security.spec.RSAPrivateKeySpec; | |
import org.bouncycastle.jce.spec.*; | |
import org.bouncycastle.jce.*; | |
import java.util.Base64; |
View gist:f6f1bf30a7c7c946ed0f23342b511b45
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
root@archiso ~/btrfs-progs/target/bin (git)-[master] # gdb --args ./btrfs-debug-tree -b 154647527424 /dev/sdc | |
GNU gdb (GDB) 7.11.1 | |
Copyright (C) 2016 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-pc-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: |
View gist:1aabe07c729fa8fa50a59ba465760cf1
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
[4575981.724436] BTRFS warning (device sdd): csum failed ino 4026619 off 1679110144 csum 1020158818 expected csum 89181750 | |
[4575981.779455] BTRFS warning (device sdd): csum failed ino 4026619 off 1679110144 csum 1020158818 expected csum 89181750 | |
[4575981.796494] BTRFS warning (device sdd): csum failed ino 4026619 off 1679110144 csum 1020158818 expected csum 89181750 | |
[4575981.832603] BTRFS warning (device sdd): csum failed ino 4026619 off 1679110144 csum 1587196673 expected csum 89181750 | |
[4776329.360108] BTRFS warning (device sda): csum failed ino 210744 off 168673280 csum 2350653862 expected csum 3045231858 | |
[4776329.365327] BTRFS warning (device sda): csum failed ino 210744 off 168673280 csum 2350653862 expected csum 3045231858 | |
[4776329.372411] BTRFS warning (device sda): csum failed ino 210744 off 168673280 csum 3419420001 expected csum 3045231858 | |
[4776331.069572] BTRFS warning (device sda): csum failed ino 210744 off 168673280 csum 2350653862 expected csum 3045231858 | |
[4776331.069645] BTRFS warning (device s |
View tsp_visualize.rb
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
# usage: | |
# | |
# gem install rb-inotify | |
# ruby tsp_visualize.rb tech30000.{in,out} | |
require "tk" | |
require "rb-inotify" | |
RADIUS = 400 | |
canvas = TkCanvas.new do |c| |
NewerOlder