This file contains 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 { final } from './final.ts'; | |
import { frozen } from './frozen.ts'; | |
@final | |
@frozen | |
export class Example { | |
} | |
export class ExampleSub extends Example { | |
} |
This file contains 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
{ | |
"textures": [ | |
{ | |
"image": "{{config.imageName}}", | |
"format": "{{config.format}}", | |
"size": { | |
"w": {{config.imageWidth}}, | |
"h": {{config.imageHeight}} | |
}, | |
"scale": {{config.scale}}, |
This file contains 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
INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES ('your login', MD5('your password'), 'your name', 'your@email.com', '0'); | |
INSERT INTO `wp_usermeta`(`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'); | |
INSERT INTO `wp_usermeta`(`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_user_level', '10'); |
This file contains 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
# Include your project-specific ignores in this file | |
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files | |
.cache-loader | |
dist | |
node_modules | |
npm-debug.log | |
yarn-error.log | |
/vendor | |
resources/assets/config-local.json | |
.vscode |
This file contains 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
.cache-loader/** | |
node_modules/** | |
resources/assets/** | |
.deployignore | |
.editorconfig | |
.eslintrc.js | |
.gitignore | |
.gitlab-ci.yml | |
.stylelintrc.js | |
CHANGELOG.md |
This file contains 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
image: edbizarro/gitlab-ci-pipeline-php:7.2-alpine-lts | |
cache: | |
key: ${CI_COMMIT_REF_SLUG} | |
paths: | |
- node_modules/ | |
- vendor/ | |
- .yarn | |
before_script: |
This file contains 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 | |
/** | |
* Determines if string ends with a specific sub string. | |
* | |
* @param string $haystack The string to search in. | |
* @param string $needle The sub-string to search for. | |
* @return boolean | |
*/ | |
function string_ends_with($haystack, $needle) { |
This file contains 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 | |
/** | |
* Unique identifier for the theme. Used for the text domain and other stuff. | |
* | |
* @return string | |
*/ | |
function theme_key() { | |
return 'yourthemeid'; | |
} |
This file contains 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
module.exports = { | |
'extends': 'stylelint-config-standard', | |
'rules': { | |
'no-empty-source': null, | |
'at-rule-no-unknown': [ | |
true, | |
{ | |
'ignoreAtRules': [ | |
'extend', | |
'at-root', |
This file contains 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
module.exports = { | |
'root': true, | |
'extends': [ | |
'eslint:recommended', | |
'plugin:sonarjs/recommended', | |
'plugin:unicorn/recommended', | |
'es/2015/client', | |
], | |
'globals': { | |
'wp': true, |
OlderNewer