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
// # 888 Defaults Theme Settings | |
// # -------------------------------------------------------------------------- | |
// # | |
{ | |
level_widget: { | |
loading_bar_color: ['#000000', '#FFFF99', '#FF9A24', 'rgba(255,204,51,0)'], | |
background_color: '#EE0032', | |
text_color: '#FFFFFF', | |
}, | |
notifications: { |
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 {prop, compose} from 'ramda' | |
const player = { | |
id: 1, | |
name: 'Bnaya', | |
file: { | |
img: 'http://foo.bar/bnaya-zil.png', | |
thumb: 'http://foo.bar/bnaya-zil-thumb.png' | |
} | |
} |
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 {prop, compose, apply, defaultTo, juxt} from 'ramda' | |
const player = { | |
id: 1, | |
name: 'Bnaya', | |
file: { | |
img: 'http://foo.bar/bnaya-zil.png' | |
} | |
} |
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 {prop, compose, apply, defaultTo, juxt, filter, gt, map} from 'ramda' | |
const players = [{ | |
id: 1, | |
firstName: 'Bnaya', | |
age: 55, | |
file: { | |
img: 'http://foo.bar/bnaya-zil.png' | |
} | |
}, |
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 java.awt.Point; | |
/** | |
* Polygon class, manage polygon state. | |
* | |
* @author Bnaya Zilberfarb | |
*/ | |
public class Polygon | |
{ | |
private PointNode _head; |
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
// factoryA.js | |
import FactoryB from './factoryB' | |
export default class FactoryA { | |
constructor(data) { | |
// ... | |
} | |
doStuffWithB(data, B = FactoryB) { | |
const b = new B() |
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
//http://localhost:8080/GetPlayers?playerID=IHS | |
const params = new HttpParams().set('playerID',playerid) | |
const headers = new HttpHeaders({ | |
'Content-Type': 'application/json'}) | |
return this.http.get<{message: string, player : Player}>(`http://localhost:8080/GetPlayers`, {params, headers}).subscribe( | |
(res) => console.log(res), | |
(err) => console.error(err) | |
) |