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 -*- | |
require 'rubygems' | |
require 'mechanize' | |
require 'openssl' | |
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE | |
id = '09012345678' | |
pass = '********' |
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
using System; | |
using System.Data; | |
using System.IO; | |
using System.Text; | |
/// <summary> | |
/// DataTableクラスにCSV出力機能を追加する拡張メソッド | |
/// </summary> | |
public static class ExtensionDataTableToCsv | |
{ |
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 -*- | |
require 'rubygems' | |
require 'mechanize' | |
require 'openssl' | |
# OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE | |
id = 'xxxxxxxx' | |
pass = 'xxxxxxxx' |
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
using System; | |
using System.Collections; | |
using System.Data; | |
using System.IO; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using CommonGscuht; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using Oracle.DataAccess.Client; |
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
using System; | |
using System.Text; | |
using CommonGscuht; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using TestHelper; | |
using System.Collections; | |
namespace TestHelperTest | |
{ | |
/// <summary> |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace CExperiments | |
{ | |
public class Program | |
{ | |
public static void Main () | |
{ |
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
def create_insert_into(model_class) | |
model_class.all.each do |record| | |
print "insert into #{model_class.table_name} values (" | |
model_class.columns.each_with_index do |col, idx| | |
print ", " unless idx == 0 | |
print "#{sql record.public_send(col.name)}" | |
end | |
puts ");" | |
end | |
end |
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
Show hidden characters
{ | |
"auto_find_in_selection": true, | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 13, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"rulers": | |
[ |
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
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+pagedown"], "command": "next_view_in_stack" }, | |
{ "keys": ["ctrl+pageup"], "command": "prev_view_in_stack" }, | |
{ "keys": ["super+shift+n"], "command": "advanced_new_file"}, | |
{ "keys": ["shift+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} } | |
] |
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
# USAGE | |
# - spec/rails_helper.rb | |
# RSpec.configure do |config| | |
# config.include FeatureSpecMacro, type: :feature | |
# end | |
module FeatureSpecMacro | |
RSpec.configure do |config| | |
config.before(:suite) do | |
unless ENV['CIRCLE_ARTIFACTS'] | |
if Dir.exist? File.join('tmp', 'screenshot') |
OlderNewer