Redmine の plugin はメンテナンスされていないものが多く、最新バージョンで動作するか不明だったのでメモ。
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 b6272b5b9eb2546383e4590ebf8d9578f3e2b947 Mon Sep 17 00:00:00 2001 | |
From: Joan Bruguera <joanbrugueram@gmail.com> | |
Date: Thu, 7 Jan 2021 18:40:33 +0100 | |
Subject: [PATCH] Tentative fix for NVIDIA 460.32.03 driver for Linux 5.11-rc2 | |
--- | |
conftest.sh | 17 ++++++++++++- | |
nvidia-drm/nvidia-drm-crtc.c | 17 +++++++++++++ | |
nvidia-drm/nvidia-drm-drv.c | 15 ++++++++++++ | |
nvidia-drm/nvidia-drm-gem-user-memory.c | 24 +++++++++++++++++++ |
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
--- ./sql/sql_yacc.yy.orig 2021-01-05 19:19:59.000000000 +0900 | |
+++ ./sql/sql_yacc.yy 2021-04-01 11:52:06.167953286 +0900 | |
@@ -2,2 +2,3 @@ | |
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. | |
+ Copyright (c) 2021, yoku0825. All rights reserved. | |
@@ -1570,2 +1571,3 @@ | |
%token SSL_SYM | |
+%token PLEASE_SYM /* yoku0825 */ | |
%token STARTING |
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 os | |
import sys | |
from wsgiref.simple_server import make_server | |
PORT = int(os.getenv("PORT") or "8080") | |
def app(environ, start_response): | |
path = environ["PATH_INFO"] | |
if path == "/sse": |
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
nginx-full nginx-extras nginx-light | |
Access YES YES YES | |
Addition File AIO Mail Core - YES - | |
Addition Mail Core YES - - | |
Auth Basic YES YES YES | |
Auto Index YES YES YES | |
Browser YES YES - | |
Charset YES YES YES | |
Echo YES YES - | |
Embedded Lua - YES - |
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
function condalist -d 'List conda environments.' | |
for dir in (ls $HOME/miniconda3/envs) | |
echo $dir | |
end | |
end | |
function condactivate -d 'Activate a conda environment' -a cenv | |
if test -z $cenv | |
echo 'Usage: condactivate <env name>' | |
return 1 |
"The trick is to catch exceptions at the proper layer, where your program can either meaningfully recover from the exception and continue without causing further errors, or provide the user with specific information, including instructions on how to recover from the error. When it is not practical for a method to do either of these, simply let the exception go so it can be caught later on and handled at the appropriate level."
Advantages of Exceptions
Excellent example of separating error-handling code from program logic
Three Rules for Effective Exception Handling
Longer explanation and case study of exception use, including the basic principles of "throw early" and "catch late". Clear and thorough.
OlderNewer