Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jonsamp's full-sized avatar

Jon Samp jonsamp

View GitHub Profile
[
{
"key": "ctrl+x 1",
"command": "workbench.action.tasks.runTask",
"args": "test file"
},
{
"key": "ctrl+x 2",
"command": "workbench.action.tasks.runTask",
"args": "verify"
{
"version": "2.0.0",
"tasks": [
{
"label": "test file",
"type": "shell",
"command": "yarn test --watch ${relativeFile}",
"group": "test",
"presentation": {
"echo": true,
@jonsamp
jonsamp / update.yml
Last active July 28, 2021 15:35
EAS publish GitHub action
name: update
on:
push:
branches: [main]
jobs:
update:
name: EAS Update
runs-on: ubuntu-latest
steps:
const { spawnSync } = require('child_process');
// const packageJSON = require('./package.json');
// const modules = { ...packageJSON.dependencies, ...packageJSON.devDependencies };
// const allModuleNames = Object.keys(modules);
const fs = require('fs');
const path = require('path');

Privacy Policy

This privacy policy governs your use of the software application Gray One (“Application”) for mobile devices that was created by Jon Samp. Please read this policy and our Mobile Terms and Conditions carefully; by using the App you confirm to have understood and agreed to them.

What information does the Application obtain and how is it used?

User Provided Information

The Application does not obtain the information you provide when you download and register the Application.

const arguments = [...process.argv];
const actualMiles = arguments[2];
const date = arguments[3];
function dayOfYear() {
let now = new Date();
if (date) {
now = new Date(date);
}
const path = require('path');
const fs = require('fs');
let tsFiles = 0;
let jsFiles = 0;
let testFiles = 0;
let storyFiles = 0;
const listDir = (dir, fileList = []) => {
let files = fs.readdirSync(dir);
@jonsamp
jonsamp / rename-files.js
Last active December 25, 2019 18:17
Rename files recursively
const path = require('path');
const fs = require('fs');
const listDir = (dir, fileList = []) => {
let files = fs.readdirSync(dir);
files.forEach(file => {
if (fs.statSync(path.join(dir, file)).isDirectory()) {
fileList = listDir(path.join(dir, file), fileList);
} else {
Privacy Policy
This privacy policy governs your use of the software application Word Check (“Application”) for mobile devices that was created by Jon Samp. Please read this policy and our Mobile Terms and Conditions carefully; by using the App you confirm to have understood and agreed to them.
What information does the Application obtain and how is it used?
User Provided Information
The Application obtains the information you provide when you download and register the Application. Registration with us is optional. However, please keep in mind that you may not be able to use some of the features offered by the Application unless you register with us.
When you register with us and use the Application, you generally provide (a) your name, email address, user name, password and other registration information, such as country and city of residence; (b) transaction-related information, such as when you make purchases, respond to any offers, or download or use applications from us; (c) information you provide us wh
{
"id": "10",
"header_image_category_id": "25",
"form_id": "158",
"area_id": "1",
"location_market_id": "3",
"name": "Lawrence South",
"path": "lawrence",
"address": "5200 Clinton Pkwy",
"city": "Lawrence",