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> //Header file is included for Standard input and output | |
int main() { //This is where the program execution begins | |
// Declare variables for the sides of the triangle | |
float base, height; | |
// Prompt user for input | |
printf("Enter the base of the triangle: "); | |
//Store the value that is entered by the user in base variable %f means type cast it to float | |
scanf("%f", &base); |
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 | |
# Stop all containers | |
docker stop $(docker ps -a -q) | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
<?php | |
/** | |
* coral-parallax functions and definitions | |
* | |
* @package coral-parallax | |
*/ | |
/** | |
* Set the content width in pixels, based on the theme's design and stylesheet. | |
* |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using Facebook.Unity; | |
public class FBManager : MonoBehaviour { | |
public Text txtStatus; | |
public GameObject btnLi, btnLo; |
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
//Course model | |
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class Course extends Model | |
{ | |
public function getTakerDets(){ |
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
User-Course details | |
Java | |
Java programming | |
Taken by student: WdHNY | |
PHP | |
Easy php app | |
Taken by student: WdHNY | |
C |
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
Java programming | |
Taken by student: | |
User {#207 ▼ | |
#fillable: array:3 [▼ | |
0 => "email" | |
1 => "password" | |
2 => "username" | |
] | |
#hidden: array: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
User-Course details | |
Java | |
Java programming | |
Taken by student: {"id":1,"username":"WdHNY","email":"[email protected]","enabled":null,"created_at":null,"updated_at":null} | |
PHP | |
Easy php app | |
Taken by student: {"id":1,"username":"WdHNY","email":"[email protected]","enabled":null,"created_at":null,"updated_at":null} | |
C |
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
@extends('layouts.app') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Register</div> | |
<div class="panel-body"> | |
<form class="form-horizontal" role="form" method="POST" action="{{ url('/register') }}"> |
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
@extends('layouts.app') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Register</div> | |
<div class="panel-body"> | |
<form class="form-horizontal" role="form" method="POST" action="{{ url('/register') }}"> |
NewerOlder