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
/** | |
* Fm\DocumentBundle\Entity\Document | |
* | |
* @ORM\Table() | |
* @ORM\Entity | |
* @ORM\InheritanceType("SINGLE_TABLE") | |
* @ORM\DiscriminatorColumn(name="type", type="string") | |
* @ORM\DiscriminatorMap({"playerList" = "PlayerList", "playerPrice" = "PlayerPrice", "avatar" = "Avatar", "playerPhoto" = "PlayerPhoto", "teamPhoto" = "TeamPhoto"}) | |
* @ORM\HasLifecycleCallbacks | |
*/ |
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
nodejs-deps: | |
pkg.installed: | |
- names: | |
- g++ | |
- curl | |
- libssl-dev | |
- apache2-utils | |
- build-essentials | |
require: | |
- pkg: git |
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
*************************** 1. row *************************** | |
day: 6 | |
fantateam: la Marchigiana | |
*************************** 2. row *************************** | |
day: 9 | |
fantateam: la Marchigiana | |
*************************** 3. row *************************** | |
day: 11 | |
fantateam: LinxLab | |
*************************** 4. row *************************** |
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
*************************** 1. row *************************** | |
missing_fixture: 18 | |
fantateam: la Marchigiana | |
*************************** 2. row *************************** | |
missing_fixture: 11 | |
fantateam: Mexico United | |
*************************** 3. row *************************** | |
missing_fixture: 5 | |
fantateam: Palazzinarese | |
*************************** 4. row *************************** |
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
@implementation BridgeManagersNetwork | |
+ (NSString *)userAgent | |
{ | |
return @"custom-user-agent-to-be-defined"; | |
} | |
- (FBLResponse *)executeWithFBLApiRequest:(FBLApiRequest *)apiRequest | |
{ | |
// implementazione del metodo GET e POST |
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
// creazione classe che gestisce le api per i feeds | |
FBLFeedsApi *feedsApi = [[FBLFeedsApi alloc] initWithFBLNetworkManager:BRIDGE_NETWORK_NEW_MANAGER]; | |
// chiamata alle api (bloccante) | |
FBLFeedResponse *feedResponse = [feedsApi get]; | |
if ( [feedResponse isSuccess] ) | |
{ | |
// ogni response è uguale. isSuccess, getData, .... | |
[feedResponse getData].... |
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
var sqlite3 = require("sqlite3").verbose(); | |
var db = new sqlite3.Database("db"); | |
db.serialize(function () { | |
db.run( | |
"CREATE TABLE IF NOT EXISTS users (name TEXT, password TEXT, role TEXT)" | |
); | |
db.run( | |
"INSERT INTO users (name, password, role) VALUES (?, ?, ?)", | |
"admin", |
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
{ | |
"articles": [ | |
{ | |
"id": 1, | |
"title": "Belgium beers are awesome", | |
"description": "oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome oh yeah, awesome ", | |
"date": "2016-04-19T18:03:40.887", | |
"author": "francesco" | |
}, | |
{ |
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
{ | |
"results": [ | |
{ | |
"id": 132579, | |
"day": 21, | |
"redaction_id": 2, | |
"player_id": 157, | |
"player_name": "H. Kane", | |
"played": true, | |
"arbitrary": false, |
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
{ | |
"users": [ | |
{ | |
"id": 1, | |
"firstname": "Alan", | |
"lastname": "Sorrenti", | |
"email": "[email protected]" | |
} | |
], | |
"news": [ |
OlderNewer