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
| /** | |
| * Determines whether a text is a palindrome. | |
| * Text is lowercased and non-alphabetic characters are removed. | |
| * | |
| * @param {string} text - the words to check | |
| * @return {boolean} | |
| */ | |
| function isPalindrome(text) { | |
| if (!text || text.length < 2) return false; | |
| text = text.replace(/[\s\W]/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
| // src/CloudCode.js | |
| "use strict" | |
| var Cron = require('./Cron'); | |
| var Job = require('./Job'); | |
| class CloudCode { | |
| constructor(Parse, timezone){ | |
| this.Parse = Parse; |
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
| package com.example.remotecontrolclient; | |
| import android.app.Service; | |
| import android.content.ComponentName; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.graphics.BitmapFactory; | |
| import android.media.AudioManager; | |
| import android.os.IBinder; | |
| import android.support.v4.media.MediaMetadataCompat; |