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/sources/NSStringITerm.m b/sources/NSStringITerm.m | |
index cd32c4ecf..ff996e611 100644 | |
--- a/sources/NSStringITerm.m | |
+++ b/sources/NSStringITerm.m | |
@@ -47,6 +47,7 @@ | |
#import <apr-1/apr_base64.h> | |
#import <Carbon/Carbon.h> | |
#import <wctype.h> | |
+#include <wchar.h> | |
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
// ==UserScript== | |
// @name Niconico Live Video Flipper | |
// @match https://live.nicovideo.jp/watch/* | |
// @match https://live2.nicovideo.jp/watch/* | |
// ==/UserScript== | |
(function() { | |
const addonControllerEl = document.querySelector('[class^="___addon-controller___"]'); | |
if (!addonControllerEl) { | |
console.error('Addon controller element is not found.'); | |
return; |
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
use proc_macro::TokenStream; | |
use quote::{quote, ToTokens}; | |
use syn::Token; | |
use syn::parse::{Parse, ParseStream}; | |
#[proc_macro] | |
pub fn either(input: TokenStream) -> TokenStream { | |
let parsed = syn::parse_macro_input!(input as EitherProcedure); | |
let tokens = match parsed { | |
EitherProcedure::If(expr) => quote!(#expr), |
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
--- a/dlls/winex11.drv/systray.c 2022-01-18 13:26:44.305636580 +0900 | |
+++ b/dlls/winex11.drv/systray.c 2022-01-18 13:29:32.343331121 +0900 | |
@@ -322,7 +322,7 @@ | |
icon->display = nb_displayed; | |
pos = get_icon_pos( icon ); | |
- icon->window = CreateWindowW( icon_classname, NULL, WS_CHILD | WS_VISIBLE, | |
+ icon->window = CreateWindowW( icon_classname, icon->tiptext, WS_CHILD | WS_VISIBLE, | |
pos.x, pos.y, icon_cx, icon_cy, standalone_tray, NULL, NULL, icon ); | |
if (!icon->window) |
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/scm/custom-rt.scm b/scm/custom-rt.scm | |
index 4975839a..4a7e9b3f 100644 | |
--- a/scm/custom-rt.scm | |
+++ b/scm/custom-rt.scm | |
@@ -289,5 +289,6 @@ | |
(let ((load-conf (if custom-enable-mtime-aware-user-conf-reloading? | |
custom-load-updated-group-conf | |
custom-load-group-conf))) ;; original behavior | |
+ (load-user-conf) | |
(for-each load-conf (custom-list-primary-groups)) |
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/services/font/font_service_app.cc b/components/services/font/font_service_app.cc | |
index 4bbeebcb5..5c8a6ee89 100644 | |
--- a/components/services/font/font_service_app.cc | |
+++ b/components/services/font/font_service_app.cc | |
@@ -149,11 +149,13 @@ void FontServiceApp::OpenStream(uint32_t id_number, | |
void FontServiceApp::FallbackFontForCharacter( | |
uint32_t character, | |
const std::string& locale, | |
+ mojom::TypefaceStylePtr requested_style, | |
FallbackFontForCharacterCallback callback) { |
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
// ==UserScript== | |
// @name cockpit-for-pixiv simple download extension | |
// @namespace Violentmonkey Scripts | |
// @match https://www.pixiv.net/* | |
// @grant GM_download | |
// @version 1.0 | |
// @author - | |
// @description 9/2/2021, 1:18:12 AM | |
// ==/UserScript== | |
(() => { |
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
use std::cell::UnsafeCell; | |
use std::future::Future; | |
use std::pin::Pin; | |
use std::ptr; | |
use std::rc::Rc; | |
use std::task::{Context, Poll}; | |
pub struct Generator<'a, Yield, Resume, Return> { | |
coroutine: Coroutine<Yield, Resume>, | |
future: Pin<Box<dyn Future<Output = Return> + 'a>>, |
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
use std::array; | |
#[derive(Debug, PartialEq, Eq)] | |
pub struct Element<T> { | |
pub instance: T, | |
pub children: Box<[Element<T>]>, | |
} | |
#[derive(Debug, PartialEq, Eq)] | |
pub enum Child<T> { |
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/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | |
index ef1a62e..2da9d58 100644 | |
--- a/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | |
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | |
@@ -449,6 +449,14 @@ static int navi10_setup_pptable(struct smu_context *smu) | |
if (ret) | |
return ret; | |
+ // Patch PPTable | |
+ PPTable_t *pptable = smu->smu_table.driver_pptable; |
NewerOlder