Skip to content

Instantly share code, notes, and snippets.

View krizedward's full-sized avatar
🏠
Work from home

Edward Kristian Mangare, S.Kom. krizedward

🏠
Work from home
  • Surabaya
View GitHub Profile
@DianSano
DianSano / edit.blade.php
Created December 3, 2019 11:05
edit.blade.php (Edit a ticket) last update 03/12/2019 18.05
@extends('master')
@section('title', 'Edit a ticket')
@section('content')
<div class="container col-md-8 col-md-offset-2">
<div class="well well bs-component">
<form class="form-horizontal" method="post">
@foreach ($errors->all() as $error)
<p class="alert alert-danger">{{ $error }}</p>
@endforeach
@if (session('status'))
@DianSano
DianSano / show.blade.php
Created December 3, 2019 09:18
show.blade.php (view single ticket) last update 03/12/2019 16.18
@extends('master')
@section('title', 'View a ticket')
@section('content')
<div class="container col-md-8 col-md-offset-2">
<div class="well well bs-component">
<div class="content">
<h2 class="header">{!! $ticket->title !!}</h2>
<p> <strong>Status</strong>: {!! $ticket->status ? 'Pending' : 'Answered' !!}</p>
<p> {!! $ticket->content !!} </p>
</div>
@DianSano
DianSano / index.blade.php
Created December 3, 2019 08:33
index.blade.php (view all tickets) last update 03/12/2019 15.33
@extends('master')
@section('title', 'View all tickets')
@section('content')
<div class = "container col-md-8 col-md-offset-2">
<div class = "panel panel-default">
<div class = "panel-heading">
<h2> Tickets </h2>
</div>
@if ($tickets->isEmpty())
<p> There is no ticket.</p>
@mycodeschool
mycodeschool / DoublyLinkedList.c
Created November 12, 2013 11:38
Doubly Linked List implementation in C
/* Doubly Linked List implementation */
#include<stdio.h>
#include<stdlib.h>
struct Node {
int data;
struct Node* next;
struct Node* prev;
};