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
function printdiv() { | |
var a = window.open('', ''. 'width = 600, height = 800'); | |
a.document.open('text/html'); | |
a.document.write(document.getElementById('print_me').innerHTML); | |
a.document.close(); | |
a.print(); | |
} |
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
from flask import Flask | |
app = Flask(__name__) | |
@app.route("/") | |
def hello(): | |
return "<h1>Hello, World!!</h1>" | |
if __name__ == "__main__": | |
app.run() |
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
img { | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} |
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
defaults write com.apple.sidecar.display AllowAllDevices -bool true; defaults write com.apple.sidecar.display hasShownPref -bool true; open /System/Library/PreferencePanes/Sidecar.prefPane |
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
>>> from yourapplication import db | |
>>> db.create_all() |
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
$ ssh -i path/to/Key.pem [email protected] |
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
% Document will be printed on a4 paper, using the 12pt default font | |
% Define that we want to use the report class template | |
% Other classes : article, book, letter, slides and others | |
% In the preamble we define document wide rules | |
% Commands start with a name [optional arguments] {required arguments} | |
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
% !TEX program = lualatex | |
\documentclass[11pt]{amsbook} | |
% book --> good for bound material, margins are designed for binding. | |
% article --> title appears at the head of the fist page; margins are even. | |
% report --> same as article, but the title is seperate page. | |
\usepackage{geometry} | |
\geometry{ | |
paperheight=8.5in, |
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
% !TEX program = lualatex | |
\documentclass{amsbook} | |
\author{} | |
\usepackage{geometry} | |
% BOOKLET: | |
%\geometry{paperheight=8.5in, paperwidth=5.5in, top=0.5in, bottom=0.5in, inner=0.5in, outer=0.5in,} | |
% LETTERPAPER: |
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
name: incipit; | |
gabc-copyright: copyright on this gabc file; | |
score-copyright: copyright on the source score; | |
office-part: introitus/...; | |
occasion: in church calendar; | |
meter: for metrical hymns; | |
commentary: source of words; | |
arranger: name of arranger; | |
author: if known; | |
date: xi c; |
OlderNewer