Based on https://github.com/robertgaal/notes-export
- + writeToFile in UTF8
- + format name as yyyymmddhhmmss
node --experimental-sea-config sea-config.json | |
cp $(command -v node) ./run-gateway-pr-check | |
npx --yes postject run-gateway-pr-check NODE_SEA_BLOB run-gateway-pr-check.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 copy |
Based on https://github.com/robertgaal/notes-export
on idle | |
set MyVPNName to "VPN NAME IN NETWORK PREFERENCES" | |
tell application "System Events" | |
tell current location of network preferences | |
set myConnection to the service MyVPNName | |
if myConnection is not null then | |
if current configuration of myConnection is not connected then | |
connect myConnection |
#!/bin/bash | |
YC_TOKEN="value" | |
YC_FOLDER_ID="value" | |
YC_INSTANCE_NAME="some name" | |
IAM_TOKEN=$( | |
curl -s -d "{\"yandexPassportOauthToken\":\"${YC_TOKEN}\"}" \ | |
https://iam.api.cloud.yandex.net/iam/v1/tokens |\ | |
jq --raw-output .iamToken |
const nodemon = require('nodemon'); | |
const chalk = require('chalk'); | |
const defaultNodemonOptions = { | |
execMap: { js: 'node' }, | |
runOnChangeOnly: true, | |
ext: 'noop', | |
watch: ['noop/'], |
const nodemon = require('nodemon'); | |
const chalk = require('chalk'); | |
const defaultNodemonOptions = { | |
execMap: { js: 'node' }, | |
runOnChangeOnly: true, | |
ext: 'noop', | |
watch: ['noop/'], |
{ | |
"js": [ | |
"js/common-16b95.js", | |
"js/app-26c95.js" | |
], | |
"css": [ | |
"css/common-902b1.css", | |
"css/app-82c1b.css" | |
] | |
} |
<!doctype html> | |
<script> | |
const UPDATES_URL = 'https://api.telegram.org/bot152495481:AAHOp1v7pz-cV3L2C-xiivqNi0qbVOOVNtQ/getUpdates'; | |
</script> |
import { remove } from 'lodash'; | |
const MANIFEST_CHUNK_NAME_REGEX = /.*manifest\..+\.js/; | |
export default function (templateParams, compilation) { | |
const stats = { | |
styles: templateParams.htmlWebpackPlugin.files.css, | |
scripts: templateParams.htmlWebpackPlugin.files.js | |
}; |
{ | |
... | |
module: { | |
loaders: [ | |
{test: CSS_REGEX, loaders: ['style', 'css', 'postcss']}, | |
] | |
}, | |
postcss: () => [require('stylelint'), require('postcss-reporter')] | |
} |