- 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 hidden or 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 | |
require('XML.php'); | |
class OpenXML extends XML | |
{ | |
var $fileHandler; | |
public function openXMLFile($filename, $mode='r'){ | |
$this->fileHandler = @fopen($filename, $mode); | |
} |
This file contains hidden or 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 parseHTML | |
{ | |
//counter appended to chunked file names | |
protected $counter = 0; | |
//Store book information such as book name, chapter names, version | |
protected $bookInfo; | |
//Holds filename with no extension | |
protected $fileName; |
This file contains hidden or 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" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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!'); | |
} |
OlderNewer