Table of Contents
Content entered directly below the header but before the first section heading is called the preamble.
#!/usr/bin/env node | |
const fs = require('fs'); | |
const path = require('path'); | |
function updateVersion(input, pkg, version) { | |
var regex = new RegExp(`^([ \t]+"${pkg.replace('/', '\\/')}"): "([^"]*)"(,?)`, "gm"); | |
function replacer(match, group1, group2, group3) { | |
return `${group1}: "${version}"${group3}`; |
import { Octokit } from 'octokit' | |
const LOGOS = [ | |
'logoAppSearch', | |
'logoBeats', | |
'logoBusinessAnalytics', | |
'logoCloud', | |
'logoCloudEnterprise', | |
'logoCode', | |
'logoElastic', |
Content entered directly below the header but before the first section heading is called the preamble.
#!/usr/bin/env bash | |
set -e | |
cd $(dirname $0) | |
SCRIPT_DIR=$(pwd) | |
DART_BIN=$(which dart) | |
DART_SDK_DIR=$(dirname ${DART_BIN})/.. | |
PLATFORM="$(uname -s)" |
#!/usr/bin/python3 | |
import random | |
try: | |
import tkinter as Tkin | |
except: | |
import Tkinter as Tkin | |
class numgame: |