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
/** | |
* Replace all mentions inside of a text with full username_string and mention name | |
* | |
* @param string $text the original text | |
* @return string the text with replaced mentions | |
*/ | |
public function replace_mentions_for_display($text) | |
{ | |
$start_time = microtime(true); | |
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
checks: | |
php: true | |
coding_style: | |
php: | |
indentation: | |
general: | |
use_tabs: true | |
spaces: | |
general: | |
linefeed_character: newline |
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 | |
/** | |
* | |
* Highlight Unread Posts | |
* | |
* @copyright (c) 2015 Wolfsblvt ( www.pinkes-forum.de ) | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 | |
* @author Clemens Husung (Wolfsblvt) | |
*/ |
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
setupstream = "!f() { \ | |
local rem=$(git remote | grep -v '^origin$') \ | |
if [ \"$(wc -l <<<\"$rem\")\" -gt 1 ]; then \ | |
echo 'Too many remotes.' >&2 \ | |
return \ | |
fi \ | |
if [ -z \"$rem\" ]; then \ | |
echo 'No non-origin remote found.' >&2 \ | |
return \ | |
fi \ |
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
using System.Composition; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CodeActions; | |
using Microsoft.CodeAnalysis.CodeRefactorings; | |
using Microsoft.CodeAnalysis.CSharp.Syntax; | |
namespace TestsCreatorCommandss |
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
using System.Composition; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using EnvDTE; | |
using EnvDTE80; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CodeActions; | |
using Microsoft.CodeAnalysis.CodeRefactorings; | |
using Microsoft.CodeAnalysis.CSharp; | |
using Microsoft.CodeAnalysis.CSharp.Syntax; |
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
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CodeActions; | |
namespace TestsCreatorCommands | |
{ | |
public class CustomCodeAction : CodeAction |
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
sad |
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
/***********************************************************************/ | |
/** © 2015 CD PROJEKT S.A. All rights reserved. | |
/** THE WITCHER® is a trademark of CD PROJEKT S. A. | |
/** The Witcher game is based on the prose of Andrzej Sapkowski. | |
/***********************************************************************/ | |