{{ message }}

Instantly share code, notes, and snippets.

# Saburo Higuchihig3

Last active Sep 13, 2017
test.php
View test.php

Last active May 7, 2019
Maple T.A. algorithm variables for polynomial division excercise
View polynomialdivision.mapleta
 \$a1=range(-3,3); \$b1=range(-3,3); \$b2=range(-3,3); : no japanese comments : avoid \$b2 being zero. ne=not equal condition:ne(\$b2,0); \$p1=maple("x^2+(\$a1)*x+(\$b1)"); \$p2=maple("x+(\$b2)"); \$ans1=maple("expand((\$p1)*(\$p2),x)"); \$ans2=maple("quo((\$p1),(\$p2),x)");
Created Aug 2, 2017
Python script to make directory structure of feedback files from the offline grading worksheet in Moodle Assignments
View mkdirfb.py
 #!/opt/local/bin/python # mkdirfb.py # make directories to be zipped for feedback files # from offline grading worksheet # of Assignment activity in Moodle # Usage: cat offlinegradingworksheet.csv | python mkdirfb.py # Saburo Higuchi # Time-stamp "2017-08-02 Wed 16:47 JST hig"
Created Sep 14, 2016

View distpdf.py
 # distpdf.py inname outname period start end docopy # 0 =< start, end < periodb # Example: distpdf.py in out 3 1 2 0 import sys import os import shutil import re markdir="./"
Last active Sep 15, 2016

View distpdf.bat
 @setlocal enabledelayedexpansion rem 1人当たりのページ数 set delta=5 rem 1人目の開始ページ番号(1ページから数える) set s=1 rem 1人目の終了ページ番号(1ページから数える) set e=4 rem 全員分まとめたPDFファイルのファイル名 set source=report_all.pdf rem 配布するPDFファイルのファイル名(全員共通)
Created May 20, 2016

View feedback.xml

Last active May 20, 2016

View course_200867_survey_249766.mht
 From: Subject: =?UTF-8?Q?=E5=AD=A6=E7=94=9F=E3=81=AB=E3=82=88=E3=82=8B=E5=AD=A6=E6=9C=9F=E5=8D=8A=E3=81=B0=E3=81=AE=E6=8E=88=E6=A5=AD=E3=82=A2=E3=83=B3=E3=82=B1=E3=83=BC=E3=83=88A?= Date: Fri, 20 May 2016 03:51:46 GMT MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0000_C9DD2AC65.4B6EB3798"; type="text/html" This is a multi-part message in MIME format.
Last active May 20, 2016

View course_200867_survey_249771.mht
 From: Subject: =?UTF-8?Q?=E5=AD=A6=E7=94=9F=E3=81=AB=E3=82=88=E3=82=8B=E5=AD=A6=E6=9C=9F=E5=8D=8A=E3=81=B0=E3=81=AE=E6=8E=88=E6=A5=AD=E3=82=A2=E3=83=B3=E3=82=B1=E3=83=BC=E3=83=88B?= Date: Fri, 20 May 2016 03:53:18 GMT MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0000_DD2AC654B.6EB37980D"; type="text/html" This is a multi-part message in MIME format.
Created Apr 19, 2015

View course_999999_survey_999999.mht
 From: Subject: =?UTF-8?Q?=E5=AD=A6=E7=94=9F=E3=81=AB=E3=82=88=E3=82=8B=E5=AD=A6=E6=9C=9F=E5=88=9D=E3=82=81=E3=81=AE=E6=8E=88=E6=A5=AD=E3=82=A2=E3=83=B3=E3=82=B1=E3=83=BC=E3=83=88?= Date: Sun, 19 Apr 2015 09:02:01 GMT MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0000_ED52E1D22.A004CDA26"; type="text/html" This is a multi-part message in MIME format.
Last active Aug 26, 2019
An Exampel of use of Moodle Web Service function mod_assign_save_grades