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
#!/bin/resh | |
# This is a Unix shell, what's fun about it? | |
HELLO='Hello,' | |
CURRENT_VERSION=4 | |
# But here's a twist | |
# I know you hate C++ style lambda capture | |
resh [&] { | |
// But now you code in a high level scripting language |
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
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Ŀ | |
▒ Boot Menu List ▒ | |
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Ĵ | |
▒ -> 1 'LoongOS (2k300)' ▒ | |
▒ ▒ | |
▒ ▒ | |
▒ ▒ | |
▒ ▒ | |
▒ ▒ | |
▒ ▒ |
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
<!--SPDX License Identifier: CC0-1.0--> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key></key> | |
<string>moveToBeginningOfParagraph:</string> | |
<key>$</key> | |
<string>moveToBeginningOfParagraphAndModifySelection:</string> | |
<key>^</key> |
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
#include <std/core.pat> | |
struct fc_pattern_index_entry_channel { | |
u8 pattern_id; | |
u8 transpose; | |
u8 sound_transpose; | |
}; | |
struct fc_pattern_index_entry { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
struct header { | |
u8 initial, format, version; | |
u8 literal[6]; | |
u32 intdata; | |
float floatdata; | |
u8 lintsize, insnsize, numbersize, intsize, | |
ptrsize; | |
}; | |
struct undump { |
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
## | |
## This file is part of the libsigrokdecode project. | |
## | |
## Copyright (C) 2012-2013 Uwe Hermann <[email protected]> | |
## Copyright (C) 2019 Stephan Thiele <[email protected]> | |
## Copyright (C) 2023 DreamSourceLab <[email protected]> | |
## | |
## This program is free software; you can redistribute it and/or modify | |
## it under the terms of the GNU General Public License as published by | |
## the Free Software Foundation; either version 2 of the License, or |
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
// Build an client that doesn't follow redirect | |
val okhttpNoRedirect = okhttp.newBuilder() | |
.followRedirects(false) | |
.build() | |
if (!verifyUserCredentials()) { | |
state._loginState.value = LoginState.NoSessionData | |
return | |
} | |
state._loginState.value = LoginState.LoggingIn |
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
Update note: Linux kernel commit feb627e8d6f69c9a319fe279710959efb3eba873 | |
breaks this patch and will need to be reverted in order for this to work on | |
kernels starting with 5.16. | |
From 28e67537895c4b46b9721f19609ee4f2ccb8c132 Mon Sep 17 00:00:00 2001 | |
From: pi <[email protected]> | |
Date: Sat, 7 Nov 2020 18:41:42 +0100 | |
Subject: [PATCH] Add 'hide-hypervisor' QMP command | |
CAUTION: Extremely hacky stuff below. Use at own risk of bugs, breakage and |
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
#include <psapi.h> | |
#include <windows.h> | |
#ifdef _WIN32 | |
int checkIsWinTerm() | |
{ | |
HWND hConsoleWnd = GetConsoleWindow(); | |
DWORD dwConsolePid; | |
GetWindowThreadProcessId(hConsoleWnd, &dwConsolePid); |
NewerOlder