Skip to content

Instantly share code, notes, and snippets.

View avtomat2023's full-sized avatar

あふたまーと avtomat2023

View GitHub Profile
@avtomat2023
avtomat2023 / ingress-google-map.el
Created October 30, 2015 14:07
View location of Ingress intel map in google map.
(require 's)
(defun ingress-location-to-google-map-location (loc)
(let ((match (s-match (concat "https://www.ingress.com/intel\\?"
"ll=\\([^,]+\\),\\([^,]+\\)&"
"z=\\([0-9]+\\)") loc)))
(and match
(let* ((lat (nth 1 match))
(lng (nth 2 match))
(zoom (nth 3 match)))
from matplotlib import pyplot as plt
line_mobile = (
# 最初の2ヶ月は利用料無料
[0] * 2 +
# 1628円/月
[m * 1628 for m in range(49-2)]
)
# 4ヶ月目の月末まで契約継続で8000LINEポイント付与(LINE Payで利用可能)
for i in range(4, len(line_mobile)):