Skip to content

Instantly share code, notes, and snippets.

Avatar
💾
Tweaking dotfiles

Greg Hurrell wincent

💾
Tweaking dotfiles
View GitHub Profile
View gist:38095c1afdf1c2fc673a0669f0969a35
This file has been truncated, but you can view the full file.
(function() {
var O="/o/js/resolved-module/";
Liferay.PATHS = {
"porygon-theme@2.0.19": "/o/porygon-theme",
"porygon-theme": "/o/porygon-theme",
"portal-template-react-renderer-impl$ua-parser-js@0.7.20":O+"portal-template-react-renderer-impl$ua-parser-js@0.7.20",
"commerce-organization-web$iconv-lite@0.4.24":O+"commerce-organization-web$iconv-lite@0.4.24",
"frontend-taglib-clay$d3-ease@1.0.6":O+"frontend-taglib-clay$d3-ease@1.0.6",
"commerce-dashboard-web$loose-envify@1.4.0":O+"commerce-dashboard-web$loose-envify@1.4.0",
View gist:3e2c8926140550ef37a8d3a0c58a5fb3
./META-INF/liferay-clay.tld
./META-INF/MANIFEST.MF
./META-INF/taglib-mappings.properties
./META-INF/resources/bridge/clayui%2Fdrop-down/src/Divider.js
./META-INF/resources/bridge/clayui%2Fdrop-down/src/Action.js
./META-INF/resources/bridge/clayui%2Fdrop-down/src/ItemList.js
./META-INF/resources/bridge/clayui%2Fdrop-down/src/hooks.js
./META-INF/resources/bridge/clayui%2Fdrop-down/src/index.js
./META-INF/resources/bridge/clayui%2Fdrop-down/src/Help.js
./META-INF/resources/bridge/clayui%2Fdrop-down/src/DropDown.js
View snippet.js
/**
* For windows compatibility, we need to use windows path separators for webpack
* "test" properties.
*/
function toTestRegExp(file) {
return new RegExp(
file.split('/').join(path.sep).replace(/\\/g, '\\')
);
}
View imports.js
import '../scripts/test/globals.js';
import '../src/adapter/main.js';
import '../src/core/debounce.js';
import '../src/core/link.js';
import '../src/core/plugins.js';
import '../src/core/selection-region.js';
import '../src/core/table.js';
import '../src/core/tools.js';
import '../src/core/uicore.js';
import '../src/plugins/.eslintrc.js';
View gist:79adfd1e36e4ef87aa0f38f857ea9f03
diff --git a/package-lock.json b/package-lock.json
index 25b48e64..ad13d95a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1833,6 +1833,12 @@
"integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==",
"dev": true
},
+ "buffer-equal": {
+ "version": "1.0.0",
View amazon.js
#!/usr/bin/env node
const words = [
'people',
'history',
'way',
'art',
'world',
'information',
'map',
View 1password-backup.bash
#!/bin/bash
#
# https://support.1password.com/command-line-getting-started/
#
# Full docs: https://support.1password.com/command-line/
#
# gpg --receive-keys 3FEF9748469ADBE15DA7CA80AC2D62742012EA22
# gpg --verify op.sig op
#
View Makefile
SHELL = /bin/sh
# V=0 quiet, V=1 verbose. other values don't work.
V = 0
Q1 = $(V:1=)
Q = $(Q1:0=@)
ECHO1 = $(V:1=@ :)
ECHO = $(ECHO1:0=@ echo)
NULLCMD = :
View assert.re
let quote = Util.quote;
let fail_equal a b show location =>
failwith ("Expected " ^ show a ^ " to equal " ^ show b ^ " at " ^ location);
let bools a b => fail_equal a b string_of_bool;
let ints a b => fail_equal a b string_of_int;
let strings a b => fail_equal a b quote;
You can’t perform that action at this time.