Skip to content

Instantly share code, notes, and snippets.

View RustyNail's full-sized avatar

RustyNail RustyNail

View GitHub Profile
# Selenium
* [Merged] https://github.com/SeleniumHQ/selenium/pull/7230 (2019/05/24)
** 不足しているテストの追加
* [Merged] https://github.com/SeleniumHQ/selenium/pull/7245 (2019/05/29)
** aggregate_failuresの追加(rb / spec / unit / selenium / webdriver / proxy_spec.rb)
* [Merged] https://github.com/SeleniumHQ/selenium/pull/7287 (2019/06/13)
** 不足しているテストの追加
* [Merged] https://github.com/SeleniumHQ/selenium/pull/7332 (2019/06/26)
** TravisCI(travis-ci.org => travis-ci.com)の変更に関するTravisバッジの変更対応
@RustyNail
RustyNail / Contribution_activities.md
Last active October 16, 2018 01:50
Contribution activities to OSS of RustyNail.
@RustyNail
RustyNail / malware_detection_hands-on.py
Created February 11, 2018 09:03
malware_detection_hands-on.py
####################################################
# [ 演習1 ] pefileを使ってファイルアクセスをしてみる
# pefile : PEファイルにアクセスするためのmodule
# `pip install pefile`
# exeファイルはPEヘッダに値を複数持っている
# DOS_HEADER/FILE_HEADER/OPTIONAL_HEADERを参照する
####################################################
import pefile
PATH = 'data/PE-samples/TestApp.exe'
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import tensorflow as tf # TensorFlowをインポート
from tensorflow.examples.tutorials.mnist import input_data # MNISTデータのロード
mnist = input_data.read_data_sets("MNIST_data/", one_hot = True)
train_image = tf.placeholder(tf.float32, [None, 784]) # 28x28pxの訓練画像を格納する変数
train_label = tf.placeholder(tf.float32, [None, 10]) # 正解データのラベルを格納する変数
@RustyNail
RustyNail / user-extentions.js
Created July 18, 2014 06:59
user-extentions.js
var gotoLabels= {};
var whileLabels = {};
// overload the oritinal Selenium reset function
Selenium.prototype.reset = function() {
// reset the labels
this.initialiseLabels();
// proceed with original reset code
this.defaultTimeout = Selenium.DEFAULT_TIMEOUT;
this.browserbot.selectWindow("null");