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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Bootstrap CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous"> |
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
thailand_postcodes = [ | |
u'พระบรมมหาราชวัง พระนคร กรุงเทพมหานคร 10200', | |
u'วังบูรพาภิรมย์ พระนคร กรุงเทพมหานคร 10200', | |
u'วัดราชบพิธ พระนคร กรุงเทพมหานคร 10200', | |
u'สำราญราษฎร์ พระนคร กรุงเทพมหานคร 10200', | |
u'ศาลเจ้าพ่อเสือ พระนคร กรุงเทพมหานคร 10200', | |
u'เสาชิงช้า พระนคร กรุงเทพมหานคร 10200', | |
u'บวรนิเวศ พระนคร กรุงเทพมหานคร 10200', | |
u'ตลาดยอด พระนคร กรุงเทพมหานคร 10200', | |
u'ชนะสงคราม พระนคร กรุงเทพมหานคร 10200', |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>100 Taejai</title> | |
<style type="text/css"> | |
.hidden { | |
display: none; | |
} |
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
package main | |
import ( | |
"fmt" | |
"time" | |
"sync/atomic" | |
) | |
var start time.Time |
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
<?php | |
function relative_to_absolute ($text) { | |
$lang = language_default(); | |
global $base_path; | |
$text = preg_replace( | |
'/(src|href)=(\'|")' . preg_quote($base_path, '/') . '/', | |
'$1=$2'. url('<front>', array('absolute' => TRUE, 'language' => $lang)), |
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
<style> | |
.wrapper { | |
height: 100%; | |
position: relative; | |
} | |
.sidebar { | |
width: 100px; | |
float: left; | |
height: 100%; | |
position: absolute; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>SUbmit form</title> | |
</head> | |
<body> | |
<script type="text/javascript">var popup_submitted=false;</script> | |
<iframe name="hidden_iframe" id="hidden_iframe" style="display: none;" | |
onload="if(popup_submitted) {window.location=window.location;}"></iframe> |
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
{% spaceless %} | |
{% load common_tags %} | |
{% load comment_tags %} | |
{% load i18n %} | |
<{% if tag %}{{ tag }}{% else %}li{% endif %} class="notification-item service-{{ notification.service|to_ }}{% if notification.status == notification.STATUS_NEW or notification.status == notification.STATUS_NEW2 %} notification-new{% endif %} clearfix"> | |
{% if notification.service == 'Relationship' %} | |
{{ notification.src_user|fullnamelink }} {% trans 'followed you' %} {% if display_time %}<span class="noti-time">{{ notification.created|date:'f a' }}</span>{% endif %}<span></span> |
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
{% load common_tags %} | |
{% load i18n %} | |
<li class="notification-item service-{{ notification.service|to_ }}{% if notification.status == notification.STATUS_NEW %} notification-new{% endif %} clearfix"> | |
{% if notification.service == 'Relationship' %} | |
{{ notification.src_user|fullnamelink }} {% trans 'followed you' %} <span class="noti-time">{{ notification.created|date:'f a' }}</span> | |
{% elif notification.service == 'Goal' %} |
NewerOlder