How Do I Use jq to Find Stuff? Command: curl -s https://inventory.firebaseio.com/items.json|jq '.[]|select(.box=="Clamps")' Output: { "box": "Clamps", "container": "Bin 1", "item": "Small Clamps", "loc": "Rack", "qty": "4"
node.js How Do I Find Unique Elements in an Array? const tsv = [ "Location\tContainer\tBox\tItem\tQty\tValue", "Rack\tBin 1\tClamps\tSmall\tClamps\t4\t0", "Rack\tBin 1\tClamps\tMed\tClamps\t4\t0", "Rack\tBin 1\tClamps\tCorner\tClamp\t1\t0", "Rack\tBin 1\tElectrical\t3\tPole\tWall\tSockets\t15A\
Getting Started Welcome to Ghost Welcome, it's great to have you here. We know that first impressions are important, so we've populated your new site with some initial getting started posts that will help you get familiar with everything in no time.
Getting Started Writing posts with Ghost ✍️ Discover familiar formatting options in a functional toolbar and the ability to add dynamic content seamlessly.
Getting Started Publishing options The Ghost editor post settings menu has everything you need to fully optimise and distribute your content effectively.
Getting Started Managing admin settings There are a couple of things to do next while you're getting set up: making your site private and inviting your team.
Getting Started Organising your content Ghost has a flexible organisational taxonomy called tags and the ability to create custom site structures using dynamic routes.
Getting Started Apps & integrations Work with all your favourite apps and tools or create your own custom integrations using the Ghost API.
Getting Started Creating a custom theme Ghost comes with a beautiful default theme designed for publishers which can easily be adapted for most purposes, or you can build a custom theme to suit your needs.
How Do I Make an AWK Shebang Script? Example: #!/usr/bin/awk -f BEGIN {print "hello"} Remember to chmod: chmod +x ./awkscript.awk
How Do I Get a Nice git log? This is a nice command to get a list of commits with messages for each in a list: git log --pretty=oneline --abbrev-commit git log --pretty=format:"%cd %h %s"
How Do I Change Wrap a Word in Quotes using Vi? According to http://vimregex.com, the {-} construct will do a non-greedy match. I've been searching for this for a long time. For instance, let's say I have used inline quotes for a Markdown doc and I want to change them to bold using HTML syntax. In other words go
How Do I Format Entire Disk Using Mac OS? Often times I've had need to reuse Linux boot disk as back drives for my Mac. It should be possible to format the disk, however, when using Disk Utility it's not possible to partition and format the disk by just selecting it because only the free partition shows up by
How Do I Demo an iPhone App on my iPhone over Skype? Quicktime can make a "Movie" recording of an iOS device. To do so: Plug the iPhone into your Mac using a USB cable Unlock the iPhone Open Quicktime Player Start a New Movie Recording On the record button, pull down the source and select your iPhone or iPad
How Do I Setup Docker to Use Device Mapper? Setting up Device Mapper Using https://docs.docker.com/storage/storagedriver/device-mapper-driver/#manage-devicemapper as a guide. Perform the "Configure direct-lvm mode manually" steps. The daemon.json file needs to be a little different: { "storage-driver": "devicemapper", "storage-opts": [ "dm.thinpooldev=/dev/mapper/docker-thinpool-tpool&
How Do I Test My Home Network Speed? SSH to the remote computer. Run: while sleep 2 do nc -l 9999 | dd of=/dev/null 2>&1 | awk '/MB\/s/ {print $10 * 8 "Mbps"}' done Send data to the remote computer using this script: while sleep 2 do dd if=/dev/urandom
How Do I Prevent Visio from Moving Shapes? https://support.office.com/en-us/article/prevent-or-allow-changes-to-shapes-e65decf4-0eed-4fd6-a7d9-b286abcbc7eb
Basic Linux Install Download Debian 9 Location: https://www.debian.org/CD/http-ftp/#stable Ppo-> https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/ curl -C - -L -O https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.4.0-amd64-xfce-CD-1.iso Debian 9 VM Create a VM with: 4 CPUs 4GB RAM 1x20GB
How Do I Control VirtualBox VMs from the Command Line? To start it in GUI mode: vboxmanage startvm VMName -type gui To start it in Headless mode: vboxmanage startvm VMName -type headless Switch Modes: vboxmanage controlvm VMName savestate Run the startvm command of your choice.
How Do I Connect a USB Drive to VirtualBox? From the VirtualBox Documentation 9.9.1.1. Access to entire physical hard disk In short: $ vboxmanage internalcommands createrawvmdk -rawdisk '\\.\PhysicalDrive1' -filename usb.vmdk RAW host disk access VMDK file usb.vmdk created successfully. Connect it: $ vboxmanage storageattach USBBoot --storagectl "IDE" --port 0 --device 0 --type hdd
How Do I Capture Tool Tips in Windows? It's surprising how difficult it is to capture a screen shot with a "tooltip" in Windows. There is a rather simple method however. If you have Office 365 installed, OneNote 2016 has a screen capture function, triggered by Windows-Shift-S. To get a screen show of a tooltip use
How Do I Install MongoDB on Debian 8 Jessie? Tue, Jul 3, 2018 3:28:16 PM https://docs.mongodb.com/tutorials/install-mongodb-on-debian/#install-mongodb-community-edition sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.
tech How Do I Get a List of Images on Docker Registry V2? From: https://stackoverflow.com/questions/31251356/how-to-get-a-list-of-images-on-docker-registry-v2 I've attached a script that uses nodejs to make a nice list.
Why Does Git Say No Such Ref Was Fetched? After doing a merge and close using bitbucket cloud I tried to do a "git pull", this resulted in: $ git pull Your configuration specifies to merge with the ref 'refs/heads/P0.6.1' from the remote, but no such ref was fetched. Ok... what's wrong here... well,