Skip to content

Instantly share code, notes, and snippets.

View chrisciampoli's full-sized avatar

Christopher Ciampoli chrisciampoli

View GitHub Profile
@chrisciampoli
chrisciampoli / useful-npx-commands.md
Created December 7, 2020 12:28 — forked from gokulkrishh/useful-npx-commands.md
List of useful npx (Node Package Runner) commands (https://git.io/useful-npx-commands)

NPX (NPM Package Runner) Commands

List of useful npx (NPM Package Runner) commands.

What is NPX?

Using NPX we can execute/run node binaries without the need to install it locally or globally.

Commands

@chrisciampoli
chrisciampoli / starship.toml
Created October 24, 2019 19:15 — forked from ryo-ARAKI/starship.toml
Starship configuration file
# ~/.config/starship.toml
[character]
use_symbol_for_status = true # Show "✖" when the command faild
[hostname]
ssh_only = false
prefix = "❮ "
suffix = "❯"
style = "bold dimmed white"
@chrisciampoli
chrisciampoli / complex-curl.sh
Created October 12, 2016 22:28 — forked from christeredvartsen/complex-curl.sh
Querying elasticsearch with Elastica
#!/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"]
}
@chrisciampoli
chrisciampoli / setup_selenium.sh
Created October 20, 2015 23:38 — forked from curtismcmullan/setup_selenium.sh
Setup Selenium Server on Ubuntu 14.04
#!/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