-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnippets.html
More file actions
executable file
·100 lines (31 loc) · 1.97 KB
/
snippets.html
File metadata and controls
executable file
·100 lines (31 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML>
<html>
<!-- Snippets File -->
<!-- this file is not meant to be opened directly in a web browser -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Code Snippets</title>
</head>
<body>
<!-- .................................................................... -->
<!-- SNIPPET 1 .......................................................... -->
<img src="https://chart.googleapis.com/chart?chf=bg,s,ffffff&cht=qr&chs=120x120&chl=x&chld=|0" alt="QR code">
<!-- end................................................................. -->
<!-- .................................................................... -->
<!-- SNIPPET 2 .......................................................... -->
<?php $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; ?>
<!-- end................................................................. -->
<!-- .................................................................... -->
<!-- SNIPPET 3 .......................................................... -->
url to github: https://github.com/davidshimjs/qrcodejs
<script type="text/javascript" src="https://raw.githubusercontent.com/davidshimjs/qrcodejs/master/qrcode.min.js"></script>
<!-- end................................................................. -->
<!-- .................................................................... -->
<!-- SNIPPET 4 .......................................................... -->
url to github: https://github.com/jeromeetienne/jquery-qrcode
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="https://raw.githubusercontent.com/jeromeetienne/jquery-qrcode/master/jquery.qrcode.min.js"></script>
<!-- end................................................................. -->
<!-- end Snippets File -->
</body>
</html>