Skip to content

Instantly share code, notes, and snippets.

public fetchMaterial(materialId: number): void {
IsSet(materialId);
this.appState.dispatch({ type: StateActions.SET_LOADING, payload: true });
this.apiService.Publications().MaterialsOf({ Id: materialId })
.Search({ $top: 1, $select: "Text" })
.do(() => this.appState.dispatch({ type: StateActions.SET_LOADING, payload: false }))
.subscribe(response => {
this.appState.dispatch({
type: StateActions.PROCESS_CONTENT,
let MyClassRecord = Immutable.Record({
property: 'defaultValue',
index: 0,
works: true,
valueList: Immutable.List<string>([])
});
export class MyClass extends MyClassRecord {
property:string;
index:number;
let MyClassRecord = Immutable.Record({
property: 'defaultValue',
index: 0,
works: true,
valueList: Immutable.List<string>([])
});
export class MyClass extends MyClassRecord {
property:string;
index:number;
$ ./knife bootstrap 192.168.52.143 -x root -P psw -N TestNode --sudo
Connecting to 192.168.52.143
192.168.52.143 Installing Chef Client...
192.168.52.143 --2014-10-10 12:36:54-- https://www.opscode.com/chef/install.sh
192.168.52.143 Resolving www.opscode.com (www.opscode.com)... 184.106.28.91
192.168.52.143 Connecting to www.opscode.com (www.opscode.com)|184.106.28.91|:443... connected.
192.168.52.143 HTTP request sent, awaiting response... 200 OK
192.168.52.143 Length: 16519 (16K) [application/x-sh]
192.168.52.143 Saving to: ‘STDOUT’
192.168.52.143
$ ./knife bootstrap 192.168.52.143 -x root -P mauglis1 -N TestNode --sudo (10-10 21:36)
Connecting to 192.168.52.143
192.168.52.143 Installing Chef Client...
192.168.52.143 --2014-10-10 12:36:54-- https://www.opscode.com/chef/install.sh
192.168.52.143 Resolving www.opscode.com (www.opscode.com)... 184.106.28.91
192.168.52.143 Connecting to www.opscode.com (www.opscode.com)|184.106.28.91|:443... connected.
192.168.52.143 HTTP request sent, awaiting response... 200 OK
192.168.52.143 Length: 16519 (16K) [application/x-sh]
192.168.52.143 Saving to: ‘STDOUT’
192.168.52.143
192.168.52.143 Resource Not Found:
192.168.52.143 -------------------
192.168.52.143 The server returned a HTTP 404. This usually indicates that your chef_server_url is incorrect.
192.168.52.143
192.168.52.143
192.168.52.143
192.168.52.143 Relevant Config Settings:
192.168.52.143 -------------------------
192.168.52.143 chef_server_url "https://192.168.52.141:443"
/usr/local/lib/mono/4.5/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETPortable,Version=v4.5,Profile=Profile78'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/usr/local/lib/mono/4.5/Microsoft.Common.targets: error : PCL Reference Assemblies not installed.
@asido
asido / gist:1808615
Created February 12, 2012 13:40 — forked from rdegges/gist:1802557
cnam example runs
➜ ~ cnam 2024561111
DIST OF COLUMBI
➜ ~ cnam 8182179229
DEGGAS,RANDALL
➜ ~ cnam 8182822422
HUMANA INC
➜ ~ cnam 818-555-4444