Name | Type | License | Tech |
---|---|---|---|
apostello | SMS communication | MIT | Python |
Bible API | bible reference | MIT | Ruby |
Bible Helper | bible reference | MIT | JavaScript |
Cedar | media projection | MIT | JavaScript (Meteor) |
Chabaa | service streaming and chat | GPLv3 | PHP |
CHUMS | ChMS | MIT | TypeScript |
ChurchCRM | ChMS | MIT | PHP |
ChurchInfo | ChMS | GPLv2 | PHP |
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
[Settings] | |
ID = "Your_Site_ID" | |
# Settings in the [build] context are global and are applied to all contexts unless otherwise overridden by more specific contexts. | |
[build] | |
# This is the directory to change to before starting a build. | |
base = "project/" | |
# NOTE: This is where we will look for package.json/.nvmrc/etc, not root. | |
# This is the directory that you are publishing from (relative to root of your repo) |
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
/** | |
* date-fns v2 is still in alpha, but has built-in Typescript support so best to use it: | |
* Docs: https://date-fns.org/v2.0.0-alpha.16/docs/Getting-Started | |
* | |
* npm install --save date-fns@next | |
*/ | |
// Useful functions to import | |
import { formatDistanceStrict, isAfter, isBefore, format, subDays, isSameDay } from 'date-fns'; |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
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 | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
class JsonMiddleware | |
{ | |
public function handle(Request $request, Closure $next) |
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 | |
namespace App\Http\Requests; | |
use Illuminate\Http\Request; | |
class BaseRequest extends Request | |
{ | |
public function expectsJson() | |
{ |
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
window.SpeechRecognition = window.webkitSpeechRecognition || window.SpeechRecognition; | |
const synth = window.speechSynthesis; | |
const recognition = new SpeechRecognition(); | |
const icon = document.querySelector('i.fa.fa-microphone') | |
let paragraph = document.createElement('p'); | |
let container = document.querySelector('.text-box'); | |
container.appendChild(paragraph); | |
const sound = document.querySelector('.sound'); |
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> | |
<meta name="description" content="SVG Alphabets"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>SVG Letters</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script> | |
<style id="jsbin-css"> |
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
// Copied by https://gist.github.com/dotcypress/8fd12d6e886cd74bba8f1aa8dbd346aa, | |
// thanks for improving code style | |
const { createHash, createHmac } = require('crypto'); | |
const TOKEN = "ABC:12345..."; | |
// I prefer get the secret's hash once but check the gist linked | |
// on line 1 if you prefer passing the bot token as a param | |
const secret = createHash('sha256') | |
.update(TOKEN) |
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
var allSongNames = songs.map(function (song) { | |
return song.name; | |
}); | |
// ES6 | |
const allSongNames = songs.map(song => { | |
return song.name; | |
}); | |
console.log(allSongNames); // ["Curl of the Burl","Oblivion","Flying Whales","L'Enfant Sauvage"]; |