Skip to content

Instantly share code, notes, and snippets.

Avatar

ben clark benclarkk

View GitHub Profile
View gist:d39ac07d895bc206e5bb71e9b7210401
Error: "Unknown module: mediawiki.api.options"
sortDependencies https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:8
sortDependencies https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:9
resolveStubbornly https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:9
load https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:21
<anonymous> https://wiki.benclark06.xyz/wiki/index.php?title=Main_Page&veaction=edit:7
push https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:44
<anonymous> https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:44
<anonymous> https://wiki.benclark06.xyz/wiki/load.php?lang=en&modules=startup&only=scripts&skin=vector:44
View gist:638e3269cf371cba2109f66d835247b5
internal/url.js:243
throw new ERR_INVALID_URL(input);
^
TypeError [ERR_INVALID_URL]: Invalid URL: undefined
at onParseError (internal/url.js:243:9)
at new URL (internal/url.js:319:5)
at initAsClient (/home/glados/.internal/node_modules/ws/lib/websocket.js:477:17)
at new WebSocket (/home/glados/.internal/node_modules/ws/lib/websocket.js:72:7)
at Object.exports.default (/home/glados/.internal/dist/config/websocket.config.js:8:16)
View gist:ba602a40abf25e4dc7f28a481fee0532
# The environment the app is running in, either production, staging or development
NODE_ENV=development
# The JWT key used to encrypt/decrypt tokens used for user authentication
JWT_KEY=it's a secret
# The base REST endpoint that is used to talk to @cryb/portals
PORTALS_API_URL="http://localhost:1337"
# This should the same secure key in @cryb/portals/.env under 'API_KEY'
PORTALS_API_KEY=secret
View gist:0795888dd5361dee7e9913aeb8b34ada
# The environment the app is running in, either production, staging or development
NODE_ENV=development
# The URL used to interact with the WebSocket server running on @cryb/api
API_WS_URL="ws://ip:4000"
# The URL used to interact with the WebSocket server running on @cryb/aperture
APERTURE_WS_URL="ws://localhost:9001"
# The URL used to interact with the REST API running on @cryb/api
API_BASE_URL="http://ip:4000"
View gist:eb53cde442ea81fee045621101859c56
GNU nano 2.9.3 .env
# The environment the app is running in, either production, staging or development
NODE_ENV=development
# The JWT key used to encrypt/decrypt tokens used for user authentication
JWT_KEY=[[secret]]
# The base REST endpoint that is used to talk to @cryb/portals
PORTALS_API_URL="http://localhost:1337"
# This should the same secure key in @cryb/portals/.env under 'API_KEY'
View gist:66a8ba464a974451b4a817dd5dd082a6
$ node dist
/root/api/dist/config/redis.config.js:7
const parseSentinels = (sentinels) => sentinels.split(',').map(uri => ({
^
TypeError: Cannot read property 'split' of undefined
at parseSentinels (/root/api/dist/config/redis.config.js:7:49)
at getOptions (/root/api/dist/config/redis.config.js:18:25)
at Object.<anonymous> (/root/api/dist/config/redis.config.js:21:41)
at Module._compile (internal/modules/cjs/loader.js:945:30)
View .env
# The environment the app is running in, either production, staging or development
NODE_ENV=devlopment
# The JWT key used to encrypt/decrypt tokens used for user authentication
JWT_KEY=
# The base REST endpoint that is used to talk to @cryb/portals
PORTALS_API_URL=http://localhost:1337
# This should the same secure key in @cryb/portals/.env under 'API_KEY'
PORTALS_API_KEY=[[REDACTED]]
View logs.txt
module.js:549
throw err;
^
Error: Cannot find module '/root/api/dist'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
View bruh.py
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import gi
gi.require_version('Gtk', '3.0')
View gist:cc96850537876a00da5a4aa7a9a56965
width: 720 height: 1280
OpenGL ES 2.0 (OpenGL ES 3.0 V@84.0 AU@05.00.00.046.002 (CL@))
Segmentation fault
sh-3.2# EGL_PLATFORM=hwcomposer strace test_hwcomposer
execve("/usr/bin/test_hwcomposer", ["test_hwcomposer"], 0xbedb3e70 /* 8 vars */) = 0
brk(NULL) = 0xfc0000
uname({sysname="Linux", nodename="Sailfish", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/srv/mer/toolings/SailfishOS-3.0.0/opt/cross/armv7hl-meego-linux-gnueabi/lib/tls/v7l/neon/vfp/libEGL.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/srv/mer/toolings/SailfishOS-3.0.0/opt/cross/armv7hl-meego-linux-gnueabi/lib/tls/v7l/neon/vfp", 0xbec04290) = -1 ENOENT (No such file or directory)
You can’t perform that action at this time.