This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iotop -a -p $(sed 's, , -p ,g' <<<`pgrep "_raid|_resync|jbd2"`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install the 0.14-compatible quasar-cli as a dev dependency in your legacy project: | |
npm install --save-dev [email protected] | |
this will place the legacy cli in your project node_modules | |
to run quasar for your project: | |
npx quasar dev etc | |
npx is a wrapper that runs ./node_modules/.bin/quasar | |
source: steveclarke @ quasar discourse channel 2.23.2018 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daemon off; | |
error_log stderr; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
# As suggested in http://nginx.org/en/docs/http/websocket.html | |
map $http_upgrade $connection_upgrade { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xvfb-run -a bundle exec rspec spec/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mailcatcher --http-ip=0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response['Access-Control-Allow-Origin'] = '*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psql --cluster 9.1/main --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ncdu / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:size=>nil, :size_id=>nil, :color=>"FUCHSIA", :color_id=>5639, :vendor_color_id=>1, :sku=>{"color_id"=>1, "no_returns"=>{"enabled"=>false, "message"=>""}, "price"=>{"alternate_copy"=>"", "list_price"=>"$295.00", "list_price_label"=>"Was", "on_sale"=>true, "sale_price"=>"$118.00", "sale_price_label"=>"Now"}, "size_id"=>-1, "sku_id"=>"1689949379079855", "status_alias"=>"waitlist", "status_label"=>"Sold Out > Add to Wait List", "status_message"=>"", "upc"=>"888246184384"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT relation, transaction, pid, mode, granted, relname | |
FROM pg_locks | |
INNER JOIN pg_stat_user_tables | |
ON pg_locks.relation = pg_stat_user_tables.relid | |
WHERE pg_locks.pid='pid'; |
NewerOlder