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
Installing paru v1.9.2 | |
Downloading crates ... | |
Downloaded pkg-config v0.3.24 | |
Compiling libc v0.2.109 | |
Compiling proc-macro2 v1.0.33 | |
Compiling unicode-xid v0.2.2 | |
Compiling syn v1.0.82 | |
Compiling cfg-if v1.0.0 | |
Compiling autocfg v1.0.1 | |
Compiling memchr v2.4.1 |
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
if unique then | |
return true | |
end | |
same = {} | |
for p in AllPetIDs() do | |
s, _, l, x = C_PetJournal.GetPetInfoByPetID(p) | |
if s == speciesID then | |
if l > level and x >= xp then | |
table.insert(same, 1, p) |
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
# as Administrator | |
Set-ExecutionPolicy AllSigned | |
Install-Module PackageManagement -AllowClobber -Force | |
Install-PackageProvider chocolatey | |
Install-Module -Name ChocolateyGet | |
Install-Package -Name golang | |
Install-Package -Name nodejs |
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
// accurate _after_ Cordova's "deviceready" event | |
function isIonicDeployPath ( | |
appId /* : string */, | |
global /* : Window | Global */ | |
) /* : Promise<boolean> */ { | |
'use strict' | |
if (!global.IonicDeploy || !global.IonicDeploy.info) { | |
return Promise.resolve(false) | |
} |
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
'use strict' | |
function looksFine () {} | |
function looksFineWithArgs ( | |
first /* : string */, | |
second /* : number */ | |
) /* : boolean */ { | |
const statementsLookGood = true | |
return false |
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
'use strict' | |
const fs = require('fs') | |
const path = require('path') | |
const padStart = require('lodash.padstart') | |
const yaml = require('js-yaml') | |
const PROJECT_PATH = path.join(__dirname, '..') | |
const SERVERLESS_PATH = path.join(PROJECT_PATH, 'serverless.yml') |
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 this prior to to all other scripts on the page, | |
then it will be able to monitor script loading properly | |
requires: Promise, MutationObserver, querySelectorAll, Map, Set, const, let | |
*/ | |
;(() => { | |
'use strict' |
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
// | |
// main.m | |
// macos-keychain-delete-private-key | |
// | |
// Created by Ron Waldon on 2016-08-30. | |
// Copyright © 2016 Ron Waldon. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <Security/Security.h> |
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
'use strict' | |
// ideal for use with AWS Lambda and native Node.js modules | |
// requires Docker: https://docs.docker.com/engine/installation/ | |
/* | |
Usage: | |
node docker-npm.js install | |
node docker-npm.js rebuild |
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
<?php | |
/* | |
usage: | |
php extract-heredoc.php my-code-file.php | |
creates my-code-file.heredoc.php | |
assumes input file is a single <?php code block |
NewerOlder