Skip to content

Instantly share code, notes, and snippets.

@dotMorten
dotMorten / MSBuildCheatSheet.xml
Last active February 12, 2026 17:45
MSBuild Cheat Sheet
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
How to define a variable.
Just stick a new node in a property group.
-->
<PropertyGroup>
<!-- This node in a property group will define a variable -->
<TestVariable>Test Variable Value</TestVariable>
@hempnall
hempnall / README.md
Last active June 1, 2020 16:48
Wix Installer with GUI

Creating a Wix Installer with GUI

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:

@Fabricio20
Fabricio20 / ReadMe.md
Last active November 7, 2023 04:37
Docker - Nginx + PHP FPM + MariaDB + PhpMyAdmin

Docker

This is a docker-compose template for a lemp stack.

Make sure to change both the root password under the mysql service, and the absolute URI on the phpmyadmin container.
You can also expose phpMyAdmin locally instead of remotely by properly configuring the ports.

Default locations:
(Original) -> (Your server)
/var/www/html -> ./webroot
/etc/nginx -> ./nginx

@allsey87
allsey87 / plot_data_from_csv.sce
Last active December 11, 2023 16:59
How to plot data in Scilab from a CSV file (with first line as the header)
clear parse_my_data
clear path
clear inputs
clear index
function parse_my_data(f_data_path)
csv_data = read_csv(f_data_path);
num_data = strtod(csv_data(2:$,1:$));
num_data_points = size(num_data,1);
my_plot = figure();
@DenisCarriere
DenisCarriere / mls.py
Created December 14, 2015 19:04
MLS Scraper
import geocoder
import requests
import unicodecsv as csv
import time
container = {}
g = geocoder.google("New Brunswick, Canada")
url = "https://www.realtor.ca/api/Listing.svc/PropertySearch_Post"
PropertySearchType = {
@pvandervelde
pvandervelde / AfterReplacement.xml
Created January 6, 2014 03:33
An MsBuild custom task that allows you to replace certain parameters in a template file.
<?xml version="1.0" encoding="utf-8" ?>
<stuff>
<MyFirstElement>My first property</MyFirstElement>
<MySecondElement>My second property</MySecondElement>
</stuff>