nama | jabatan | usia |
---|---|---|
zaini | cto | 25 |
ati | user experience | 26 |
rahman | designer | 21 |
andre | bussiness strategies | 23 |
rey | ceo | 29 |
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 re, sys | |
import urllib2 | |
webtoonURL = 'http://comic.naver.com/webtoon/detail.nhn?titleId=' | |
subWebtoonURL = '&no=' | |
def saveHtml(content, filename) : | |
f = open(filename, 'w') | |
f.write(content) | |
f.close() |
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
/data/data/org.qpython.qpy/files/bin/qpython.sh "/storage/emulated/0/qpython/scripts/.last_tmp.py" && exit | |
d/0/qpython/scripts/.last_tmp.py" && exit < | |
10 | |
9 | |
8 | |
7 | |
6 | |
5 | |
4 |
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 re | |
lokasi = "/sdcard/python/regex tab/" | |
with open(lokasi+"/input.txt", "r") as file_input,\ | |
open(lokasi+"/output.txt", "w") as file_output: | |
file_input = file_input.read() | |
file_input = re.sub(r" ", r"\t", file_input) | |
file_output.write(file_input) |
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 re | |
lokasi = "/sdcard/python/regex table/" | |
enter = "\n" | |
with open(lokasi+"/input.txt", "r") as file_input,\ | |
open(lokasi+"/output.txt", "w") as file_output: | |
file_input = file_input.read() | |
file_input = re.sub(r"\t", r" | ", file_input) |
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 glob, re | |
lokasi = "/sdcard/python/kontak/" | |
folder = "input" | |
enter = "\n\n" | |
header = open(lokasi+"_component/header.txt").read() | |
footer = open(lokasi+"_component/footer.txt").read() | |
output = open(lokasi+"output.html", "w") |
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 re | |
lokasi = "/sdcard/python/tabel/" | |
data = open(lokasi+"data.txt").read().splitlines() | |
nama=[] | |
jabatan=[] | |
usia=[] | |
print data | |
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 | |
$ktp = $this->input->post('ktp'); | |
$nama = $this->input->post('nama'); | |
$gender = $this->input->post('gender'); | |
$alamat = $this->input->post('alamat'); | |
$foto_diri = ''; // mengapa yang ini yang tersimpan di database? | |
$username = $this->input->post('username'); | |
$password = $this->input->post('password'); | |
// main upload gambar |
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
while true | |
do | |
git status | |
git add -A . | |
git commit -m "oke" | |
git push | |
sleep 3m | |
done |
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
@echo off | |
title cloud | |
:app | |
git status | |
git add -A . | |
git commit -m "oke" | |
git push | |
timeout /t 180 /nobreak |
OlderNewer