-
Save the gist files to a directory
-
Open vim from that directory
-
:echo tagfiles()
should print['tags']
, so we can confirm tags found, the file was generated withctags -R .
-
Open test.php with
:e test.php
-
Hit
<c-x><c-o>
at the marked place (at the end of line 4) -
In the completion popup you should see:
findme ( f $a, $b = 'foo' findme_too( f $a, $b = 'foo'
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
Index: builders/VS2010/rtmpserver/rtmpserver.vcxproj | |
=================================================================== | |
--- builders/VS2010/rtmpserver/rtmpserver.vcxproj (revision 395) | |
+++ builders/VS2010/rtmpserver/rtmpserver.vcxproj (working copy) | |
@@ -14,6 +14,7 @@ | |
<ProjectGuid>{263CEFE6-3D6C-4F9F-9FE0-DA8A9A2FA996}</ProjectGuid> | |
<RootNamespace>rtmpserver</RootNamespace> | |
<Keyword>Win32Proj</Keyword> | |
+ <ProjectName>crtmpserver</ProjectName> | |
</PropertyGroup> |
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
$ if P1 .eqs. "MAIL" | |
$ then | |
$ mail 'f$env("procedure")' MAULIS /subject="VMS BEADANDO 3" | |
$ goto legvege | |
$ endif | |
$ base = p1 * 1000000 | |
$ last = 0 | |
$ cur = 999 !gyok1hez | |
$ mul_loop: | |
$ cur = cur+1 |
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
function addWithTermination(word) { | |
var vowels = [ | |
'a', 'á', | |
'e', 'é', | |
'i', 'í', | |
'o', 'ó', | |
'ö', 'ő', | |
'u', 'ú', | |
'ü', 'ű' |
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
#!/bin/bash | |
# copypasted from the internet, added foreign key check disable/enable | |
line=`grep -m 1 -n "Current Database: .$2" $1 | cut -d ":" -f 1` | |
next=`sed 1,${line}d $1|grep -m 1 -n "Current Database" | cut -d ":" -f 1` | |
end=$(($line + $next -1)) | |
echo set foreign_key_checks = 0';' | |
sed -n ${line},${end}p $1 | |
echo set foreign_key_checks = 1';' |
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
<?php | |
define('OUTDIR', dirname(__FILE__).'/out/'); | |
define('IN_CSV', dirname(__FILE__).'/magyar_naptar_2013_indd_utf8.txt'); | |
header('Content-Type:text/html; charset=utf-8'); | |
$layouts = array( | |
-1 => 'plain', | |
/* | |
* +--+--+ |
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
<?php | |
class MY_Controller extends CI_Controller { | |
public function __construct() { | |
parent::__construct(); | |
require_once APPPATH. '/libraries/MtHaml/Autoloader.php'; // or whereever you put that file | |
\MtHaml\Autoloader::register(); | |
$this->haml = new MtHaml\Environment('twig'); | |
} |
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
Index: Test/bug681824.php | |
=================================================================== | |
--- Test/bug681824.php (revision 804) | |
+++ Test/bug681824.php (working copy) | |
@@ -1,3 +1,4 @@ | |
+<?php | |
// Bugs item #681824, was opened at 2003-02-06 18:14 | |
// You can respond by visiting: | |
// https://sourceforge.net/tracker/?func=detail&atid=106556&aid=681824&group_id=6556 | |
Index: Test/simple.php |
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
" Vim completion script | |
" Language: PHP | |
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) | |
" Maintainer: Shawn Biddle ( shawn AT shawnbiddle DOT com ) | |
" | |
" OPTIONS: | |
" | |
" let g:phpcomplete_relax_static_constraint = 1/0 [default 0] | |
" Enables completion for non-static methods when completing for static context (::). | |
" This generates E_STRICT level warning, but php calls these methods nontheless. |
This file has been truncated, but you can view the full file.
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
" Vim completion script | |
" Language: PHP | |
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) | |
" Maintainer: Shawn Biddle ( shawn AT shawnbiddle DOT com ) | |
" Maintainer: Szabó Dávid ( complex857 AT gmail DOT com ) | |
" | |
" OPTIONS: | |
" | |
" let g:phpcomplete_relax_static_constraint = 1/0 [default 0] | |
" Enables completion for non-static methods when completing for static context (::). |
OlderNewer