- Visual Studio Build Tools 2022
- Visual Studio Build Tools 2019
- Visual Studio Build Tools 2017
- Visual Studio Build Tools 2015
Visual Studio 2022:
| # References: | |
| # https://cmake.org/cmake/help/latest/command/add_custom_target.html | |
| # https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/ | |
| # https://gist.github.com/socantre/7ee63133a0a3a08f3990 | |
| # https://stackoverflow.com/questions/24163778/how-to-add-custom-target-that-depends-on-make-install | |
| # https://stackoverflow.com/questions/30719275/add-custom-command-is-not-generating-a-target | |
| # https://stackoverflow.com/questions/26024235/how-to-call-a-cmake-function-from-add-custom-target-command | |
| # https://blog.csdn.net/gubenpeiyuan/article/details/51096777 | |
| cmake_minimum_required(VERSION 3.10) |
| // ==UserScript== | |
| // @name EmuParadise Download Workaround - 1.1.1 | |
| // @version 1.1.2 | |
| // @description Replaces the download button link with a working one | |
| // @author Eptun | |
| // @match https://www.emuparadise.me/*/*/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
| // @grant none | |
| // ==/UserScript== |
| #!/usr/bin/env python | |
| """Replace line breaks, from one format to another.""" | |
| from __future__ import print_function | |
| import argparse | |
| import glob | |
| import os | |
| import sys |
| // C++ 11 way, thread-safe version, guaranteed to be destroyed. | |
| // For further details, see §6.7 [stmt.dcl] p4 of C++ 11 standard | |
| class Singleton | |
| { | |
| public: | |
| static Singleton& instance(); | |
| Singleton(Singleton const&) = delete; // Don't forget to disable copy | |
| void operator=(Singleton const&) = delete; // Don't forget to disable copy |
| import time | |
| import threading | |
| class BaseThread(threading.Thread): | |
| def __init__(self, callback=None, callback_args=None, *args, **kwargs): | |
| target = kwargs.pop('target') | |
| super(BaseThread, self).__init__(target=self.target_with_callback, *args, **kwargs) | |
| self.callback = callback | |
| self.method = target |
| import socket | |
| hostname, sld, tld, port = 'www', 'integralist', 'co.uk', 80 | |
| target = '{}.{}.{}'.format(hostname, sld, tld) | |
| # create an ipv4 (AF_INET) socket object using the tcp protocol (SOCK_STREAM) | |
| client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| # connect the client | |
| # client.connect((target, port)) |
| #include <iostream> | |
| #include <unordered_map> | |
| #include <functional> | |
| #include <vector> | |
| // Base class | |
| class Shape { | |
| public: | |
| virtual void draw() = 0; | |
| }; |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
| @echo off | |
| setlocal | |
| call :setESC | |
| cls | |
| echo %ESC%[101;93m STYLES %ESC%[0m | |
| echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m | |
| echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m | |
| echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m |