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
VAGRANTFILE_API_VERSION = '2' | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = 'Project_SSMA' | |
config.ssh.insert_key = false |
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
def funcRafael(x, y): | |
result = (3 * x) ** 2 + y ** 2 | |
return result | |
def funcBeto(x, y): | |
result = 2 * (x ** 2) + (5 * y) ** 2 | |
return result | |
def funcCarlos(x, y): | |
result = (-100 * x) + (y ** 3) |
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
class Login : AppCompatActivity() { | |
var auth = FirebaseAuth.getInstance() | |
var username = "" | |
var password = "" | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_login) | |
// setActionButtonLogin() | |
buttonLogin.setOnClickListener { |
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
curl -X POST -H "Authorization: key=chavedoservidorfirebase" -H "Content-Type: application/json" -d '{ | |
"content_available": true, | |
"priority": "high", | |
"data": { | |
"link" : "https://www.hackingwithswift.com/example-code/system/how-to-open-a-url-in-safari", | |
"externalLink" : "www.deutudocertolinkexternal.com" | |
}, | |
"notification": { | |
"title" : "Verique seu CPF agora", | |
"body" : "Veja se seu CPF permance regular", |
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
brew install fastlane |
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 gem install fastlane -NV |
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
default_platform(:ios) | |
platform :ios do | |
desc "Push a new beta build to TestFlight" | |
lane :beta do | |
increment_build_number( | |
build_number: latest_testflight_build_number + 1, | |
xcodeproj: "meuapp.xcodeproj" | |
) |
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
class HomeCardViewCell: UITableViewCell { | |
private let cardContainer: UIView = { | |
let view = UIView() | |
view.translatesAutoresizingMaskIntoConstraints = false | |
view.backgroundColor = .white | |
return view | |
}() | |
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { |