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
Private Sub Worksheet_Change(ByVal Target As Range) | |
Dim KeyCells As Range | |
Set KeyCells = Range("A2:A2") | |
Set OtherKeyCells = Range("C2:C2") | |
Set DateCells = Range("A5:B5") | |
If Not Application.Intersect(KeyCells, Range(Target.Address)) _ | |
Is Nothing Then | |
Set wksControl = Worksheets("Org Groups") | |
Set objList = wksControl.ListObjects("Organisation_Groups") | |
objList.Refresh |
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
[Unit] | |
Description=RethinkDB Database Server | |
After=network.target consul.service | |
[Service] | |
Type=simple | |
User=rethinkdb | |
Group=rethinkdb | |
ExecStart=<%= @rethinkdb_bin_path %> --config-file <%= @rethinkdb_config_path %> | |
KillMode=process |
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
### Keybase proof | |
I hereby claim: | |
* I am davefinster on github. | |
* I am davefinster (https://keybase.io/davefinster) on keybase. | |
* I have a public key whose fingerprint is BF73 C196 21A7 477D 2750 BDE3 D0B7 01BE 2F54 0CB0 | |
To claim this, I am signing this object: |
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
concurrent = 2 | |
check_interval = 0 | |
[[runners]] | |
name = "JPC Runner" | |
url = "<gitlab-main-url>" | |
token = "<token>" | |
executor = "docker+machine" | |
[runners.docker] | |
image = "<default-image-to-use>" |
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
//query is something like | |
query = r.table("users").filter(function(user){ | |
return user.name.eq(foo) | |
}) | |
inner = r.do("", function(string) { | |
var item = query; | |
return { | |
count:item.count(), | |
results: item.slice(offset, offset + limit).coerceTo('array') | |
}; |
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
import Foundation | |
import SwiftyRSA | |
@objc(Request) | |
class Request: NSObject { | |
@objc(signRequest:signingString:resolve:reject:) | |
func signRequest(privateKey: String, signingString: String, resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) -> Void { | |
do { | |
let privateKey = try PrivateKey(pemEncoded: privateKey) |
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
const tasks = [ A, B, C ]; | |
let basePromise = Promise.resolve(); | |
tasks.forEach(task => { | |
basePromise = basePromise.then(() => { | |
return task().then(val => { out.innerHTML += val + '\n'; }); | |
}) | |
}); | |
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
PROJECT_NAME=myprojectname | |
DOCKER_NAMESPACE=myproject | |
JSLINT_ARGS=--node --nomen --indent=2 | |
JS_FILES=app.js lib/*/*.js | |
ROOT := $(shell pwd) | |
# | |
DOCKERRUN := docker run -it --rm \ | |
-v ${ROOT}:/usr/src/app \ | |
-v ${ROOT}/scripts/containerpilot_dev.json:/etc/containerpilot.json \ |
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
Assuming that each | |
+-------+ | |
|Primary| | |
| 75GB | | |
+-------+ | |
is a separate server | |
Single MongoDB Server | |
If this server dies, all data is unavailable | |
+-------+ |
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'?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type='manifest' name='export'> | |
<service name='network/nodesite' type='service' version='0'> | |
<create_default_instance enabled='true'/> | |
<single_instance/> | |
<dependency name='network' grouping='require_all' restart_on='refresh' type='service'> | |
<service_fmri value='svc:/milestone/network:default'/> | |
</dependency> | |
<dependency name='filesystem' grouping='require_all' restart_on='refresh' type='service'> |
NewerOlder