List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
# ~/.config/starship.toml | |
[character] | |
use_symbol_for_status = true # Show "✖" when the command faild | |
[hostname] | |
ssh_only = false | |
prefix = "❮ " | |
suffix = "❯" | |
style = "bold dimmed white" |
#!/bin/bash | |
curl -XPOST 'http://localhost:9200/blog/posts/_search' -d '{ | |
"query": { | |
"filtered": { | |
"query": { | |
"query_string": { | |
"query":"php zend framework", | |
"default_operator": "OR", | |
"fields": ["title", "content"] | |
} |
#!/bin/bash | |
# Following the guide found at this page | |
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html | |
echo "\r\nUpdating system ...\r\n" | |
sudo apt-get update | |
# Create folder to place selenium in |