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
/** | |
* By default, ClickUp shows the total time estimate for a list of subtasks | |
* but does not filter out "Completed" tasks (or any other status you might | |
* want to not count, such as "Ready for QA"). This script will find the total | |
* time estimate for all subtasks that are not "Completed" or "Ready for QA". | |
* | |
* The "Ready for QA" status is a custom status that we use to indicate that | |
* a task is ready for QA. It is not a default status. We are filtering it out | |
* based on it's color 'rgb(175, 126, 46)`, if you don't use custom statuses | |
* then you can probably use this script as-is since it will never match. If you |
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 log from './logger'; | |
import {find} from 'lodash'; | |
function move(window: Window, screen: Screen | null) { | |
if(window.isVisible() && screen !== null) { | |
window.setTopLeft({x: screen.flippedVisibleFrame().x, y: screen.flippedVisibleFrame().y}); | |
} | |
} | |
function moveAndFull(window: Window, screen: Screen | null) { |
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
/* tslint:disable */ | |
var fs = require('fs'); | |
let filePath = './node_modules/@ionic/angular/dist/fesm5.js'; | |
let monkeyPatch = `// Start monkey patching | |
StackController.prototype.startBackTransition = function () { | |
return __awaiter(this, void 0, void 0, function () { | |
var leavingView, views, enteringView_1; | |
var _this = this; | |
return __generator(this, function (_a) { |
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
const request = require('request-promise-native'); | |
const fs = require('fs'); | |
let hostname = 'http://unraid-url.com'; | |
let username = 'root'; | |
let password = 'mypassword'; | |
(async () => { | |
// Get CSRF Token |
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 node | |
const os = require('os'); | |
const request = require('request-promise-native'); | |
const fs = require('mz/fs'); | |
let hostname = os.hostname(); | |
let baseUrl = 'YOUR_BASE_URL'; | |
(async () => { | |
let jwt = await getJwt(); |
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
package ZoneMinder::Control::Xiaomi; | |
use 5.006; | |
use strict; | |
use warnings; | |
require ZoneMinder::Base; | |
require ZoneMinder::Control; | |
our @ISA = qw(ZoneMinder::Control); |
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
stages: | |
- beta | |
variables: | |
LC_ALL: "en_US.UTF-8" | |
LANG: "en_US.UTF-8" | |
test_flight_build: | |
dependencies: [] | |
stage: beta |
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
# Customise this file, documentation can be found here: | |
# https://docs.fastlane.tools/actions/ | |
# All available actions: https://docs.fastlane.tools/actions | |
# can also be listed using the `fastlane actions` command | |
# Change the syntax highlighting to Ruby | |
# All lines starting with a # are ignored when running `fastlane` | |
# If you want to automatically update fastlane if a new version is available: | |
# update_fastlane |
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
module.exports = function(context) { | |
var fs = require('fs'); | |
var ROOT_DIR = context.opts.projectRoot; | |
if(ROOT_DIR.substr(0, 1) === '/' && fs.existsSync(ROOT_DIR + "/platforms/ios")) { | |
var srcFile = ROOT_DIR + "/platforms/ios/My App.xcodeproj/project.pbxproj"; | |
var projectPbxproj = fs.readFileSync(srcFile, "utf8"); |
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
package main | |
import ( | |
"strings" | |
"fmt" | |
) | |
func arrayClosest(values []string, input string) string { | |
best := "" |
NewerOlder