duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
I've been following this blog post on how to set up an api-only Rails 5 application. One of the sections talks about creating a subdomain for your api
Rails.application.routes.draw do
constraints subdomain: "api" do
scope module: "api" do
var autocompletes = ['name', 'honorific-prefix', 'given-name', | |
'additional-name', 'family-name', 'honorific-suffix', | |
'nickname', 'username', 'new-password', | |
'current-password', 'organization-title', 'organization', | |
'street-address', 'address-line1', 'address-line2', | |
'address-line3', 'address-level4', 'address-level3', | |
'address-level2', 'address-level1', 'country', | |
'country-name', 'postal-code', 'cc-name', 'cc-given-name', | |
'cc-additional-name', 'cc-family-name', 'cc-exp', | |
'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', |
#!/bin/bash | |
sudo rm -fr /opt/franz | |
sudo rm -fr /usr/share/applications/franz.desktop | |
# create installation dir | |
sudo mkdir -p /opt/franz | |
#install franz |
Types For Frontend Developers
It's hard to bring up static types in JavaScript without starting a debate. The benefits of using static types are real, and so are the tradeoffs. As with so many things in software, the key to figuring out if the benefits outweigh the costs for you and your team. At Reflexion Health, we recently looked at introducing static types; I'd like to share some of the lessons we learned, and shed some light on how static types can help your team.
Frontend Tools (maybe Future JS?)
#!/usr/bin/env bash | |
# Released into the Public Domain. | |
# | |
# Original implementation in C by Brad Conte ([email protected]) <https://github.com/B-Con/crypto-algorithms> | |
# Ported to Bash (lol) by Josh Junon ([email protected]) <https://github.com/qix-> | |
# | |
# Yes, it's absolutely as slow as it looks. | |
# | |
# The only external dependency it has is on a utility called `od`, |
(function () { | |
var video = document.querySelector('video:not([title="Advertisement"])') | |
if (!video.webkitSupportsPresentationMode || typeof video.webkitSetPresentationMode !== 'function') { | |
console.error('Esse código só funciona no Safari!') | |
return | |
} | |
var scoreX = document.querySelector('.placar__equipes') | |
var button = document.createElement('button') |
// In TS, interfaces are "open" and can be extended | |
interface Date { | |
/** | |
* Give a more precise return type to the method `toISOString()`: | |
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString | |
*/ | |
toISOString(): TDateISO; | |
} | |
type TYear = `${number}${number}${number}${number}`; |
Aviso: Muitas vezes detalhes de várias operações podem variar de banco para banco. Em questões onde fiquei em dúvida, este documento segue o funcionamento do PostgreSQL, pois é o banco que conheço melhor.
Antes de começar a escrever SQL, você precisa entender o modelo de como um banco de dados relacional funciona. Não precisa se aprofundar muito, mas você precisa entender como que dados e relacionamentos entre eles são representados. (Nota importante: Relacionamento e relação não são a