List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
$userPath = $env:USERPROFILE | |
$pathExclusions = New-Object System.Collections.ArrayList | |
$processExclusions = New-Object System.Collections.ArrayList | |
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
$pathExclusions.Add('C:\Windows\assembly') > $null | |
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null | |
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null | |
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null |
#!/usr/bin/env node | |
# run this before using: yarn add --dev node-pty semver | |
const os = require("os") | |
const pty = require("node-pty") | |
const semver = require("semver") | |
function semverComparator(a, b) { | |
if (semver.lt(a, b)) { |
/* | |
ArrayUtil exposes a set of helper methods for working with | |
ReadableArray (by React Native), Object[], and JSONArray. | |
MIT License | |
Copyright (c) 2020 Marc Mendiola | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
// dependencies | |
var async = require('async'); | |
var AWS = require('aws-sdk'); | |
// Enable ImageMagick integration. | |
var gm = require('gm').subClass({ imageMagick: true }); | |
var util = require('util'); | |
var pdf2png = require('pdf2png'); | |
pdf2png.ghostscriptPath = "/usr/bin"; | |
// constants |
import java.io.IOException; | |
import okhttp3.HttpUrl; | |
import okhttp3.Interceptor; | |
import okhttp3.OkHttpClient; | |
import okhttp3.Request; | |
/** An interceptor that allows runtime changes to the URL hostname. */ | |
public final class HostSelectionInterceptor implements Interceptor { | |
private volatile String host; |
package cc.cubone.turbo.core.bluetooth; | |
/** | |
* Interface definition for a callback to be invoked when bluetooth state changed. | |
*/ | |
public interface BluetoothCallback { | |
/** | |
* Called when the bluetooth is off. | |
*/ |
public class FusedLocationTrackerService extends InjectingService { | |
private static final String TAG = FusedLocationTrackerService.class.getSimpleName(); | |
public FusedLocationTrackerService() { | |
} | |
public static void start(Context context) { | |
Log.e(TAG, "startGPSTrackerService"); |
To accomplish this tutorial you already need a previous copy of OSX installed on VMWare Player or Workstation.
First of all you need to acquire a legal copy of OSX El Capitan from the App Store. This tutorial will not cover this part. Sorry :)
Download the latest version of VMWare Unlocker and use the relative binary to unlock it ( based on your Host OS ).