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 "package:intl/intl.dart"; | |
void main() { | |
final formatterID = NumberFormat.currency( | |
locale: "id-ID", // Rp1.234.567,89 Indonesian | |
symbol: "Rp", | |
decimalDigits: 1, | |
name: "IDR", | |
); | |
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 json | |
import os | |
import UnityPy | |
import requests | |
def parse_track(filename): | |
env = UnityPy.load(filename) |
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 mimetypes | |
import os.path | |
import urllib.parse | |
import flask | |
import requests | |
import re | |
from flask import Flask, request, Response | |
app = Flask(__name__) |
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 | |
$lang['mission_order'] = '{target} {limit} {period}'; | |
$lang['mission_secret_release'] = '{target} {limit}'; | |
$lang['names'] = [ | |
"Unit" => ["", "Printemps", "BiBi", "lily white", "CYaRon!", "AZALEA", "Guilty Kiss"], | |
"Group" => ["", "μ’s", "Aqours", "A-RISE", "Saint Snow"], | |
"Personal" => ["", | |
101=>"Honoka", 102=>"Kotori", 103=>"Umi", |
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
// | |
// Do any local configuration here | |
// | |
// Consider adding the 1918 zones here, if they are not used in your | |
// organization | |
//include "/etc/bind/zones.rfc1918"; | |
zone "prod.game1.ll.sdo.com." { |
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
function getidx(base, idx) {return $(base).children('td').eq(idx).text();} | |
function cmp(a, b, desc) {return desc?a<b:a>b;} | |
$.fn.sorter = function() { | |
$(this).each(function() { | |
var tbl = this; | |
$($(this).find("thead").find("th")).click(function(){ | |
var idx = $(this).index(), order = 0; | |
$(tbl).find("thead").find("th").each(function() {if (idx != $(this).index()) $(this).removeClass("sort-desc").removeClass("sort-asc");}); | |
if ($(this).hasClass("sort-desc")) {order = 1; $(this).removeClass("sort-desc").addClass("sort-asc");} | |
else $(this).removeClass("sort-asc").addClass("sort-desc"); |
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
SELECT unit_number, eponym, unit_m.name, unit_leader_skill_m.description, | |
member_tag_m.name as 'member', | |
unit_attribute_m.name as 'attribute', | |
unit_leader_skill_extra_m.effect_value as 'value' | |
FROM unit_m | |
LEFT JOIN unit_leader_skill_m ON unit_leader_skill_m.unit_leader_skill_id = unit_m.default_leader_skill_id | |
LEFT JOIN unit_leader_skill_extra_m ON unit_leader_skill_extra_m.unit_leader_skill_id = unit_m.default_leader_skill_id | |
LEFT JOIN member_tag_m ON unit_leader_skill_extra_m.member_tag_id = member_tag_m.member_tag_id | |
LEFT JOIN unit_attribute_m ON unit_leader_skill_extra_m.leader_skill_effect_type = unit_attribute_m.attribute_id | |
WHERE unit_m.rarity > 3 |
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
function compare(t) { | |
var btn = $(t).attr("id"); | |
var cmp = $(t).attr("id").replace("btn", "cmp"); | |
var std = $(t).attr("id").replace("btn", "std"); | |
var out = $(t).attr("id").replace("btn", "out"); | |
var diff = JsDiff.diffLines($('#'+out).text(), $('#'+std).text()); | |
var display = document.getElementById(cmp); | |
display.innerHTML = ''; | |
diff.forEach(function(part) { | |
var color = part.added ? 'green' : part.removed ? 'red' : 'grey'; |
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
= 路虎 | |
+ 自行车 | |
/ 电瓶车 | |
0 玩具车 | |
1 兰博基尼 | |
2 玛莎拉蒂 | |
3 比亚迪 | |
4 长城 | |
5 红旗 | |
6 三菱 |