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
package main | |
import ( | |
"fmt" | |
"net/http" | |
"github.com/newrelic/go-agent" | |
"github.com/urfave/negroni" | |
) | |
func main() { |
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 Solution { | |
class Entry { | |
int pos; | |
int val; | |
Entry(int pos, int val) { | |
this.pos = pos; | |
this.val = val; | |
} | |
} |
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 SearchNewsFeedPresenter extends NewsFeedPresenter { | |
private SearchNewsFragment view; | |
private Subscription pendingSubscription; | |
private final static int DEFAULT_PAGE_SIZE = 20; | |
public SearchNewsFeedPresenter(Bundle savedState, SearchNewsFragment view) { | |
ReporterApplication application = (ReporterApplication) view.getActivity().getApplication(); | |
application.getAppComponent().inject(this); | |
Icepick.restoreInstanceState(this, savedState); |
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
{ | |
"node": { | |
"id": "test", | |
"cluster": "test", | |
"locality": { | |
"region": "", | |
"zone": "" | |
}, | |
"metadata": {} | |
}, |
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
package test; | |
import com.google.common.collect.ImmutableList; | |
import com.google.protobuf.Duration; | |
import envoy.api.v2.Cds; | |
import envoy.api.v2.Eds; | |
import envoy.api.v2.Lds; | |
import envoy.api.v2.Rds; | |
import envoy.api.v2.core.AddressOuterClass; | |
import envoy.api.v2.endpoint.EndpointOuterClass; |
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
{ | |
"node": { | |
"id": "test", | |
"cluster": "test", | |
"locality": { | |
"region": "", | |
"zone": "" | |
}, | |
"metadata": {} | |
}, |
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
class Solution { | |
private static final int CONTAINER = 1; | |
private static final int BOX = 0; | |
public int scoreOfParentheses(String S) { | |
Stack<Integer> data = new Stack<Integer>(); | |
int sum = 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
Playbox list | |
• Playbox U01D91319J6_1613361504592U01D91319J6_1613361504592U01D91319J6_1613361504592 | |
• Web page @ http://ec2-3-239-50-213.compute-1.amazonaws.com | |
• VSCode @ http://ec2-3-239-50-213.compute-1.amazonaws.com:8081?folder=/root/workspace |
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
#!/bin/bash | |
set -eu | |
# ---------------- variables -------------------- | |
sandbox_domain="demo.sb.devsbox.io" | |
email="[email protected]" | |
nginx_conf_content=$(cat << EOM |
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
#!/bin/bash | |
set -eu | |
# ---------------- variables -------------------- | |
sandbox_domain="demo.sb.devsbox.io" | |
email="[email protected]" | |
nginx_conf_content=$(cat << EOM |
OlderNewer