Skip to content

Instantly share code, notes, and snippets.

CREATE TABLE departments (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
	PRIMARY KEY(id)
);

CREATE TABLE employees (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
CREATE TABLE departments (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
	PRIMARY KEY(id)
);

CREATE TABLE employees (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>W3Schools Home Page</title>
<description>Free web building tutorials</description>
<atom:link href="https://www.clickgrafix.com/files/xml/test/index.php" rel="self" type="application/rss+xml" />
<link>https://www.clickgrafix.com/files/xml/test/index.php</link>
<copyright>Copyright © RSS Feed Expert 2018</copyright>
<language>en-gb</language>
<ttl>60</ttl>
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Click Grafix FeedLynk</title>
<link>http://www.clickgrafix.com</link>
<description>View social media feeds on your screen</description>
<screen_name>nezarfadle</screen_name>
<next></next>
<item><title>Yaaaaaaaayaaa https://t.co/WDCmarrvMu is back :)</title></item>
<item><title>@Codecademy is the website down :( ???</title></item>

File: tests/TestCase.php

use Illuminate\Support\Facades\DB;

public function tearDown()
{

 $sql = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'YOUR_DATABASE_NAME';";
database/seeds/DatabaseSeeder.php
<?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
<?php

$json = file_get_contents("php://input");
echo $json;
$files = [
  0 => "bbc",
  1 => "bbc/images",
  2 => "bbc/images/1",
  3 => "bbc/videos",
  4 => "bbc/videos/10",
  5 => "cnn",
  6 => "cnn/images",
let observer = null;

Vue.directive('selectable', {
		
    	bind: function (el, binding) {
        
				let node = binding.value.node
        let prop = binding.value.prop
        let value = binding.value.value

How to test your SSL setup with Python

1- Install Selenium

pip install -U selenium

2- Download Firefox from here and exract it next to your Test file:

Download Firefox for Linux