Skip to content

Instantly share code, notes, and snippets.

View seyyah's full-sized avatar

seyyah seyyah

View GitHub Profile
#!/usr/bin/env python
"""\
pdfnot input.pdf output.pdf bos.pdf
input'un her sayfasinin ardina bos'u ekleyerek output'u elde et
"""
import sys
import os
from pyPdf import PdfFileWriter, PdfFileReader
#!/usr/bin/env python
"""\
pdfnot input.pdf output.pdf bos.pdf
input'un her sayfasinin ardina bos'u ekleyerek output'u elde et
"""
import sys
import os
from pyPdf import PdfFileWriter, PdfFileReader
#!/usr/bin/env python
"""\
pdfnot input.pdf output.pdf bos.pdf
input'un her sayfasinin ardina bos'u ekleyerek output'u elde et
"""
import sys
import os
from pyPdf import PdfFileWriter, PdfFileReader
syntax on
" paragraph reformating
imap <F6> <esc>{!}par<enter><insert>
map <F6> {!}par<enter>
" rest
" @h ardından "=","-", yaz
let @h = "yypVr"
syntax on
" paragraph reformating
imap <F6> <esc>{!}par<enter><insert>
map <F6> {!}par<enter>
" rest
" @h ardından "=","-", yaz
let @h = "yypVr"
syntax on
" paragraph reformating
imap <F6> <esc>{!}par<enter><insert>
map <F6> {!}par<enter>
" rest
" @h ardından "=","-", yaz
let @h = "yypVr"
syntax on
" paragraph reformating
imap <F6> <esc>{!}par<enter><insert>
map <F6> {!}par<enter>
" rest
" @h ardından "=","-", yaz
let @h = "yypVr"
syntax on
" paragraph reformating
imap <F6> <esc>{!}par<enter><insert>
map <F6> {!}par<enter>
" rest
" @h ardından "=","-", yaz
let @h = "yypVr"
if score >= 90:
print 'A'
elif score >= 80:
print 'B'
elif score >= 60:
print 'D'
else:
print 'F'
if n < 0:
<?php
// basic sequence with LDAP is connect, bind, search, interpret search
// result, close connection
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
echo "<h3>LDAP query test</h3>";
echo "Connecting ...";
$ds = ldap_connect("192.168.56.102", "389"); // must be a valid LDAP server!
echo "connect result is " . $ds . "<br />";