View PTEstudy.js
var form = { | |
IDRadio: { selector: '[name=component1_SELECT_ONE_RADIOBUTTON_3422', value: 'Checked'}, | |
languageSelect: { selector: '#component1_SELECT_ONE_LISTBOX_2945', value: 'YUE'}, | |
policyCheck: { selector: '#component1_SELECT_ONE_CHECKBOX_2970', value: 'Checked'}, | |
shareCheck: { selector: '#component1_SELECT_ONE_CHECKBOX_3395', value: 'Checked'}, | |
termCheck: { selector: '#component1_SELECT_ONE_CHECKBOX_3016', value: 'Checked'}, | |
scoreSendCheck: { selector: '[name=component1_SELECT_MANY_CHECKBOX_5145]', value: 'Checked'}, |
View build.gradle
// a task to display all dependencies when run this build script | |
import groovy.json.JsonOutput | |
task printDependencies { | |
doLast { | |
println "print dependencies:" | |
buildscript.configurations.getByName("classpath").allDependencies.each { | |
println it.name | |
} | |
println "print dependecies files:" |
View app.css
body { | |
font-family: "Open Sans", Helvetica, Arial, sans-serif; | |
margin-bottom: 30px; | |
} | |
.list { | |
display: block; | |
margin: 20px 0px; | |
overflow: hidden; | |
} |
View j2redump.cpp
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int main(int argc, char * argv[]) { | |
if (argc != 2 && argc != 3) { | |
printf("usage: j2redump [-r] iso\n"); | |
return -1; | |
} | |
View crc.py
#!/usr/bin/env python | |
import sys | |
from struct import unpack | |
# unpack way | |
def getCRC(filename): | |
with open(filename, "rb") as f: | |
crc = 0 | |
data =f.read(4) | |
while data != b"": |
View update_logMouse.js
load("script/utils.js"); | |
load("script/ScriptData.js"); | |
data_prefix = "logMouse_"; | |
ApplicationMain = Java.type("logbook.gui.ApplicationMain"); | |
function gcdFun(a, b) { | |
if ( ! b) { | |
return a; |
View acdan.py
#!/opt/local/bin/python3.5 | |
# Biligrab-Danmaku2ASS | |
# | |
# Author: Beining@ACICFG https://github.com/cnbeining | |
# Author: StarBrilliant https://github.com/m13253 | |
# | |
# Biligrab is licensed under MIT licence | |
# Permission has been granted for the use of Danmaku2ASS in Biligrab | |
# |
View documentTextLength.js
alert(document.body.textContent.length); |
View fontconfig.properties
# %W% %E% | |
# | |
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. | |
# | |
# Version | |
version=1 | |
# Component Font Mappings |
View Steins;Gate 線形拘束のフェのグラム
+--[■]---->+----[■]----+ | |
| | | | |
+---[■]--->+ | | | |
| | | | | |
[■]--->+ +--[■]---->+----[■]----+-->[■]-->--[■] | |
| | | | | |
+---[■]--->+ | | | |
| | | | |
+--[■]---->+----[■]----+ |