Capability/Tool | terraform Cloud | terraform Enterprise | Scalr | Env0 | Spacelift |
---|---|---|---|---|---|
Compliance | ISO 27001, SOC 2 | ISO 27001, SOC 2 | SOC 2 | SOC 2 | ISO 27001, SOC 2 |
GitLab Integration | ✅ | ✅ | ✅ | ✅ | ✅ |
Hosting | SaaS | SaaS, On-Prem | SaaS, On-Prem | SaaS | SaaS |
Policy as Code | Sentinel |
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
public class EmailToCaseParser { | |
public static String parseEmails(String emailHeaders) { | |
Pattern p = Pattern.compile('Reply-To: \\s*([A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,})'); | |
Matcher pm = p.matcher(emailHeaders); | |
string res = ''; | |
if (pm.find()) { | |
res = pm.group(0).replaceAll('Reply-To: ',''); | |
} | |
return res; | |
} |
find / -name ".git"
cd /
cd mnt
mkdir hdd
sudo fdisk -l
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 duplicate_count(text) | |
('a'..'z').count { |c| text.downcase.count(c) > 1 } | |
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
def play_pass(str, n) | |
str | |
.downcase | |
.tr('a-z', ('a'..'z').to_a.rotate(n).join) | |
.tr('0-9', '9876543210') | |
.gsub(/(..|.$)/, &:capitalize) | |
.reverse | |
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
TargetUserStat.all.update_all(gender: nil, age: nil, pcs: nil, city_size: nil, salary: nil, segment_association: nil) |
NewerOlder