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
# __ .__ | |
# _______/ |_ ___.__.| | ____ | |
# / ___/\ __< | || | _/ __ \ | |
# \___ \ | | \___ || |_\ ___/ | |
# /____ > |__| / ____||____/\___ > | |
# \/ \/ \/ | |
autoload -U colors && colors | |
PS1="%{$fg[magenta]%}┌──%{$fg[red]%}%t - %n 💀 %d$reset_color"$'\n'"%{$fg[magenta]%}└─# %{$reset_color%}" |
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
deb http://deb.debian.org/debian buster-backports main contrib non-free |
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
ffmpeg -i "https://stream-us1-bravo.dropcam.com/nexus_aac/[CODE]" -f segment -segment_time 300 -strftime 1 %Y-%m-%d_%H-%M-%S-Garage.mp4 |
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
System.out.println(xstream.getClass().getPackage().getImplementationVersion()); | |
XStream.setupDefaultSecurity(xstream); | |
xstream.allowTypes(new Class[]{Contact.class}); |
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
JWTVerifier verifier = new JWTVerifier(JWT_PASSWORD); | |
verifier.verify(accessToken); |
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
<?xml version="1.0" standalone="yes" ?> | |
<!DOCTYPE author [ | |
<!ELEMENT author (#PCDATA)> | |
<!ELEMENT foo ANY > | |
<!ENTITY js "Testing 123"> | |
<!ENTITY test "something"> | |
]> | |
<foo> | |
<author>&test;</author> | |
<foo>&js;</foo> |
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
PreparedStatement statement = connection.prepareStatement("SELECT * FROM user_data WHERE last_name = ?", | |
ResultSet.TYPE_SCROLL_INSENSITIVE, | |
ResultSet.CONCUR_READ_ONLY); | |
statement.setString(1, accountName); |
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
Map<String, Object> commentMap = (new JacksonJsonParser()).parseMap(commentStr); | |
String textComment = String.valueOf(commentMap.get("text")); | |
String htmlEscapedTextComment = HtmlUtils.htmlEscape(textComment); | |
commentMap.put("text", htmlEscapedTextComment); | |
try { | |
commentStr = (new ObjectMapper()).writeValueAsString(commentMap); | |
} catch (JsonProcessingException ignored) { | |
} | |
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
tell application "Contacts" | |
repeat with eachPerson in people | |
repeat with eachNumber in phones of eachPerson | |
set theNum to (get value of eachNumber) | |
if (theNum does not start with "+" and (theNum does not start with "1" and theNum does not start with "0")) then | |
set value of eachNumber to "+1" & theNum | |
else if (theNum starts with "1") then | |
set value of eachNumber to "+" & theNum | |
end if | |
end repeat |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!--XML Export of VCG Results for directory: . Scanned for Java security issues.--> | |
<CodeIssueCollection> | |
<CodeIssue> | |
<Priority>5</Priority> | |
<Severity>Low</Severity> | |
<Title>Operation on Primitive Data Type</Title> | |
<Description>The code appears to be carrying out a mathematical operation on a primitive data type. In some circumstances this can result in an overflow and unexpected behaviour. Check the code manually to determine the risk.</Description> | |
<FileName>Z:\Users\joubin\Downloads\scanthis\lottie\src\main\java\com\airbnb\lottie\AnimatableColorValue.java</FileName> | |
<Line>18</Line> |
NewerOlder