Based on this question with some adjustments https://stackoverflow.com/questions/20220270/posting-multipart-form-data-with-apache-bench-ab
You'll need a text file post_data.txt with the following contents:
| import { Router } from '@angular/router'; | |
| import { AuthService } from './auth.service'; | |
| import { Injectable, NgZone } from '@angular/core'; | |
| import * as store from 'store'; | |
| const MINUTES_UNITL_AUTO_LOGOUT = 5 // in Minutes | |
| const CHECK_INTERVALL = 1000 // in ms | |
| const STORE_KEY = 'lastAction'; | |
| @Injectable() |
Based on this question with some adjustments https://stackoverflow.com/questions/20220270/posting-multipart-form-data-with-apache-bench-ab
You'll need a text file post_data.txt with the following contents:
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| const listToObjectMappings = (list) => { | |
| let x = {} | |
| for (var i=0; i<list.length; i++){ | |
| x[':' + i.toString()] = list[i] | |
| } | |
| return x | |
| } | |
| let statuses = ['available', 'in-transit', 'delivered'] | |
| let mappings = listToObjectMappings(statuses) |
| var path = require('path'); | |
| var spawn = require('child_process').spawn; | |
| var debug = require('debug')('electron-squirrel-startup'); | |
| var app = require('electron').app; | |
| var appInfo = require('../package.json') | |
| console.log(path.resolve(path.dirname(process.execPath),'..',`app-` + appInfo.version,path.basename(process.execPath))) | |
| var run = function(args, done) { | |
| var updateExe = path.resolve(path.dirname(process.execPath), '..', 'Update.exe'); |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| import {HostListener} from "@angular/core"; | |
| export abstract class ComponentCanDeactivate { | |
| abstract canDeactivate(): boolean; | |
| @HostListener('window:beforeunload', ['$event']) | |
| unloadNotification($event: any) { |
| #!/bin/zsh | |
| :<<'ABOUT_THIS_SCRIPT' | |
| ----------------------------------------------------------------------- | |
| Written by:William Smith | |
| Partner Program Manager | |
| Jamf | |
| bill@talkingmoose.net | |
| https://gist.github.com/b6637160b65b751824943ede022daa17 |
| import React from "react" | |
| import { Route, Switch } from "react-router-dom" | |
| const AppRoute = ({ component: Component, layout: Layout, ...rest }) => ( | |
| <Route {...rest} render={props => ( | |
| <Layout> | |
| <Component {...props} /> | |
| </Layout> | |
| )} /> | |
| ) |