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
| public class Main { | |
| public static void main(String[] args) { | |
| List<Person> people = new ArrayList<>(); | |
| people.add(new Person("Warren Buffett", 120)); | |
| people.add(new Person("Jeff Bezos", 150)); | |
| people.add(new Person("Bill Gates", 100)); | |
| people.add(new Person("Mark Zuckerberg", 50)); | |
| List<Person> hundredClub = people.stream() |
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
| 7z a -t7z vvv2.7z *.exe *.dll -m0=BCJ2 -m1=ZSTD:x22 -m2=ZSTD:x3 -m3=ZSTD:x3 -mb0:1 -mb0s1:2 -mb0s2:3 |
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
| function getField2(str, property) { | |
| const regex = /\{(?:[^{}]|((?:\{[^{}]*\})))*\}/g; | |
| const matches = str.match(regex); | |
| const obj = JSON.parse(matches[0]); | |
| return obj[property]; | |
| } |
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
| [Unit] | |
| Description=Set ethtool settings for the specified NIC | |
| After=network-online.target | |
| Wants=network-online.target | |
| [Service] | |
| ExecStart=/usr/sbin/ethtool -A %i rx off tx off autoneg off | |
| Type=oneshot | |
| [Install] |
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
| #pragma once | |
| #include <MD_Parola.h> | |
| class MD_ParolaExt : public MD_Parola | |
| { | |
| public: | |
| MD_ParolaExt(MD_MAX72XX::moduleType_t mod, SPIClass &spi, uint8_t csPin, uint8_t numDevices = 1); | |
| size_t printExt(struct tm* timeinfo, const char* format = NULL); | |
| virtual ~MD_ParolaExt() = default; |
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
| [ | |
| { | |
| "Name": "bridge", | |
| "Id": "046bf8693a3bd3a5beb344a74fb1468204cdf0e82db7c98b2da86d497e8744a6", | |
| "Created": "2023-09-03T02:07:52.3204914Z", | |
| "Scope": "local", | |
| "Driver": "bridge", | |
| "EnableIPv6": false, | |
| "IPAM": { | |
| "Driver": "default", |
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 | |
| kernel="$1" | |
| [[ -n "$kernel" ]] || exit 0 | |
| # use already installed kernel if it exists | |
| [[ ! -f "$KERNELDESTINATION" ]] || kernel="$KERNELDESTINATION" | |
| keypairs=(/etc/refind.d/keys/refind_local.key /etc/refind.d/keys/refind_local.crt) |
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
| Num cores: 8 | |
| Num iterations per samples: 5000 | |
| Num samples: 300 | |
| 1) CAS latency on a single shared cache line | |
| 0 1 2 3 4 5 6 7 | |
| 0 | |
| 1 73±0 | |
| 2 73±0 73±2 |
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
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Runtime.Serialization; | |
| using System.Text; | |
| using System.Text.RegularExpressions; |
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
| { | |
| "__schema": { | |
| "queryType": { | |
| "name": "QueryRoot" | |
| }, | |
| "mutationType": { | |
| "name": "Mutation" | |
| }, | |
| "subscriptionType": null, | |
| "types": [ |
NewerOlder