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
<!-- | |
This as a way to implement Bootstrap 4 styles into a page that you can only paste code into and may have some built-in | |
styles that might overwrite what you're trying to do. All of the styles are specified into a `-content-wrapper` and | |
the basic layout classes are renamed so it shouldn't affect any menu, footer, or other global content on the platform | |
you're using. | |
# How to use | |
Do a global search for `-content-wrapper` and then add any specific string to the beginning to make your wrapper | |
unique, e.g. `tv001-content-wrapper`. |
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
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> | |
<style> | |
.nav-tabs-resp-acc { | |
display: none; | |
} | |
@media(min-width:768px) { |
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
.class { | |
font-size: calc(14px + (24 - 14) * (100vw - 400px)/(1600 - 400)); | |
} | |
font: min max min width: min max min |
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
Header always set Content-Security-Policy: "default-src 'self'; script-src 'self'; img-src 'self' data:; connect-src 'self'; style-src 'self'; font-src 'self'; frame-src 'self'" | |
Header set Cache-Control "private; max-age=31536000" | |
Header set Pragma "no-cache" | |
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains" | |
Header set X-XSS-Protection "1; mode=block" | |
Header set X-Content-Type-Options "nosniff" | |
Header set X-Frame-Options "SAMEORIGIN" | |
Header set Referrer-Policy "no-referrer-when-downgrade" |
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
SSLEngine on | |
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 | |
SSLHonorCipherOrder on | |
SSLCipherSuite ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES256-SHA:AES128-SHA256:AES128-SHA:DES-CBC3-SHA:!ADH:!aNULL:!MD5:!RC4:!DES:!EDH:!IDEA:!3DES |
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
LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | fold -w ${1:-32} | head -n 1 | pbcopy |
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
<style> | |
#-content-wrapper {--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace} #-content-wrapper *,::after,::before{box-sizing:border-box} #-content-wrapper {font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent} #-content-wra |
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
/** | |
* JapaneseCharacter contains static functions to do various tests | |
* on characters to determine if it is one of the various types of | |
* characters used in the japanese writing system. | |
* <p/> | |
* There are also a functions to translate between Katakana, Hiragana, | |
* and Romaji. | |
* | |
* @author Duane J. May <[email protected]> | |
* @version $Id: JapaneseCharacter.java,v 1.2 2002/04/20 18:10:24 djmay Exp $ |