Skip to content

Instantly share code, notes, and snippets.

View ablyler's full-sized avatar

Andy Blyler ablyler

View GitHub Profile
log.ts:197 ERR Cannot read property 'settingsGroups' of undefined: TypeError: Cannot read property 'settingsGroups' of undefined
at e.onConfigUpdate (file:///Applications/Azure Data Studio.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7793:700)
at file:///Applications/Azure Data Studio.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7777:286
at c.fire (file:///Applications/Azure Data Studio.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:215:242)
at I.triggerConfigurationChange (file:///Applications/Azure Data Studio.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7314:319)
at I.onLocalUserConfigurationChanged (file:///Applications/Azure Data Studio.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7309:604)
at I.reloadLocalUserConfiguration (file:///Applications/Azure Data Studio.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7306:892)
console.ts:137 [

Keybase proof

I hereby claim:

  • I am ablyler on github.
  • I am andyblyler (https://keybase.io/andyblyler) on keybase.
  • I have a public key ASCEmfl0Q2B_HAmS4nVU2-IoDWj8CSCxCf92RMdBc8RSdgo

To claim this, I am signing this object:

#!/usr/bin/env php
<?php declare(strict_types=1);
assert(extension_loaded('ast'),
"The php-ast extension must be loaded in order for Phan to work. See https://github.com/etsy/phan#getting-it-running for more details.");
assert((int)phpversion()[0] >= 7,
"Phan requires PHP version 7 or greater. See https://github.com/etsy/phan#getting-it-running for more details.");
// Grab these before we define our own classes
@ablyler
ablyler / -
Last active July 26, 2023 19:17
This file has been truncated, but you can view the full file.
diff --git a/Makefile.global b/Makefile.global
index 3a5b1c2..7450162 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -13,6 +13,8 @@ all: $(all_targets)
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
+build-binaries: $(PHP_BINARIES)
+
diff --git a/Makefile.global b/Makefile.global
index b30c318..e8dd419 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -20,7 +20,7 @@ libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
-@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
libs/libphp$(PHP_MAJOR_VERSION).bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp$(PHP_MAJOR_VERSION).so
+ $(CC) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(MH_BUNDLE_FLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp$(PHP_MAJOR_VERSION).so
@ablyler
ablyler / 0001-add-percona-server-5.6-ebuild-and-required-eclass-ch.patch
Created September 4, 2013 12:27
Updated the eclass from the MySQL overlay to include the ability to parse the full Percona version from the ebuild filename. I also make an update that fixes the URL, so that the ebuilds will continue to work after they are no longer in the LATEST directory on the Percona site.
From 77c607e6348c4cd603ffdd61356b0161d3a15eca Mon Sep 17 00:00:00 2001
From: Andy Blyler <andy@blyler.cc>
Date: Wed, 21 Aug 2013 13:26:02 +0000
Subject: [PATCH 1/3] add percona-server 5.6 ebuild and required eclass changes
---
dev-db/percona-server/Manifest | 1 +
dev-db/percona-server/files/my.cnf-5.6 | 153 +++++++++++++++++++++
.../percona-server/percona-server-5.6.12.4.ebuild | 129 +++++++++++++++++
eclass/mysql-v2.eclass | 7 +-
@ablyler
ablyler / gist:6365755
Created August 28, 2013 12:58
php55-zookeeper.rb can't find headers
Andys-MacBook-Pro :: ~/Code/homebrew-php ‹master*› » brew install Formula/php55-zookeeper.rb
==> Installing php55-zookeeper dependency: zookeeper
==> Downloading http://www.apache.org/dyn/closer.cgi?path=zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz
==> Best Mirror http://mirror.reverse.net/pub/apache/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz
######################################################################## 100.0%
🍺 /usr/local/Cellar/zookeeper/3.4.5: 193 files, 12M, built in 8 seconds
==> Installing php55-zookeeper
==> Downloading http://pecl.php.net/get/zookeeper-0.2.1.tgz
######################################################################## 100.0%
==> /usr/local/Cellar/php55/5.5.3/bin/phpize
diff --git a/memcached-2.1.0/ChangeLog b/memcached-2.1.0/ChangeLog
index 9a7280d..3502e19 100644
--- a/memcached-2.1.0/ChangeLog
+++ b/memcached-2.1.0/ChangeLog
@@ -41,8 +41,6 @@ Version 2.0.0b2
Version 2.0.0b1
---------------
- * Change the return value for non-existing keys to be NULL rather than
- 'false', affects simple get only
Andys-MacBook-Pro :: ~ » php /tmp/test.php
array(2) {
[0] =>
string(14) "This is a test"
'bar' =>
string(14) "This is a test"
}
<?php
$db = new SQLite3('file:memdb1?mode=memory&cache=shared');
$db->exec('CREATE TABLE foo (bar STRING)');
$db->exec("INSERT INTO foo (bar) VALUES ('This is a test')");
$result = $db->query('SELECT bar FROM foo');
var_dump($result->fetchArray());