This file contains hidden or 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
-~[ | |
- ~{ | |
- "attributes" => ~{ | |
- "confidentality-status" => "white", | |
- "pod" => "global" | |
- } | |
- } | |
-] | |
+[] |
This file contains hidden or 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
version: "3.7" | |
x-logging-elk: &logging-elk | |
# driver: json-file | |
driver: gelf | |
options: | |
gelf-address: udp://172.16.0.38:12201 | |
labels: container_group | |
x-sentry-environment: &sentry-environment |
This file contains hidden or 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
module PaperTrail | |
class RecordTrail | |
def record_create | |
return unless enabled? | |
@in_after_callback = true | |
@record.class.paper_trail.version_class.after_transaction do | |
VersionJob.perform_async(@record.class.paper_trail.version_class, data_for_create) | |
end | |
ensure |
This file contains hidden or 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
const path = require("path"); | |
const WebpackNodeExternals = require('webpack-node-externals') | |
const commonConfiguration = { | |
mode: process.env.NODE_ENV || "development", | |
} | |
const moduleBabel = { | |
test: /index\.js$/, | |
exclude: /node_modules/, | |
use: { |
This file contains hidden or 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
const path = require("path"); | |
const WebpackNodeExternals = require('webpack-node-externals') | |
module.exports = [ | |
{ | |
mode: process.env.NODE_ENV || "development", | |
entry: "./source/server/index.js", | |
target: "node", | |
externals: [ | |
WebpackNodeExternals() |
This file contains hidden or 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
[email protected] at ~/Code/unctionjs/_tempLate on ± core 𝑓 rm -rf node_modules package-lock.json | |
[email protected] at ~/Code/unctionjs/_tempLate on ± core 𝑓 npm install | |
npm notice created a lockfile as package-lock.json. You should commit this file. | |
npm WARN Invalid name: "@unction/{{FQNAME}}" | |
npm WARN _tempLate No description | |
npm WARN _tempLate No repository field. | |
npm WARN _tempLate No README data | |
npm WARN _tempLate No license field. | |
up to date in 0.76s |
This file contains hidden or 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
[email protected] at ~/Code/unctionjs/_tempLate on ± core 𝑓 1 npm audit fix | |
npm ERR! code ELOCKVERIFY | |
npm ERR! Errors were found in your package-lock.json, run npm install to fix them. | |
npm ERR! Missing: [email protected] | |
npm ERR! Missing: [email protected] | |
npm ERR! Missing: [email protected] | |
npm ERR! Missing: [email protected] | |
npm ERR! Missing: [email protected] | |
npm ERR! Missing: [email protected] | |
npm ERR! Missing: [email protected] |
This file contains hidden or 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
// KeyChain:: Array<mixed> | |
// Before:: mixed | |
// After:: Mixed | |
// Replacements:: Map<Before, After> | |
// patchTree:: (Map<KeyChain, Replacements>) => Object => Object |
This file contains hidden or 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or 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
[1] pry(main)> module Behavior | |
[1] pry(main)* extend ActiveSupport::Concern | |
[1] pry(main)* | |
[1] pry(main)* included do | |
[1] pry(main)* add(1) | |
[1] pry(main)* end | |
[1] pry(main)* | |
[1] pry(main)* class_methods do | |
[1] pry(main)* def add(value) | |
[1] pry(main)* @value = value |