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 | |
/** | |
* Generate random pagesArray with parent heirarchy | |
* 500 pages, 8 character slugs, 10% root level parents | |
*/ | |
function getrandomstring($length) { | |
global $template; |
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
<div id="themecolors"> | |
<hr> | |
<style> | |
#themecolors{ | |
width:100%; | |
} | |
.tags { |
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 | |
/** | |
* GSEditorPatch.php | |
* @name GS Editor plugin | |
* | |
* removes ckeditor and inserts lepture markdown editor in its place | |
* https://github.com/lepture | |
* | |
* @version 0.1 |
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
-1|status|tag|no|name|duration|about | |
112||afx||luke vibert spiral staircase [future music competition] [afx remix]|5:05 | |
111||afx|19|[Slo]w early morning clissold sunrise|4:49| | |
110||afx|7|lsb [slo]|4:05| | |
109||afx|4|Red Calx[slo]|5:41| | |
108||Art|2|Dual Acid Ab6|4:36|94 ish, fuk knows | |
107||afx|5|How To Science 2 Ab6|4:51| | |
106||afx|4|how to science ab6|3:47| | |
105||afx|3|hollow alias ab6|2:14|ab6 |
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
<com><!-- hold a prop --> | |
<type>menu</type> | |
<trigger>parrot</trigger> | |
<do> | |
<var>My Things/quickbar/prop/SB+-+Macaw+Parrot/Hold</var> | |
</do> | |
<return>Hold Parrot</return> | |
</com> | |
<com><!-- teleport to a doid --> |
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
uint8_t *pixels; // global pixel array | |
uint8_t NUMPIXELS = 8; // number of leds/pixels | |
uint8_t NUMBYTES = 3; // bytes per pixel, RGBW = 4, RGB = 3 | |
uint16_t BUFFBYTES = NUMPIXELS*NUMBYTES; // bytes to allocate for pixel array | |
void allocPixelArray(uint8_t numPixels,uint8_t numBytes){ | |
NUMPIXELS = numPixels; | |
NUMBYTES = numBytes; | |
BUFFBYTES = numPixels*numBytes; | |
Serial.println("allocating " + (String)BUFFBYTES + " bytes"); |
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 | |
/* ---------------------------------------------------------------------- | |
This code fragment and addition to the GetSimple config file is designed to provide the capability to use SMTP mail when sending from | |
the GetSimple core application, not from plugins. For example, when sending a mail generated by a user request to "Reset Password" | |
GetSimple uses the built in PHP Mail() function only. Many hosting environments are now requiring that PHP scripts only use SMTP for | |
security reasons and thus this suggested change... | |
------------------------------------------------------------------------- | |
STEP #1 - | |
Add the following 2 lines to GSConfig.php: |
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
// add to config.js editorconfig section. you can add ?path= query to this to use a subfolder | |
config.imageUploadUrl = "../admin/upload.php" | |
// add to config.js | |
CKEDITOR.on( 'instanceReady', function( ev ) { | |
// code for fileupload and response | |
ev.editor.on( 'fileUploadRequest', function( evt ) { | |
var fileLoader = evt.data.fileLoader, | |
formData = new FormData(), | |
xhr = fileLoader.xhr; |
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 | |
// This plugin is licensed under the GNU GPLv3 license | |
if(!defined("IN_MYBB")) | |
{ | |
die("Direct initialization of this file is not allowed."); | |
} | |
$plugins->add_hook("parse_message_end", "AddNoFollow_hook"); | |
function AddNoFollow_info() |
OlderNewer