Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

Commit 210f474

Browse files
committed
gruntmarkdown
1 parent f0128cc commit 210f474

File tree

4 files changed

+188
-0
lines changed

4 files changed

+188
-0
lines changed

.hgignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/*

Gruntfile.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
'use strict';
2+
3+
module.exports = function(grunt) {
4+
5+
grunt.initConfig({
6+
pkg: grunt.file.readJSON('package.json'),
7+
clean: {
8+
dist: {
9+
src: ['index.html']
10+
}
11+
},
12+
markdown: {
13+
readme: {
14+
files: {
15+
'index.html': ['README.md']
16+
}
17+
}
18+
}
19+
});
20+
21+
grunt.registerTask('default', [
22+
'clean',
23+
'markdown'
24+
]);
25+
26+
grunt.loadNpmTasks('grunt-contrib-clean');
27+
grunt.loadNpmTasks('grunt-markdown');
28+
};

index.html

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
6+
<title>doc</title>
7+
<style>
8+
/*github.com style (c) Vasily Polovnyov <vast@whiteants.net>*/
9+
pre code {
10+
display: block; padding: 0.5em;
11+
color: #333;
12+
background: #f8f8ff
13+
}
14+
pre .comment,
15+
pre .template_comment,
16+
pre .diff .header,
17+
pre .javadoc {
18+
color: #998;
19+
font-style: italic
20+
}
21+
pre .keyword,
22+
pre .css .rule .keyword,
23+
pre .winutils,
24+
pre .javascript .title,
25+
pre .nginx .title,
26+
pre .subst,
27+
pre .request,
28+
pre .status {
29+
color: #333;
30+
font-weight: bold
31+
}
32+
pre .number,
33+
pre .hexcolor,
34+
pre .ruby .constant {
35+
color: #099;
36+
}
37+
pre .string,
38+
pre .tag .value,
39+
pre .phpdoc,
40+
pre .tex .formula {
41+
color: #d14
42+
}
43+
pre .title,
44+
pre .id {
45+
color: #900;
46+
font-weight: bold
47+
}
48+
pre .javascript .title,
49+
pre .lisp .title,
50+
pre .clojure .title,
51+
pre .subst {
52+
font-weight: normal
53+
}
54+
pre .class .title,
55+
pre .haskell .type,
56+
pre .vhdl .literal,
57+
pre .tex .command {
58+
color: #458;
59+
font-weight: bold
60+
}
61+
pre .tag,
62+
pre .tag .title,
63+
pre .rules .property,
64+
pre .django .tag .keyword {
65+
color: #000080;
66+
font-weight: normal
67+
}
68+
pre .attribute,
69+
pre .variable,
70+
pre .lisp .body {
71+
color: #008080
72+
}
73+
pre .regexp {
74+
color: #009926
75+
}
76+
pre .class {
77+
color: #458;
78+
font-weight: bold
79+
}
80+
pre .symbol,
81+
pre .ruby .symbol .string,
82+
pre .lisp .keyword,
83+
pre .tex .special,
84+
pre .prompt {
85+
color: #990073
86+
}
87+
pre .built_in,
88+
pre .lisp .title,
89+
pre .clojure .built_in {
90+
color: #0086b3
91+
}
92+
pre .preprocessor,
93+
pre .pi,
94+
pre .doctype,
95+
pre .shebang,
96+
pre .cdata {
97+
color: #999;
98+
font-weight: bold
99+
}
100+
pre .deletion {
101+
background: #fdd
102+
}
103+
pre .addition {
104+
background: #dfd
105+
}
106+
pre .diff .change {
107+
background: #0086b3
108+
}
109+
pre .chunk {
110+
color: #aaa
111+
}
112+
</style>
113+
</head>
114+
<body>
115+
<p>Mega Python CommandLine Tools</p>
116+
<p>Copyright stefano.cudini@gmail.com 2013
117+
<a href="http://labs.easyblog.it">labs.easyblog.it</a></p>
118+
<p><strong>Source:</strong>
119+
<a href="https://github.com/stefanocudini/Mega-Python-CommandLine-Tools">https://github.com/stefanocudini/Mega-Python-CommandLine-Tools</a></p>
120+
<p><strong>Requirements:</strong>
121+
<a href="https://github.com/richardasaurus/mega.py">https://github.com/richardasaurus/mega.py</a></p>
122+
<p><strong>Config</strong>
123+
~/.megarc:</p>
124+
<pre><code>[default]
125+
email = my@email.com
126+
pass = mypass</code></pre>
127+
<p><strong>Security tip:</strong></p>
128+
<pre><code>$ chmod 0600 ~/.megarc</code></pre>
129+
130+
</body>
131+
</html>

package.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "mega-python-commandline-tools",
3+
"version": "0.0.1",
4+
"description": "A simple button to confirm a task, inline unobtrusive button confirmation",
5+
"repository": {
6+
"type": "git",
7+
"url": "git@github.com:stefanocudini/Mega-Python-CommandLine-Tools.git"
8+
},
9+
"homepage": "http://labs.easyblog.it/mega-python-commandline-tools/",
10+
"author": {
11+
"name": "Stefano Cudini",
12+
"email": "stefano.cudini@gmail.com",
13+
"url": "http://labs.easyblog.it/"
14+
},
15+
"license": "MIT",
16+
"keywords": [
17+
"mega",
18+
"python",
19+
"bash",
20+
"api"
21+
],
22+
"devDependencies": {
23+
"grunt": "^0.4.5",
24+
"grunt-cli": "^0.1.13",
25+
"grunt-contrib-clean": "^0.5.0",
26+
"grunt-markdown": "^0.6.1"
27+
}
28+
}

0 commit comments

Comments
 (0)