0x024163a7bbfe1f02ddb5cfcf138e97b2d7e4a86d7f9f4abb2ecb0e8559d0e30e
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
{ | |
"essere": { | |
"meaning": "ser/estar", | |
"score": 1 | |
}, | |
"avere": { | |
"meaning": "tener/haber", | |
"score": 1 | |
}, | |
"fare": { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Word Learning App</title> | |
<style> | |
body { font-family: Arial, sans-serif; margin: 20px; } | |
.container { max-width: 600px; margin: auto; } | |
input, button { padding: 10px; margin: 5px; } |
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
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract GPv2Authentication", | |
"name": "authenticator_", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract IVault", |
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
get '*a', to: 'errors#error_404' | |
def error_404 | |
if request.format.html? | |
render :error_404, status: 404 | |
else | |
head 404, content_type: 'text/html' | |
end | |
end |
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
``` | |
# Turn off fsync; there is no need to flush data to disk. | |
fsync = 'off' | |
# Turn off full_page_writes; | |
# there is no need to guard against partial page writes. | |
full_page_writes = 'off' | |
# Increase checkpoint_segments and checkpoint_timeout ; | |
# this reduces the frequency of checkpoints, |
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
#!/bin/bash | |
wget https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_2015.10.28_amd64.deb -O dropbox.deb | |
sudo dpkg -i dropbox.deb | |
sudo apt-get install -f | |
dropbox start -i |
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
Delivery.connection.update('UPDATE deliveries AS d SET customer_num = u.customer_num FROM users AS u WHERE d.customer_id = u.customer_id') |
class Product < ApplicationRecord
scope :active, -> { where(status: 'Active').where.not(inventory_cd: %w[NITRO DELIV]) }
end
class OrderLine < ApplicationRecord
scope :with_active_product, -> { joins(:product).merge(Product.active) }
end
NewerOlder