Skip to content

Instantly share code, notes, and snippets.

albert jalbertbowden

View GitHub Profile
View google_script.gs
// original from: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/
// original gist: https://gist.github.com/willpatera/ee41ae374d3c9839c2d6
function doGet(e){
return handleResponse(e);
}
// Enter sheet name where data is to be written below
var SHEET_NAME = "Sheet1";
View google_script_form.html
<form id="test-form">
<div>
<label>Field 1</label>
<input type="text" name="form_field_1" placeholder="Field 1"/>
</div>
<div>
<label>Field 2</label>
<input type="text" name="form_field_2" placeholder="Field 2"/>
@jalbertbowden
jalbertbowden / map.geojson
Created Apr 12, 2019
Shipwrecks - via Google My Maps
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nnk.md

Westmoreland County and the Northern Neck of Virginia offer many things to do and see to go along with your visit to Stratford Hall. Plan on a day trip or make it a weekender! Stratford Hall is also part of several regional and state birding, biking, hiking and history trails. We offer the following links to help you plan your visit:

@jalbertbowden
jalbertbowden / url-to-domain.php
Created Mar 29, 2019 — forked from davejamesmiller/url-to-domain.php
Get the domain name from a URL for display purposes in PHP
View url-to-domain.php
<?php
// This is PHP function to convert a user-supplied URL to just the domain name,
// which I use as the link text.
// Remember you still need to use htmlspecialchars() or similar to escape the
// result.
function url_to_domain($url)
{
@jalbertbowden
jalbertbowden / js-object-length.js
Created Mar 29, 2019 — forked from Chengings/js-object-length.js
Get object length by checking the key
View js-object-length.js
// http://stackoverflow.com/a/18560314
// if condition is for old IE
if (!Object.keys) {
Object.keys = function (obj) {
var arr = [],
key;
for (key in obj) {
if (obj.hasOwnProperty(key)) {
arr.push(key);
}
View macos-tricks.md

AirDrop Shortcut

  1. Put this command in Terminal cd /System/Library/CoreServices/Finder.app/Contents/Applications && open .
  2. Drag "AirDrop" to Dock
@jalbertbowden
jalbertbowden / checkEmail.php
Created Mar 24, 2019 — forked from voku/checkEmail.php
check for E-Mail
View checkEmail.php
<?php
/**
* checkEmail
*
* @param String $email
* @param Boolean $mxCheck (do not use, if you don't need it)
*
* @return Boolean
*/
View virginia-prisons-and-elected-officials.md

Augusta Correctional Center

  • 1821 Estaline Valley Road
  • Craigsville, Virginia 24430
  • (540) 997-7000
  • State Delegate
  • Ronnie R. Campbell
  • District:24
  • Party:R
View quote-slides.css
/** css carousel **/
@keyframes slidy {
0% { left: 0%; }
11% { left: 0%; }
22% { left: -100%; }
33% { left: -100%; }
44% { left: -200%; }
55% { left: -200%; }
66% { left: -300%; }
77% { left: -300%; }
You can’t perform that action at this time.