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
/* | |
EXAMPLE: | |
input.messy_data_from_previous_trigger_or_action = 'This is a single string of text that contains lots of different data. {"name": "John"} Sometimes when you are building a Zap, you will need to pull out one piece of data from a long, messy string of text. {"email": "[email protected]"} Thankfully, you can use the "Formatter by Zapier" app or the "Code by Zapier" app to extract the information you need.' | |
*/ | |
function extract_piece_of_data(entire_string_of_text, characters_before_desired_data, characters_after_desired_data) { | |
var desired_data_with_stuff_after_it = entire_string_of_text.substr(entire_string_of_text.indexOf(characters_before_desired_data) + characters_before_desired_data.length); |
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
<html> | |
<head> | |
<title>Hacker News</title> | |
<link rel="stylesheet" href="../main.css" type="text/css" /> | |
<style type="text/css" media="screen"> | |
#gist { | |
display: none; | |
} | |
</style> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> |
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
function onOpen(e) { | |
// create custom menu | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Functions') | |
.addItem('Extract MRR', 'mrrExtractor') | |
.addItem('Reset Sheet', 'resetSheet') | |
.addToUi(); | |
}; | |
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
// | |
// ViewController.swift | |
// Say Hello | |
// | |
// Created by Joseph Palumbo on 10/8/17. | |
// Copyright © 2017 Joseph Palumbo. All rights reserved. | |
// | |
import UIKit |
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
// | |
// ViewController.swift | |
// Basic | |
// | |
// Created by Joseph Palumbo on 10/8/17. | |
// Copyright © 2017 Joseph Palumbo. All rights reserved. | |
// | |
import UIKit |
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
<?php $numbers = [8, 23, 15, 42, 16, 5]; ?> | |
<?php # is 15 in array? | |
$ans = in_array("15", $numbers); | |
if ($ans == 1) { | |
echo "true"; # returns true | |
} else { | |
echo "false"; | |
}; |
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
<html> | |
<head> | |
<title>1 Image - 100 Possibilities</title> | |
<style> | |
body { font-family: sans-serif; } | |
#imageUpload { | |
background-color: #4CAF50; /* Green */ | |
border: none; | |
color: white; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Baconator (Powered by Filestack)</title> | |
<style> | |
body { font-family: sans-serif; } | |
#baconator { | |
background-color: #f44336; | |
border: none; |
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
<img data-fp-src="https://upload.wikimedia.org/wikipedia/commons/1/1e/Alamo_pano.jpg" data-fp-apikey="A1AJmUYdDTj2Y5wEFtRO7z" data-fp-pixel-round="10" data-fp-on-resize="all" width="100%"/> |
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
<html> | |
<head> | |
<title>Write Demo</title> | |
<style> | |
body { | |
font-family: sans-serif; | |
} | |
#uploadConfirmation { | |
color: green; |