- HTML should be properly closed and valid HTML documents. Validate the document in https://validator.w3.org/
- Have comments for opening and closing of the block.
- Do not add extra CSS like margin-top
- Copying and pasting; remove extra - from the HTML document
- Check for
<sup></sup>
s should be used instead of
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
/* | |
Mix function | |
*/ | |
const deleteProperty = (obj, condition) => { | |
Object.keys(obj).forEach((key) => { | |
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
$delivery_id = 10; | |
$userObj->notify(new PacketReceiveNotification(delivery_id)); |
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
public function toMail($notifiable) | |
{ | |
return (new MailMessage) | |
->line('We have received your package. Please schedule your delivery') | |
->action('Schedule the delivery', url('/dashboard/delivery_schedule/'.$this->delivery_id)) | |
->line('Thank you for using our application!'); | |
} |
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 | |
class PacketReceiveNotification extends Notification | |
{ | |
use Queueable; | |
protected $delivery_id; | |
/** |
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
{ | |
"#647d2d": "#97B060", | |
"#d7d7cd": "#F1F1E7", | |
"#50bed7": "#83F1FF", | |
"#005f87": "#3392BA", | |
"#73645a": "#A6978D", | |
"#aaaa96": "#DDDDC9" | |
} |
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 foreach | |
http://stackoverflow.com/questions/10057671/how-does-php-foreach-actually-work |
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
(function(){ | |
var keyElements = selectElements('key', 'class'); | |
function selectElements(element, selectType) | |
{ | |
var elements; | |
if( selectType == 'class') | |
{ | |
elements = document.getElementsByClassName(element); |
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
(function() { | |
'use strict'; | |
var headElements = new Array(); | |
var bodyElements = new Array(); | |
var tableElement; | |
var selector = ".Tabelle-Titel-nur-oben"; |
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
var app = angular.module("StartKurse", ['ngRoute']); | |
app.service('total', ['$rootScope', function ($rootScope) { | |
this.tScore = 0; | |
}]); | |
app.config(['$routeProvider', function ($routeProvider) { | |
$routeProvider.when('/kapitelhome/:kapitelNum/:kapitelDesc',{ | |
templateUrl: "partials/specific_kapitel.html", | |
controller: "KapitelHomePage" |
NewerOlder