Skip to content

Instantly share code, notes, and snippets.

Alexy Vauch! alexVauch

Block or report user

Report or block alexVauch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View i18n-files-to-temp.js
copy: {
i18n: {
files: [
{
expand: true,
cwd: '/project_files',
src: '**/*.php',
dest: '/temp',
rename: (function () {
var index = 0;
View content-insertion
(function () {
tinymce.PluginManager.add('menubutton_content_insertion', function (editor, url) {
editor.addButton('content_insert', function () {
var insertContent = function () {
var content = '';
switch (this.name()) {
case 'value_1':
content += 'Value 1';
break;
View WordPress.xml
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="WordPress">
<option name="USE_SAME_INDENTS" value="true" />
<option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true" />
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
<option name="USE_TAB_CHARACTER" value="true" />
You can’t perform that action at this time.