Skip to content

Instantly share code, notes, and snippets.

View Vasu1105's full-sized avatar

Vasundhara Jagdale Vasu1105

View GitHub Profile
1) https://www.appveyor.com/docs/build-configuration/
2) sign into appveyor using your github account it list all the project that are linked with your github account
3) Just select the project on which you want to hook the appveyor
4) add appveyor configurations related to your project in appveyor.yml into your project merge it in the branch and that's all
In github go to your project there is settings tab click on it it has webhooks there you can see the appveyor webhook if configured
when you click on webhook you can do many more settings releated to appveyor there. so go and do it ... it works really nice ...
@Vasu1105
Vasu1105 / http_url_issue_with_specs.diff
Created December 10, 2015 15:12
Gist of code changes & specs for the http url issue
diff --git a/lib/azure/rest.rb b/lib/azure/rest.rb
index 2135475..2b91068 100755
--- a/lib/azure/rest.rb
+++ b/lib/azure/rest.rb
@@ -36,8 +36,7 @@ module AzureAPI
services = true)
svc_str = services ? '/services' : ''
uri = URI.parse("#{@host_name}/#{@subscription_id}#{svc_str}/#{service_name}")
- scheme = !uri.scheme ? "https://" : ""
- request_url = "#{scheme}#{@host_name}/#{@subscription_id}#{svc_str}/#{service_name}"
@Vasu1105
Vasu1105 / knife_google_bootstrap_issue_fix.patch
Created April 9, 2015 13:11
Knife google bootstrap issue with --gce-public-ip set to 'none'
diff --git a/lib/chef/knife/google_server_create.rb b/lib/chef/knife/google_server_create.rb
index 2c8d2a2..c7f8309 100644
--- a/lib/chef/knife/google_server_create.rb
+++ b/lib/chef/knife/google_server_create.rb
@@ -563,7 +563,7 @@ class Chef
network_interface.merge!('accessConfigs' =>[{"name"=>"External NAT",
"type"=>"ONE_TO_ONE_NAT", "natIP"=>config[:public_ip] }])
elsif config[:public_ip] == 'NONE'
- # do nothing
+ config[:instance_connect_ip] = 'PRIVATE'
@Vasu1105
Vasu1105 / log_level_changes.patch
Created April 8, 2015 11:21
adding log level to info in client.rb for linux systems
diff --git a/lib/chef/azure/core/bootstrap_context.rb b/lib/chef/azure/core/bootstrap_context.rb
index b111111..f70d283 100644
--- a/lib/chef/azure/core/bootstrap_context.rb
+++ b/lib/chef/azure/core/bootstrap_context.rb
@@ -24,8 +24,9 @@ class Chef
def config_content
client_rb = ""
-
+