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
// 第一種結果手機當掉 | |
public static void autoChangeColors(final ImageView bg, int time, final int[] colors) { | |
final int size = colors.length; | |
final long milltime = time * 1000; | |
Thread timer = new Thread(new Runnable() { | |
int count = 0; | |
@Override | |
public void run() { | |
while (true) { |
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
public static void autoChangeColors(final ImageView bg, int time, final int[] colors) { | |
final int size = colors.length; | |
final long milltime = time * 1000; | |
final Handler handler = new Handler() { | |
int count = 0; | |
@Override | |
public void handleMessage(Message msg) { | |
switch (msg.what) { |
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.math.BigInteger; | |
import java.util.Scanner; | |
public class C3 { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
Scanner input = new Scanner(System.in); | |
int n = input.nextInt(); | |
BigInteger[][] p = new BigInteger[n+1][n+1]; |
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<a href="Behavior.xml" download="Behavior.xml">下載行為檔案</a> | |
</body> | |
</html> |
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 csv | |
import argparse | |
# 使用 Python3 | |
# python3 add_image.py 檔案路徑 | |
URL_ROW_NAME = "聯絡人 學生資格資料" | |
parser = argparse.ArgumentParser(description="Input the csv file path.") | |
parser.add_argument('file_path', metavar="file path", type=str, nargs=1, help="the kktix csv local file path") |
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
from bs4 import BeautifulSoup | |
import requests | |
import pandas as pd | |
import csv | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
import time | |
import datetime |
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
const fs = require('fs') | |
const csv = require('fast-csv') | |
var addscore = fs.readFileSync("./addscore.csv").toString() | |
var students = fs.readFileSync("./student.csv").toString() | |
var arr = {} | |
var wa = [] | |
csv | |
.fromString(students, {headers: true}) |
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
// refer to https://github.com/kdchang/reactjs101/blob/master/Appendix04/README.md | |
const facebookCampaignType = new graphql.GraphQLObjectType({ | |
name: 'FacebookCampaign', | |
fields: { | |
id: { type: graphql.GraphQLString }, | |
name: { type: graphql.GraphQLString }, | |
status: { type: graphql.GraphQLString }, | |
// other fields | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Bridgewell</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<script> |
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
<template> | |
<table> | |
<thead> | |
<tr v-for="(title, index) in titles"> | |
<th key="index">{{ title }}</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr v-for="(item, index) in items"> | |
<td key="index">{{ item }}</td> |
OlderNewer