Within the <Product> tag, add a property
<Property Id='MOTTO' Value="The quick brown fox jumped over the lazy dog" />
The property name MUST be all upper case! Why is this?
This property will be used to edit an XML file:
| import QtQuick 2.12 | |
| import QtQuick.Window 2.12 | |
| import QtDataVisualization 1.2 | |
| import QtQuick.Layouts 1.3 | |
| import QtQuick.Controls 2.0 | |
| Window { | |
| visible: true | |
| width: 640 | |
| height: 480 |
| MYLIST = one two three one two three | |
| YOURLIST = $(filter-out two, $(MYLIST) ) | |
| all: | |
| echo $(YOURLIST) |
| <DiskConfiguration> | |
| <Disk wcm:action="add"> | |
| <CreatePartitions> | |
| <CreatePartition wcm:action="add"> | |
| <Order>1</Order> | |
| <Size>100</Size> | |
| <Type>Primary</Type> | |
| </CreatePartition> | |
| <CreatePartition wcm:action="add"> | |
| <Order>2</Order> |
| #include <iostream> | |
| #include <map> | |
| using namespace std; | |
| #define MILLION 1000000 | |
| uint64_t collatz_func( uint64_t num ) | |
| { | |
| if (num % 2 == 0) { | |
| return num / 2 ; |
| // ConsoleApplication2.cpp : This file contains the 'main' function. Program execution begins and ends there. | |
| // | |
| #include <iostream> | |
| #include <vector> | |
| #define DEBUG( x ) std::cout << "[+] " << x << std::endl; | |
| class Grandma { |
| txt_files := $(wildcard *.txt) | |
| int_files := $(txt_files:.txt=.int) | |
| hexdump_files := $(int_files:.int=.hexdump) | |
| all: | |
| echo $(txt_files) | |
| echo $(int_files) | |
| echo $(hexdump_files) | |
| $(hexdump_files): $(INT_FILES) |
| Flattening Iterators | |
| ==================== | |
| Summary | |
| ------- | |
| This is an interator template that fits a pattern whereby you need to | |
| return a list of objects streamed out of a sorted list of files. | |
| For instance, the Bitcoin blockchain comes in block files (blk00000.dat). |
| #include <iostream> | |
| #include <vector> | |
| using namespace std; | |
| typedef std::vector<uint8_t> choices_t; | |
| void printVec( choices_t& picked ) { | |
| for (uint8_t num : picked) cout << (int) num << " "; | |
| cout << "\n"; |