I hereby claim:
- I am juancrg90 on github.
- I am juancrg90 (https://keybase.io/juancrg90) on keybase.
- I have a public key ASAMM16703KTt6cw9bxOAlfjacpbG3JqVSO8py670CreWAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# bundle exec rails runner "eval(File.read 'drop_queues.rb')" | |
queues = Delayed::Job.all.map(&:queue).uniq | |
Delayed::Job.where(queue: queues).destroy_all |
# https://howtoraspberrypi.com/create-a-nas-with-your-raspberry-pi-and-samba/ | |
sudo apt update | |
sudo apt upgrade | |
sudo mkdir -p /home/shares/public | |
sudo chown -R root:users /home/shares/public | |
sudo chmod -R ug=rwx,o=rx /home/shares/public | |
sudo apt install -y samba samba-common-bin |
def test_request | |
WebMock.allow_net_connect! | |
VCR.turned_off do | |
response = Hashie::Mash.new(MyApi::Api.new('param').endpoint_call.json) | |
assert_equal 0, response.number | |
assert_equal 1234, response.total | |
end | |
end |