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
- step: | |
name: | |
Push To Docker Hub | |
services: | |
- docker | |
script: | |
- docker logout | |
#Authenticate on Docker | |
#The below says Error: Cannot perform an interactive login from a non TTY device | |
- docker login --username $DOCKER_HUB_USERNAME --password-stdin $DOCKER_HUB_PASSWORD |
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
#include <stdio.h> | |
#include<math.h> | |
int main() | |
{ | |
double k, g, sinval; | |
printf("Student First Name: Chileshe\n"); | |
printf("Student Last Name: Chifumbano\n"); |
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
from rest_framework import serializers | |
from authentication.models import * | |
from authentication.serializers import RegisterSerializer | |
class UserSerializer(serializers.ModelSerializer): | |
class Meta: | |
#Notice there is no fields i the Meta class | |
model = User |