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
import java.lang.StringBuilder; | |
import java.util.Scanner; | |
public class ToRoman { | |
public static String toRomawi(int decimalNum) | |
{ | |
if ( decimalNum < 0 || decimalNum > 3999 ) { |
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
set nocompatible | |
filetype off " required by Vundle | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
" begin vundle { | |
let path='F:\PLAYGROUND\APPS\Vim\vimfiles\bundle' | |
call vundle#begin(path) | |
" let Vundle manage Vundle, required |
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 | |
/* | |
* decoder for some lame obfuscated php shell. | |
* | |
* you mad bro? | |
* | |
*/ | |
$satu = "bVNhb9owEP2OxH+4phI4NINAN00aYxJaW6maxqbSLxNDKDiXxiLYkW3KGOp/3zlOpo7xIY793jvf | |
+fl8KSQvdinCR2NTofr5p3br8hWmhXw6BQ9mYA8lmjO4UXyD9oSQaAV9AyFPCNRa+pRCWtgmQrJE | |
P/GIhufQg249brd4nmjo9RxBqyNAuwWOdvmyNAKJ+ywlBirhepctruOlW9MJdtzrkjTVKyFB41ZZ |
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
#!/usr/bin/env python | |
""" | |
Regex for URIs | |
These regex are directly derived from the collected ABNF in RFC3986 | |
(except for DIGIT, ALPHA and HEXDIG, defined by RFC2234). | |
They should be processed with re.VERBOSE. | |
""" |
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
""" | |
Celery base task aimed at longish-running jobs that return a result. | |
``AwesomeResultTask`` adds thundering herd avoidance, result caching, progress | |
reporting, error fallback and JSON encoding of results. | |
""" | |
from __future__ import division | |
import logging | |
import simplejson |
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
#!/usr/bin/env bash | |
# widnyana - Noisegate Labs. | |
echo "Creating workspace layout for base Golang Project..." | |
# === | |
read -p ">>> Enter new Foldername to store your project: " dirname | |
read -p ">>> Enter the url package will reside: " pkgurl | |
# =========================================== | |
echo ">>> Creating dir..." |
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
#!/usr/bin/env python | |
# -*- Coding: utf-8 -*- | |
from json import dumps | |
from urllib import urlencode, unquote | |
from urlparse import urlparse, parse_qsl, ParseResult | |
from requests_oauthlib import OAuth1Session | |
base_url = "put base url here" |
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
__author__ = "Rob Knight, Gavin Huttley, and Peter Maxwell" | |
__copyright__ = "Copyright 2007, The Cogent Project" | |
__credits__ = ["Rob Knight", "Peter Maxwell", "Gavin Huttley", | |
"Matthew Wakefield"] | |
__license__ = "GPL" | |
__version__ = "1.0.1" | |
__maintainer__ = "Rob Knight" | |
__email__ = "[email protected]" | |
__status__ = "Production" |
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
[{"code": "KDR10000", "name": "KEDIRI"}, {"code": "KOE10000", "name": "KUPANG"}, {"code": "AMI10000", "name": "MATARAM"}, {"code": "AMQ10000", "name": "AMBON"}, {"code": "BDJ10000", "name": "BANJARMASIN"}, {"code": "BDO10000", "name": "BANDUNG"}, {"code": "BKI10000", "name": "BEKASI"}, {"code": "BKS10000", "name": "BENGKULU"}, {"code": "BOO10000", "name": "BOGOR"}, {"code": "BPN10000", "name": "BALIKPAPAN"}, {"code": "BTG10000", "name": "BONTANG"}, {"code": "BTJ10000", "name": "BANDAACEH"}, {"code": "MJK10000", "name": "MOJOKERTO"}, {"code": "MXG10000", "name": "MALANG"}, {"code": "SUB10000", "name": "SURABAYA"}, {"code": "TGR10000", "name": "TANGERANG"}, {"code": "PBL10000", "name": "PROBOLINGGO"}, {"code": "PDG10000", "name": "PADANG"}, {"code": "PDN10000", "name": "PANDAAN"}, {"code": "TNJ10000", "name": "TANJUNGPINANG"}, {"code": "TRK10000", "name": "TARAKAN"}, {"code": "TTE10000", "name": "TERNATE"}, {"code": "UPG10000", "name": "MAKASAR"}, {"code": "SMI10000", "name": "SUKABUMI"}, {"code": "SOC10000", " |
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
''' | |
Copyright (C) 2015 Ansvia, Pt. | |
#Code challenge goal: | |
Ekstrak nama-nama user yang diawali dengan karakter `@` seperti pada text berikut : | |
``` | |
hi @budi kamu tahu dimana si @agus? Tadi dia di sini sama @marta.cantik | |
``` |
OlderNewer