Depo içerisinde aşağıdaki denemeyi yapın:
vim -c 'set makeprg=./yer.py | make' yer.csv
Her şey yolundaysa bir quickfix penceresei açılır. Bu pencerede :cn ve
:cp komutlarıyla hatalar arasında ileri-geri dolaşabilirsiniz.
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| struct ogrenci { | |
| char *ad; | |
| char *soyad; | |
| int no; | |
| struct ogrenci *sonra; | |
| }; |
| #!/usr/bin/perl | |
| # STDIN'den mac adreslerini topla ve dhcp stanza üret | |
| # örnek kullanım: ./macator </var/log/syslog >out | |
| use strict; | |
| use warnings; | |
| my $d = "[0-9A-Fa-f]"; | |
| my $dd = "$d$d"; |
| sub mergedefined { | |
| my $target = shift; | |
| while (@_) { | |
| my $overwrite = shift; | |
| $target->{$_} = $overwrite->{$_} for grep { defined $overwrite->{$_} } keys %$overwrite; | |
| } | |
| } |
| public class Robot { | |
| int boy; | |
| int kilo; | |
| public Robot(int b, int k) { | |
| boy = b; | |
| kilo = k; | |
| } | |
| public void oyna() { |
| #!/usr/bin/ruby | |
| ben = Ben.new | |
| bunu = Gist.new() | |
| if ben.gorebiliyorum(bunu) | |
| puts "evet görebiliyorum!" | |
| else | |
| puts "nayır!" |
| #!/bin/sh -e | |
| # Recai Oktaş <[email protected]> | |
| # This file is in public domain. | |
| PROGRAM=${0##*/} | |
| BASEURI='labs.google.com' | |
| THESMALL="Small+Set" | |
| THELARGE="Large+Set" |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import MySQLdb, MySQLdb.cursors | |
| # bağlantı oluştur | |
| db = MySQLdb.connect( | |
| host="localhost", | |
| user="as_fbel_a", | |
| passwd="*", # bunlar gizli |
| # ports.conf'ta şu ayarı da unutmayalım: | |
| # | |
| # NameVirtualHost *:999 | |
| # Listen 999 | |
| <VirtualHost *:999> | |
| ServerAdmin webmaster@localhost | |
| DocumentRoot /srv/www/uzak.omu.edu.tr/webdav/ | |
| <Directory /> | |
| Options FollowSymLinks |
| index index.html index.htm index.php; | |
| root /srv/www/$host/site; | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $request_filename; | |
| include fastcgi_params; |