More information about a Model (only one fits the model extending it)
Example (Car -> Engine)
class Car(models.Model):
<html> | |
<head> | |
<title>Timetable</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="theme-color" content="#fcdbff"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular.min.js"></script> | |
</head> | |
<body> | |
<div ng-app="timetable" ng-controller="sidebarCtrl"> |
#!/bin/bash | |
if [ "$EUID" -ne 0 ]; then | |
echo "Run me with sudo" | |
exit | |
fi | |
TARGET_KEY="GRUB_CMDLINE_LINUX_DEFAULT" | |
REPLACEMENT_VALUE="\"elevator=deadline splash quiet usbhid.quirks=0x1b1c:0x1b13:0x20000000\"" | |
CONFIG_FILE="/etc/default/grub" |
#!/usr/bin/env python | |
import requests | |
import json | |
import sys | |
def base_url(user): | |
return 'https://api.github.com/users/{0}/subscriptions'.format(user) |
(function($) { | |
function CardOpener(url, craft_cost, pack_title) { | |
this.url = url || 'http://www.hearthpwn.com/packs/simulator/4-all-golden-old-gods-pack'; | |
this.craft_cost = craft_cost || 6000; | |
this.pack_title = pack_title || 'OMG THIS PACK'; | |
}; | |
CardOpener.prototype.open = function() { | |
var cards = $('.card-back'); |
<html> | |
<body> | |
<div typeof="schema:VideoObject"> | |
<meta property="schema:videoQuality" content="low"> | |
<span property="schema:actor" typeof="schema:Person"> | |
<link property="schema:url" href="http://www.example.com"> | |
</span> | |
<h1 property="schema:name">Title</h1> | |
<span property="schema:description">Description</span> |
import http from 'http'; | |
import express from 'express'; | |
import bodyParser from 'body-parser'; | |
import cookieParser from 'cookie-parser'; | |
import expressValidator from 'express-validator'; | |
import Session from 'express-session'; | |
import morgan from 'morgan'; | |
import mongoose from 'mongoose'; | |
import passport from 'passport'; | |
import { createClient as createRedisClient } from 'redis'; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>map vs filter arr</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>cache selector (with & w/o jQuery)</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
ls -lh | grep x.zip
-rwxrwxrwx 1 zurfyx zurfyx 2.9G Mar 25 17:39 x.zip
time cp x.zip y.zip