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 ruby | |
if ARGV.include?("-h") || ARGV.include?("--help") | |
puts "USAGE: check.rb [HOSTNAME] [TLS_VERSION] [VERIFY]" | |
puts " default: check.rb rubygems.org auto VERIFY_PEER" | |
puts " example: check.rb github.com TLSv1_2 VERIFY_NONE" | |
exit 0 | |
end | |
host = ARGV.shift || "rubygems.org" |
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
let newFrame = CGRect(x:self.frame.origin.x, y: self.frame.origin.y, width:self.frame.size.width, height:((self.frame.size.height*2) + heightDiff)); | |
let scale:CABasicAnimation = CABasicAnimation.init(keyPath:"path"); | |
print("newFrame: \(newFrame)"); | |
scale.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut); | |
scale.fromValue = self.frame; | |
scale.toValue = newFrame; | |
scale.duration = 1.0; | |
scale.isRemovedOnCompletion = false; | |
scale.fillMode = kCAFillModeForwards; | |
scale.delegate = self; |
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
var bugSummaryApp = angular.module('bugSummaryApp', []); | |
bugSummaryApp.factory('bugFactory', function($http) { | |
var webserviceURL = "/invokeWebService?webserviceHost=http://trceit-dev-env.elasticbeanstalk.com:8080&webservicePathURL=/getData"; | |
var filteredResponse = []; | |
var bugFactory = { | |
async: function() { | |
var promise = $http.get(webserviceURL).then(function (response) { | |
angular.forEach(response.data, function(bug) |
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
<div class="col-md-6 detailscroll" id="bugtable"> | |
<table class="table list-group-item"> | |
<thead> | |
<tr> | |
<th>#### <br> Bug Summary {{data.bug}}- documented</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<th> |
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
var bugSummaryApp = angular.module('bugSummaryApp', []); | |
bugSummaryApp.factory('bugFactory', function($http) { | |
var webserviceURL = "/invokeWebService?webserviceHost=http://trceit-dev-env.elasticbeanstalk.com:8080&webservicePathURL=/getData"; | |
var bugFactory = { | |
async: function() { | |
var promise = $http.get(webserviceURL).then(function (response) { | |
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
<script> | |
var bugSummaryApp = angular.module('bugSummaryApp', []); | |
var bugslist = null; | |
var bugdetails = null; | |
bugSummaryApp.factory("BugService", ['$http', function(http) { | |
var webserviceURL = "/invokeWebService?webserviceHost=http://trceit-dev-env.elasticbeanstalk.com:8080&webservicePathURL=/getData"; | |
http.get(webserviceURL).success(function(data) { |
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
$("#cheque_delete").hover -> | |
window.alert "calls method" |
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
class ApplicationController < ActionController::Base | |
# Prevent CSRF attacks by raising an exception. | |
# For APIs, you may want to use :null_session instead. | |
protect_from_forgery with: :exception | |
helper_method :current_user | |
before_action :require_login | |
private | |
def require_login |
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
class FillablePdfForm | |
attr_writer :template_path | |
attr_reader :attributes | |
def initialize | |
fill_out | |
end | |
def export(output_file_path=nil, tenantname) |
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
<%= submit_tag "Save Changes", :id => "special_message",:class => "btn btn-success navbar-btn", data: { confirm: "" } %> |
NewerOlder