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
require './lexer' | |
$nodeno = 0 | |
def checktoken(f, expected) | |
if $token == expected | |
$token = $lexer.lex(){|l| | |
$lexime=l | |
} | |
else |
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
class Parser | |
@lexime = ""; | |
def initialize(l) | |
@lexer = l | |
end | |
def parse | |
@lexer.lex{|t, l| | |
@lexime = l |
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 | |
f1 = open("Q_DB_TEST.csv", "r") | |
f2 = open("write_test.csv","w") | |
reader = csv.reader(f1) | |
writer = csv.writer(f2, lineterminator='\n') | |
for row in reader: | |
writer.writerow(row) |
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
# -*- coding: utf-8 -*- | |
import numpy as np | |
import scipy as sc | |
from scipy import linalg | |
from scipy import spatial | |
import scipy.spatial.distance | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import pylab | |
import matplotlib.font_manager |
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
守る技術 | |
モバイル端末の様々なセキュリティ機構がどのような仕組みなのか知ってほしい | |
日本の端末独自の取り組み | |
今後のモバイルセキュリティの向上のための提案をできたらいいね | |
攻める技術 | |
jailbreakやアプリの脆弱性がどのようなものか知ってほしい | |
ブラックボックスとなっている危機のセキュリティ機構をry | |
Jailbreakとは |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"/> | |
<meta name=”viewport” content=”initial-scale=1.0, user-scalable=yes” /> | |
<meta name="robots" content="noindex,nofollow,noarchive" /> | |
<title>Sample</title> | |
<link rel="stylesheet" type="text/css" href="honoka/css/bootstrap.css"> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> |
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
$(document).ready(function startFunc(){ | |
getLocation(); | |
}) | |
function getLocation(){ | |
var message = "get your potition"; | |
document.getElementById("area_name").innerHTML = message; | |
if(navigator.geolocation) { | |
navigator.geolocation.getCurrentPosition(successCallback,errorCallback); | |
} else { |