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
# 1. Make sure the Microsoft App Installer is installed: | |
# https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1 | |
# 2. Edit the list of apps to install. | |
# 3. Run this script as administrator. | |
Write-Output "Installing Apps" | |
$apps = @( | |
@{name = "7zip.7zip" }, | |
@{name = "Adobe.Acrobat.Reader.64-bit" }, | |
@{name = "Axosoft.GitKraken" }, |
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
@JS() | |
library grecaptcha; | |
import 'package:js/js.dart'; | |
import 'package:js/js_util.dart'; | |
@JS() | |
@anonymous | |
class Options { | |
external String get action; |
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
// The focus on/off methods fire. I am not sure how to change the providers so that I can either force dispose or just start/stop the timer? | |
final MyRequestProvider = | |
StreamProvider.autoDispose<List<MyRequest>>((ref) { | |
StreamController<List<MyRequest>> controller = | |
StreamController<List<MyRequest>>(); | |
ClientResolver clientResolver = ClientResolver(); | |
IServiceClient client = clientResolver.getClient(AppParameters.getBaseUrl()); |
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
import 'dart:async'; | |
import 'package:connectivity/connectivity.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
enum NetworkStatus { NotDetermined, On, Off } | |
class NetworkDetectorNotifier extends StateNotifier<NetworkStatus> { | |
StreamController<ConnectivityResult> controller = |
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
<!--Load Kendo styles from the Kendo CDN service--> | |
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2017.3.913/styles/kendo.common.min.css"/> | |
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2017.3.913/styles/kendo.default.min.css"/> | |
<!--Load the required libraries - jQuery, Kendo, Babel and Vue--> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.js"></script> | |
<script src="https://kendo.cdn.telerik.com/2018.3.1017/js/kendo.all.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js"></script> | |
<script src="https://unpkg.com/@progress/[email protected]/dist/cdn/main.js"></script> | |
<script src="https://unpkg.com/@progress/kendo-datasource-vue-wrapper/dist/cdn/kendo-datasource-vue-wrapper.js"></script> |
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 ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Sqlite; | |
using ServiceStack.DataAnnotations; | |
using System.Data; | |
using System; | |
var dbFactory = new OrmLiteConnectionFactory(":memory:", SqliteDialect.Provider); |
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
TextFragmentAbsorber textFragmentAbsorber = new TextFragmentAbsorber("Speaker.FullName"); | |
textFragmentAbsorber.TextSearchOptions.IsRegularExpressionUsed = false; | |
//accept the absorber for all the pages | |
file.Document.Pages.Accept(textFragmentAbsorber); | |
//get the extracted text fragments | |
TextFragmentCollection textFragmentCollection = textFragmentAbsorber.TextFragments; | |
//loop through the fragments | |
foreach (TextFragment textFragment in textFragmentCollection) |
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 Hangfire; | |
using Hangfire.Client; | |
using Hangfire.Common; | |
using Hangfire.Server; | |
using Hangfire.Storage; | |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Security.Cryptography; |
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 Lucuma; | |
using Lucuma.Libs; | |
using Lucuma.Libs.Config; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Web.Http; |
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
# This script will clone the settings from one project to another via an exported YAML | |
$apiUrl = 'https://ci.appveyor.com/api' | |
$token = '[your token]' | |
$headers = @{ | |
"Authorization" = "Bearer $token" | |
"Content-type" = "application/json" | |
} | |
$accountName = '[account name]' | |
$projectSlug = '[project slug]' |
NewerOlder