Skip to content

Instantly share code, notes, and snippets.

momoterraw andrewvmail

  • Vancouver
Block or report user

Report or block andrewvmail

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View new-app-checklist.md
View dnd.md
DND

Metamagic

At 3rd level, you gain the ability to twist your spells to suit your needs. You gain two of the following Metamagic options of your choice. You gain another one at 10th and 17th level.

You can use only one Metamagic option on a spell when you cast it, unless otherwise noted.

View swift.swift
//: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
class CounterModule: NSObject {
var name = "momo"
@objc dynamic var count = Int(0)
func increment() -> Void{
@andrewvmail
andrewvmail / swift.swift
Last active Apr 11, 2020
Swift Playground
View swift.swift
//: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
class CounterModule: NSObject {
var name = "momo"
@objc dynamic var count = Int(0)
func increment() -> Void{
@andrewvmail
andrewvmail / Catalina_ISO.sh
Last active Apr 5, 2020 — forked from Kutkovsky/Catalina_ISO.sh
The steps allowing to create macOS 10.15 Catalina VM on vSphere or ESXi
View Catalina_ISO.sh
#!/bin/bash
# Added after beta and doing it at a catalina machine.
# App Store > macOS Catalina > GET
# Steps to create the macOS Catalina (10.15) VM:
# login to developer.apple.com or beta.apple.com to download a tester's profile for your OS. Install it.
# Go to System Preferences > Software Update and start the update process
# When the Catalina Installer (few MBytes) is started, it downloads the remain part of installation.
@andrewvmail
andrewvmail / index.js
Created Mar 29, 2020 — forked from NoTimeForHero/index.js
NodeJS script to remove 1000 DNS records added by Cloudflare when used * (wildcard) A record
View index.js
// Now if you adding a domain with wildcard A record, Cloudflare uses strange scan, which added a 1000 trash domains (like 1-100, some english words like "ai", "air", "android").
// There's no way to bulk delete it, you can delete it only using their API.
// So I write a script that can help you with this problem.
// Discussions about same problem:
// https://community.cloudflare.com/t/delete-all-records-using-api/13410/2
// https://community.cloudflare.com/t/bulk-delete-dns-record/89540
const settings = {
email: 'your@email',
@andrewvmail
andrewvmail / openssl-build.sh
Created Jan 2, 2020 — forked from foozmeat/openssl-build.sh
A shell script to build openssl for iOS and Mac. It currently builds: Mac -> i386 & x86_64 // iOS -> armv7, arm64 // iOS Simulator -> i386 & x86_64.
View openssl-build.sh
#!/bin/bash
# This script builds the iOS and Mac openSSL libraries
# Download openssl http://www.openssl.org/source/ and place the tarball next to this script
# Credits:
# https://github.com/st3fan/ios-openssl
# https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh
View shell-exports
export first_container_id=$(docker ps | head -2 | awk '{print $1}' | tail -1)
@andrewvmail
andrewvmail / build.gradle
Created Jul 3, 2019 — forked from tprochazka/build.gradle
Smart versionName and versionCode for android Gradle build evaluation
View build.gradle
/**
* Will return version from properties file and replace -SNAPSHOT by GIT commit hash
* to recognize origin commit for the every build.
*/
project.ext.evalVersionName = {
def ideBuild = project.properties['android.injected.invoked.from.ide']
if (ideBuild) {
logger.info("IDE build");
return "dev"
} else if (project.VERSION.toUpperCase().contains("SNAPSHOT")) {
You can’t perform that action at this time.