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
| <noscript> | |
| <meta http-equiv="refresh" content="0; url=http://www.example.com/tolong_enable_javascript.html" /> | |
| </noscript> |
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
| # Configuration for MC TileCache | |
| # TileCache can load Layers or Caches from anywhere in sys.path. If you | |
| # prefer to load from somewhere which is *not* on sys.path, you can use | |
| # the path configuration paramter to set a comma-seperated list of | |
| # filesystem paths which you want prepended to sys.path. | |
| #[tilecache_options] | |
| #path=/home/you | |
| # Some TileCache options are controlled by metadata. One example is the |
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
| import time | |
| import struct | |
| import socket | |
| import hashlib | |
| import sys | |
| from select import select | |
| import re | |
| import logging | |
| from threading import Thread | |
| import signal |
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
| var getDataSync = function(url){ | |
| var result; | |
| $.ajax({ | |
| async:false, | |
| url:url, | |
| type:'GET', | |
| dataType:'json', | |
| success:function(data){ | |
| result=data; | |
| } |
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
| var tmp_html = ''; | |
| tmp_html = '<tr>' + '<td>'+k_nama.val()+'<input type="hidden" name="k_nama[]" value="'+ | |
| k_nama.val()+'"/></td>' + '<td>'+k_tgllhr.val() + | |
| '<input type="hidden" name="k_tgllhr[]" value="'+k_tgllhr.val()+ | |
| '"/></td>' + '<td>'+k_gender.children().filter(':selected').html() + | |
| '<input type="hidden" name="k_gender[]" value="'+k_gender.val()+'"/></td>' + | |
| '<td>'+k_hubungan.children().filter(':selected').html()+ | |
| '<input type="hidden" name="k_hubungan[]" value="'+k_hubungan.val()+'"/></td>' | |
| if (k_status.val()==''){ |
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
| #!/usr/bin/env python | |
| # parse_toc.py | |
| from pdfminer.pdfparser import PDFParser, PDFDocument | |
| def parse(filename, maxlevel): | |
| fp = open(filename, 'rb') | |
| parser = PDFParser(fp) | |
| doc = PDFDocument() | |
| parser.set_document(doc) |
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
| set ignorecase | |
| set modelines=0 | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set softtabstop=4 | |
| set expandtab | |
| set encoding=utf-8 | |
| set scrolloff=3 | |
| set showmode | |
| set showcmd |
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
| import itertools | |
| import string | |
| def create_circular_alfabet(count=26): | |
| multiplier = count / 26 + 1 | |
| result = string.lowercase * multiplier | |
| return result[:count] | |
| source = create_circular_alfabet(100) |
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
| #!/usr/bin/env python | |
| from pylab import linspace, polar, pi, title, show | |
| data = open("/home/diean/haha/cobacoba.txt","r").readlines() | |
| data = filter(lambda x: x.strip() != '', data) | |
| data = map(lambda x: float(x), data) | |
| theta = linspace(0, pi * 2, num=len(data)) | |
| polar(theta, data) |
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
| #!/usr/bin/env python | |
| from pylab import * | |
| from numpy import * | |
| banyakAngka = 0 | |
| baris = "null" | |
| angka = [] | |
| normal = [] | |
| data = open("/home/diean/haha/baru.txt", "r").readlines() |