public class HelloContext
{
private ISomething _smh ;
void Foo(string key)
{
switch(key)
{
case "A":
This file contains hidden or 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
| INSERT INTO "Table"("Id") select uuid_generate_v4() from public."Logs"; |
This file contains hidden or 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
| # install haproxy | |
| yum install -y haproxy | |
| # config haproxy for rabbitmq | |
| cat > /etc/haproxy/haproxy.cfg << "EOF" | |
| global | |
| log 127.0.0.1 local0 notice | |
| maxconn 10000 | |
| user haproxy |
This file contains hidden or 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
| module.exports = function(callback) { | |
| require('child_process').exec('./cursor-position.sh', function(error, stdout, stderr) { | |
| callback(error, JSON.parse(stdout)); | |
| }); | |
| } |
This file contains hidden or 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
| git pull --recurse-submodules |
This file contains hidden or 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
| location /ws { | |
| proxy_pass http://http://178.33.123.109:8080/ws; | |
| proxy_http_version 1.1; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "Upgrade"; | |
| proxy_set_header Host $host; | |
| } | |
| location /api { | |
| rewrite /api/(.*) /$1 break; |
This file contains hidden or 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
| "options": { | |
| "browserTarget": "optimargin-status-monitoring:build", | |
| "proxyConfig": "src/proxy-local.conf.json", | |
| "port": 10001 | |
| }, | |
| "configurations": { | |
| "production": { | |
| "browserTarget": "optimargin-status-monitoring:build:production", | |
| "proxyConfig": "src/proxy-prod.conf.json" | |
| } |
This file contains hidden or 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
| host all all 0.0.0.0/0 md5 |
This file contains hidden or 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
| net user {{usr}} /add /active:yes | |
| net user {usr} * | |
| net localgroup users {usr} /delete | |
| net localgroup guests {usr} /add |
In your command-line run the following commands:
brew doctorbrew update