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
U2FsdGVkX18bL0goCbiTjHFGnkwWagZSYjhvkaU1hXA= |
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
name: Test | |
on: | |
push: | |
branches: | |
- main | |
- features/** | |
- dependabot/** | |
pull_request: | |
branches: |
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
import unittest | |
def luhn_checksum(card_number): | |
def digits_of(n): | |
return [int(d) for d in str(n)] | |
digits = digits_of(card_number) | |
odd_digits = digits[-1::-2] |
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
######################################################################## | |
# Tester : Mohammed Jamal Hadi # | |
# Program : Republic of Testers # | |
# Submission date : 01-APRIL-2019 SATURDAY 16:00 # | |
# License : Educational Purpose, ELTE IK, Spring 2019 # | |
# # | |
# Declaration : This Solution was submitted and prepared by # | |
# Mohammed Jamal Hadi , neptun-TBRUEJ # | |
# for the Republic of Testers assignment # | |
# of the Software and Quality testing course spring 2019. # |
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
# =============================== | |
# = DATA SOURCE | |
# =============================== | |
# Set here configurations for the database connection | |
# =============== Heroku PostgreSQL Database ===================== | |
#spring.datasource.url=jdbc:postgresql://ec2-54-75-230-41.eu-west-1.compute.amazonaws.com:5432/dbqup43qrkl1gn?sslmode=require | |
#spring.datasource.username=ntfvvinbaynbmm |
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
// | |
// MainVC.swift | |
// AlamofireJSON | |
// | |
// Created by Mohammed Jamal on 3/21/18. | |
// Copyright © 2018 Mohammed Jamal. All rights reserved. | |
// | |
import UIKit | |
import Alamofire |
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
// | |
// Article.swift | |
// AlamofireJSON | |
// | |
// Created by Mohammed Jamal on 3/21/18. | |
// Copyright © 2018 Mohammed Jamal. All rights reserved. | |
// | |
import UIKit | |
import Alamofire |
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
// | |
// Constants.swift | |
// AlamofireJSON | |
// | |
// Created by Mohammed Jamal on 3/21/18. | |
// Copyright © 2018 Mohammed Jamal. All rights reserved. | |
// | |
import Foundation |
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
// | |
// Article.swift | |
// AlamofireJSON | |
// | |
// Created by Mohammed Jamal on 3/21/18. | |
// Copyright © 2018 Mohammed Jamal. All rights reserved. | |
// | |
import UIKit | |
import Alamofire |
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
<div *ngIf="user"> | |
<h2 class="page-header">{{user.name}}</h2> | |
<ul class="list-group"> | |
<li class="list-group-item">Username: {{user.username}}</li> | |
<li class="list-group-item">Email: {{user.email}}</li> | |
</ul> | |
</div> |
NewerOlder