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
| TimeZone | UTC offset | name | |
|---|---|---|---|
| Pacific/Midway | UTC-11:00 | Midway Island, American Samoa | |
| Pacific/Honolulu | UTC-10:00 | Hawaii | |
| America/Anchorage | UTC-08:00 | Alaska | |
| America/Tijuana | UTC-07:00 | Baja California | |
| America/Los_Angeles | UTC-07:00 | Pacific Time US and Canada) | |
| America/Phoenix | UTC-07:00 | Arizona | |
| America/Chihuahua | UTC-06:00 | Chihuahua, La Paz, Mazatlan | |
| America/Denver | UTC-06:00 | Mountain Time US and Canada) | |
| America/Belize | UTC-06:00 | Central America |
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
| # Add in ~/.bashrc or ~/.bash_profile | |
| function parse_git_branch () { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| RED="\[\033[01;31m\]" | |
| YELLOW="\[\033[01;33m\]" | |
| GREEN="\[\033[01;32m\]" | |
| BLUE="\[\033[01;34m\]" | |
| NO_COLOR="\[\033[00m\]" |
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
| const path = require( 'path' ); | |
| const defaultConfig = require( '@wordpress/scripts/config/webpack.config' ); | |
| const DependencyExtractionWebpackPlugin = require( '@wordpress/dependency-extraction-webpack-plugin' ); | |
| const HELPGENT_NAMESPACE = '@helpgent/'; | |
| /** | |
| * Given a string, returns a new string with dash separators converted to | |
| * camelCase equivalent. This is not as aggressive as `_.camelCase` in | |
| * converting to uppercase, where Lodash will also capitalize letters | |
| * following numbers. |
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
| // Getter | |
| module.exports = (property) => { | |
| // Determine the return type based on the property type | |
| const returnType = property.isNullable() ? `?${property.getType()}` : property.getType(); | |
| return ` | |
| /** | |
| * ${property.getterDescription()} | |
| * |
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
| let singleForm = { | |
| questions: [], | |
| layout: 'mediaRight', | |
| global: { | |
| bubble: { | |
| background_type: { | |
| type: 'screen', //upload, color | |
| screen: screenId, | |
| upload: { | |
| id: '', //media id |
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
| [02-Aug-2023 05:09:26 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in C:\laragon\www\helpgent\wp-content\plugins\helpgent-two-pro\app\Lib\Google\Drive.php:290 | |
| Stack trace: | |
| #0 C:\laragon\www\helpgent\wp-content\plugins\helpgent-two-pro\app\Lib\Google\Drive.php(290): Exception->__construct('cURL error 28: ...', 'http_request_fa...') | |
| #1 C:\laragon\www\helpgent\wp-content\plugins\helpgent-two-pro\app\MediaDrivers\GoogleDrive.php(84): HelpGentPro\App\Lib\Google\Drive->upload_chunk(Object(HelpGent\App\DTO\ChunkFileDTO), 'ADPycdv-iNCRV37...') | |
| #2 C:\laragon\www\helpgent\wp-content\plugins\helpgent-two\app\Repositories\AttachmentRepository.php(201): HelpGentPro\App\MediaDrivers\GoogleDrive->upload_chunk(Object(HelpGent\App\DTO\ChunkFileDTO), Object(HelpGent\App\DTO\AttachmentUploadSessionDTO)) | |
| #3 C:\laragon\www\helpgent\wp-content\plugins\helpgent-two\app\Repositories\AttachmentRepository.php(164): HelpGent\App\Repositories\Attac |
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
| ( | |
| SELECT | |
| users.ID AS id, | |
| user_email AS email, | |
| "registered" AS user_type, | |
| user_registered AS created_at | |
| FROM | |
| wp_users AS users | |
| WHERE | |
| EXISTS( |
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
| import { v4 as uuidv4 } from 'uuid'; | |
| const question = { | |
| id: uuidv4(), | |
| title: 'Address', | |
| screen_type: 'address', | |
| icon: 'marker', | |
| isPro: false, | |
| isComing: false, | |
| position: { x: -150, y: 0 }, |
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
| import { v4 as uuidv4 } from 'uuid'; | |
| const question = { | |
| id: uuidv4(), | |
| title: 'Date', | |
| screen_type: 'date', | |
| icon: 'date', | |
| isPro: false, | |
| isComing: false, | |
| position: { x: -150, y: 0 }, |
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
| const previewComponents = { | |
| welcome: WelcomeQuestion, | |
| long_text: LongTextQuestion, | |
| short_text: ShortTextQuestion, | |
| number: NumberQuestion, | |
| button: ButtonQuestion, | |
| file_upload: FileQuestion, | |
| email: EmailQuestion, | |
| website: UrlQuestion, | |
| range_slider: SliderQuestion, |
NewerOlder