| name | math-worksheet-refresh-latex |
|---|---|
| description | PDFのワークシートを、難易度を保ったまま少し新しい類題に差し替え、LaTeXで数式を正しく組版した新しいPDFとして作り直す skill。平方根、分数、指数、不等式など、手描きではなく数式組版の品質が重要な教材に使う。 |
ユーザーがワークシートPDFを渡し、「似た難易度で新しい問題にしたい」と求めたときに使う。最終成果物は、数式を手描きで近似するのではなく、LaTeXで正しく組版したPDFを優先する。
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "net/http" | |
| "os" | |
| ) |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/PuerkitoBio/goquery" | |
| "net/url" | |
| "os" | |
| "regexp" | |
| "strconv" | |
| "strings" |
| <html> | |
| <head> | |
| <script src="keyserializer.js"></script> | |
| <script type="text/javascript"> | |
| console.log( keyserializer.serialize({ | |
| security : keyserializer.SECURITY_WPA_WPA2, | |
| ssid : "IRKitTester", | |
| password : "irkitone", | |
| devicekey : "0123456789ABCDEF0123456789ABCDEF" | |
| }) ); |
| Backend publishes 2 APIs | |
| 1. Fetch Near-to-Infected list | |
| Near-to-Infected list entry consists of: | |
| - userIDs that have been near to an infected person | |
| - Time when the userID was near an infected person | |
| This can be a static text file that gets updated when E-2 happens. | |
| 2. Append Near-to-Infected list | |
| This is going to be called when a person was diagnosed as positive. | |
| See E. |
| // | |
| // File.swift | |
| // AudioSwitcher | |
| // | |
| // Created by Masakazu Ohtsuka on 2017/09/22. | |
| // Copyright © 2017 maaash.jp. All rights reserved. | |
| // | |
| import Foundation | |
| import Cocoa |
I hereby claim:
To claim this, I am signing this object:
| FROM golang:1.7 | |
| # golang + ruby:2.3 | |
| # from https://github.com/docker-library/buildpack-deps/blob/master/jessie/Dockerfile | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| autoconf \ | |
| automake \ | |
| bzip2 \ |
| /* | |
| * Based on http://amzn.to/1LzFrj6 | |
| */ | |
| var applicationId = ""; | |
| var clientkey = ""; | |
| var deviceid = ""; | |
| var ir = { | |
| on: {"format":"raw","freq":38,"data":[6648,3228,873,2368,873,873,968,968,873,968,873,968,968,968,968,968,873,968,968,968,873,968,873,968,968,968,968,2451,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,873,2451,873,873,873,2451,873,2451,873,2451,873,2451,873,2451,873,2451,873,873,873,2451,968,2368,968,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,2368,873,873,873,968,873,968,873,968,968,968,968,968,873,968,873,968,873,873,968,968,968,2451,873,2451,873,968,873,968,968,2368,904,2368,904,2368,904,2368,904,904,904,904,904,2368,904,2368,904,904,904,904,904,904,904,2368,904,904,904,904,904,2368,904,904,904,904,904,2368,904,2368,904,904,904,2368,904,2368,904,904,904,2368,904,2368,904,904,904,2368,904,2368,904,904,904,904,904,2368,904,904,904,904,904,904,904,904,904,904,904,2368,904,2368,904,904,904,2368,9 |
Create a new bookmark somewhere handy in your browser with the following URL:
javascript:var el=document.createElement('style');el.media='print';el.innerHTML='#header,.pagehead.repohead,.gist-description.container,.file-box .meta,#comments,.js-comment-form,.gist-header,.file-header,.gisthead,#footer{display:none;}.file-box{border:0!important;}';document.getElementsByTagName('head')[0].appendChild(el);alert('Now, cmd+p to print');