This file contains hidden or 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
--- | |
- name: Install Brew packages | |
hosts: localhost | |
become: false | |
vars: | |
brew_cask_packages: | |
- homebrew/cask-versions/adoptopenjdk8 | |
- android-sdk | |
- android-platform-tools | |
- genymotion |
This file contains hidden or 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
find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g' |
This file contains hidden or 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
#![feature(proc_macro_hygiene, decl_macro)] | |
#[macro_use] extern crate rocket; | |
use rocket::request::Form; | |
#[derive(FromForm)] | |
pub struct Parameters { | |
// Payload fields from "Preparing your app to receive Commands" section in documentation: | |
// https://api.slack.com/interactivity/slash-commands#app_command_handling. | |
pub token: String, |
This file contains hidden or 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
try! FileManager.default.removeItem(at:Realm.Configuration.defaultConfiguration.fileURL!) |
This file contains hidden or 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
extern crate rand; | |
use std::io; | |
use std::cmp::Ordering; | |
use rand::Rng; | |
fn main() { | |
println!("Guess the number!"); | |
let secret_number = rand::thread_rng().gen_range(1, 101); |
This file contains hidden or 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
// | |
// Checkin.swift | |
// Created by Luna Graysen on 2019-05-01. | |
// Copyright © 2019 Luna Graysen. All rights reserved. | |
// | |
import Foundation | |
struct Checkin { | |
This file contains hidden or 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
insertCheckboxFormField(pageRect, pageNo, type) { | |
let instance = this.PSPDF; | |
async function createNewFormField(instance) { | |
try { | |
const formFieldName = type + "_formfield"; | |
const newFormFieldName = `${formFieldName}_${Math.random() | |
.toString(36) | |
.replace(/[^a-z]+/g, "")}`; |