sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
I spent a few hours chasing down just how to get my static assets (css, fonts, images) to load in an Electron app built using electron-forge v6 (https://www.electronforge.io/) and its webpack plugin (https://www.electronforge.io/config/plugins/webpack) while in development mode. There really isn't any documentation available online, either in the electron-forge documentation or in places like blogs or gists or stackoverflow. So I thought I'd put it down here.
Load CopyWebpackPlugin
npm i -D copy-webpack-plugin
Use the plugin to move your directories into place.
Public Enum ePrintMargin: xlNone = 0: xlNarrow = 1: xlNormal = 2: xlWide = 3: End Enum | |
Public Enum ePaperSize: xlA4 = 9: xlA3 = 8: xlLetter = 1: xlA5 = 11: End Enum | |
'------------------------------------------------- | |
Sub 엑셀파일로저장() | |
'여기를 선택 후, F5키를 누르면 각 시트를 나누어 저장합니다. | |
Dim Path As String: Path = GetFolderPath | |
If Path = "" Then MsgBox "올바른 폴더 경로를 선택하세요.": Exit Sub |
2023-10-04
@voluntas
2023.2
// this code fragment shows how to print a stack trace (to stderr) | |
// on Linux using the functions provided by the GNU libc | |
#include <execinfo.h> | |
#define MAX_STACK_LEVELS 50 | |
// helper-function to print the current stack trace | |
void print_stacktrace() | |
{ |
private val DefaultHighlightWidth = 136.dp | |
private val DefaultDuration = 1200.milliseconds | |
private val DefaultDelay = 1.seconds | |
private val DefaultStartColor = Color(0x32394A00) | |
private val DefaultMiddleColor = Color.White | |
private val DefaultEndColor = DefaultStartColor | |
private const val DefaultAlpha = 0.2F | |
private val DefaultShape = RoundedCornerShape(12.dp) | |
@Composable |
from __future__ import print_function | |
import struct | |
import gdb | |
def log(): | |
# Get the inferior. | |
try: |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
#!/bin/bash | |
# see https://github.com/Sonarr/Sonarr/issues/967#issuecomment-228599877 | |
EVENT_TYPE="$sonarr_eventtype" | |
LOGFILE="/config/logs/sonarr-symlink.log" | |
ERROR_LOGFILE="/config/logs/sonarr-symlink.error.log" | |
PERMPATH="$sonarr_episodefile_path" | |
LINKPATH="$sonarr_episodefile_sourcepath" | |
main() { |