Install templating engine pip install jinja2
.
Create files generate.py
and template.html
in the same directory.
After running python ./generate.py
you should see file output.html
with following content.
zzzz
file_name = 'xxx-win.txt' | |
import codecs | |
BLOCKSIZE = 1048576 # or some other, desired size in bytes | |
with codecs.open(file_name, "r", "windows-1250") as sourceFile: | |
with codecs.open(file_name + 'utf', "w", "utf-8") as targetFile: | |
while True: | |
contents = sourceFile.read(BLOCKSIZE) | |
if not contents: |
{ | |
"name": "cool-project", | |
"version": "1.0.0", | |
"description": "", | |
"main": "webpack.js", | |
"dependencies": { | |
"css-loader": "^0.23.1", | |
"extract-text-webpack-plugin": "^1.0.1", | |
"html-webpack-plugin": "^2.22.0", | |
"sass-loader": "^4.0.0", |
Inspired by STRV's example project https://github.com/strvcom/React-Meetup
/components
<!-- | |
Misto tvuj@email.cz dej svuj email :) | |
--> | |
<form class="grid-form" method="post" action="https://formspree.io/tvuj@email.cz"> | |
<div class="form-control narrow"> | |
<label for="name">Jmeno</label> | |
<input name="name" id="name" type="text"> | |
</div> | |
<div class="form-control narrow"> | |
<label for="email">Email</label> |
I hereby claim:
To claim this, I am signing this object:
$srcUri = "http://something.blob.core.windows.net/vhds/something.vhd" | |
### Source Storage Account ### | |
$srcStorageAccount = "NAME" | |
$srcStorageKey = "KEY" | |
### Target Storage Account ### | |
$destStorageAccount = "NAME" | |
$destStorageKey = "KEY" |
const int redPin = 11; | |
const int greenPin = 10; | |
const int bluePin = 9; | |
void setup() { | |
// Start off with the LED off. | |
setColourRgb(0,0,0); | |
} | |
void loop() { |