This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
:: Check if JAVA_HOME is already defined | |
IF DEFINED JAVA_HOME (exit /b 0) | |
:: Get the JDK version from the registry | |
set KEY="HKLM\SOFTWARE\JavaSoft\Java Development Kit" | |
set VALUE=CurrentVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
SERVER="9091 --auth user:pass" | |
TORRENTLIST=`transmission-remote $SERVER --list | grep 100% | sed "s/^ *//g" | cut -w -f1` | |
for TORRENTID in $TORRENTLIST | |
do | |
echo "Processing $TORRENTID" | |
TORRENT_INFO=`transmission-remote $SERVER --torrent $TORRENTID --info` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.ApplicationModels; | |
using Microsoft.AspNetCore.Mvc.Routing; | |
namespace MyWebApi.Extensions | |
{ | |
public static class MvcOptionsExtensions | |
{ | |
public static void UseGeneralRoutePrefix(this MvcOptions opts, IRouteTemplateProvider routeAttribute) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.14) | |
project(cpputest-via-apt-get | |
VERSION 1 | |
LANGUAGES CXX) | |
find_package(CppUTest 4 REQUIRED) |
OlderNewer