Skip to content

Instantly share code, notes, and snippets.

View jacky9813's full-sized avatar

JackyCCChen jacky9813

  • Nextlink Technology
View GitHub Profile

Building Python 3.11

This article focuses on building CPython for common Linux server operating systems.

These scripts will be tested in fresh Docker container.

I'll install dependencies from package manager if possible, or I'll try compile myself if that makes sense.

The dependencies doesn't change much between these CPython versions, so Python 3.12 and 3.10

Dim verbose
verbose = True
' verbose = False
Sub WordCallback(FilePath)
On Error Resume Next
Dim outputPath, oDoc
outputPath = FilePath & "x"
If verbose Then
Wscript.Echo FilePath & " => " & outputPath
@jacky9813
jacky9813 / yum-mirror
Created June 14, 2020 12:49
Bash script for mirroring yum repositories registered in the system
#!/usr/bin/env bash
BASEDIR=$(pwd)
PROGRAMDIR=$(dirname $(readlink -f "${BASH_SOURCE[0]}"))
REPOSINFODIR=/etc/yum.repos.d
SYNCSTARTTIME=$(date "+%Y%m%d%H%M%S")
SYNCLOGDIR=$BASEDIR/logs/sync/$SYNCSTARTTIME
GLOBALLOGFILE=SyncLog.log
ALLREPOS=false
VERBOSE=false
SHOWREPOS=false
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.