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
#!/usr/bin/env bash | |
# @author : Anthony Bourdain | |
# @credit : https://stackoverflow.com/a/55073732/2940319 | |
# @usage : | |
# - `rgbtohex 17 0 26` ==> 1001A | |
# - `rgbtohex -h 17 0 26` ==> #1001A | |
function rgbtohex () { | |
addleadingzero () { awk '{if(length($0)<2){printf "0";} print $0;}';} | |
if [[ ${1} == "-h" ]]; then |
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
HOMEBREW_VERSION: 4.2.10-44-gfb09997 | |
ORIGIN: https://github.com/Homebrew/brew | |
HEAD: fb099976bd68003435ebccf4a4c2066768021286 | |
Last commit: 7 hours ago | |
Core tap HEAD: c394726d16bac282ed47fb18d10e7f96f5283d89 | |
Core tap last commit: 4 weeks ago | |
Core tap JSON: 29 Feb 02:04 UTC | |
Core cask tap origin: https://mirrors.ustc.edu.cn/homebrew-cask.git | |
Core cask tap HEAD: ea614e98b852030f32f73a4583d84491dca3df0e | |
Core cask tap last commit: 4 weeks ago |
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
--- Makefile 2024-01-04 18:12:26.836000000 -0800 | |
+++ Makefile.patched 2024-01-04 18:14:09.840000000 -0800 | |
@@ -38,21 +38,21 @@ | |
# Convenience platforms targets. | |
PLATS= guess aix bsd c89 freebsd generic ios linux linux-readline macosx mingw posix solaris | |
+# Lua version and release. | |
+V= 5.4 | |
+R= $V.6 | |
+ |
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
<# | |
.SYNOPSIS | |
Install/Upgrade Docker EE (Windows Server). | |
.DESCRIPTION | |
This script checks the official Docker EE (for Windows Server) repository and | |
detects the latest version available to download and install. It also compares | |
with the version currently installed on the Docker host (WinServer) and asks | |
you if you wish to proceed or not. |
stackoverflow: build and install git from source on macOS: "ld: multiple errors: archive member '/' not a mach-o file"
$ sw_vers
ProductName: macOS
ProductVersion: 14.1.2
BuildVersion: 23B92
# brew install
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
/* | |
Forked from https://gist.github.com/sboardwell/f1e85536fc13b8e4c0d108726239c027 | |
Changes made: | |
- add `combinedPerm` functions to make sure the new config won't replace the current settings. | |
**/ | |
/* | |
Copyright (c) 2015-2018 Sam Gleske - https://github.com/samrocketman/jenkins-bootstrap-shared | |
Licensed under the Apache License, Version 2.0 (the "License"); |
NewerOlder