- version 3.6
Check those constraints:
$this->anything()
| Font stacks based on system fonts | |
| --------------------------------- | |
| Times New Roman stack | |
| font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; | |
| Georgia stack: | |
| font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif; | |
| Garamond stack |
| /** | |
| * Main JS file for Casper behaviours | |
| */ | |
| $(document).ready(function(){ | |
| var lastScrollTop = 0; | |
| $(window).scroll(function(event){ | |
| var st = $(this).scrollTop(); | |
| var scrolli = st/1.5; | |
| scrollicious = $(".cover-image > img").css({"top": scrolli + "px"}); | |
| if (st > lastScrollTop){ |
| var gulp = require('gulp'), | |
| sys = require('sys'), | |
| exec = require('child_process').exec; | |
| gulp.task('phpunit', function() { | |
| exec('phpunit', function(error, stdout) { | |
| sys.puts(stdout); | |
| }); | |
| }); |
| // Copyright (c) 2017 Ismael Celis | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // The above copyright notice and this permission notice shall be included in all |
| from __future__ import (absolute_import, division, print_function, | |
| unicode_literals) | |
| from sqlalchemy import Column, MetaData, Table, create_engine | |
| from sqlalchemy import String, Integer, Float, BigInteger, DateTime | |
| from sqlalchemy.schema import DropTable, CreateTable | |
| from sqlalchemy.orm import scoped_session, sessionmaker |
| #!/usr/bin/env python3 | |
| import collections | |
| import concurrent.futures | |
| import json | |
| import os | |
| import pathlib | |
| import re | |
| import requests |
| --- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md | |
| --- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192 | |
| -- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB. | |
| ------------ | |
| -- Basics -- | |
| ------------ | |
| -- Get indexes of tables |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "golang.org/x/net/http2" | |
| "golang.org/x/net/http2/h2c" | |
| "crypto/tls" | |
| "net" | |
| ) |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| DOMAIN_NAME=$1 | |
| openssl req \ | |
| -newkey rsa:2048 \ | |
| -x509 \ | |
| -nodes \ |