Skip to content

Instantly share code, notes, and snippets.

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
HOMEBREW_VERSION: 2.7.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: bca4804a9e48de5319383d3eddadaa7f054c77da
Last commit: 21 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e5357f561f9f6450084189218109bc4e6b15caf0
Core tap last commit: 16 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
@phst
phst / gist:2220810
Created March 27, 2012 22:04
Brace initialization bug
void foo() {
new int[1] {1};
}
template<int A>
void goo() {
new int[1] {1};
}
int main() {
@phst
phst / gist:940677
Created April 25, 2011 15:31
Integration of lltxplatform into luaotfload
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 2ad6898..ce074b6 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -19,9 +19,21 @@ names.path = {
systemdir = file.join(kpse.expand_var("$TEXMFSYSVAR"), names_dir),
}
+local success = pcall(require, "luatexbase.modutils")
+if success then
--- lualibs-dir.lua.orig 2010-12-31 21:09:07.000000000 +0100
+++ lualibs-dir.lua 2010-12-31 21:12:11.000000000 +0100
@@ -26,15 +26,15 @@
local walkdir = lfs.dir
local function glob_pattern(path,patt,recurse,action)
- local ok, scanner
+ local ok, scanner, dir_obj
if path == "/" then
- ok, scanner = xpcall(function() return walkdir(path..".") end, function() end) -- kepler safe