This file contains hidden or 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 ast | |
import builtins | |
def make_stmts(exps): | |
exps = [simplify(exp) for exp in exps] | |
if len(exps) == 1: | |
return exps[0] | |
else: | |
return ["stmts", *exps] |
This file contains hidden or 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 checkWeeklyReport() { | |
var rootFolder = DriveApp.getFolderById('xxx'); | |
Logger.log(rootFolder.getName()); | |
var sheet = SpreadsheetApp.getActive().getSheetByName('シート1'); | |
sheet.clear(); | |
var editor_dic = {}; | |
Logger.log("==="); | |
var i = 1; |
This file contains hidden or 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" : "tench, Tinca tinca", | |
"1" : "goldfish, Carassius auratus", | |
"2" : "great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias", | |
"3" : "tiger shark, Galeocerdo cuvieri", | |
"4" : "hammerhead, hammerhead shark", | |
"5" : "electric ray, crampfish, numbfish, torpedo", | |
"6" : "stingray", | |
"7" : "cock", | |
"8" : "hen", |
This file contains hidden or 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
"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" -o ~/path/to/merged.pdf ~/path/to/merge/*.pdf |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
# Convert .ipynb to .docx | |
## Dependency | |
* Jupyter notebook | |
* Pandoc |
This file contains hidden or 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
package main | |
/* | |
$ go run main.go | |
[3 9 2 4 1] | |
[1 2 3 4 9] | |
*/ | |
import ( | |
"fmt" |
This file contains hidden or 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
#!/usr/bin/env python | |
#!coding: utf-8 | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import sys | |
import os, os.path | |
import subprocess | |
import json |
This file contains hidden or 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
$ git clone [email protected]:akimach/note.git |
This file contains hidden or 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
Title: Linear regression of Boston Housing Dataset using R | |
Slug: linear-regression-with-r | |
Date: 2017-11-06 17:00 | |
Category: Notebook | |
Tags: R |
NewerOlder