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
"Server Error. 4158811\norg.hibernate.exception.SQLGrammarException: could not extract ResultSet\n\tat org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123)\n\tat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)\n\tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)\n\tat org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:91)\n\tat org.hibernate.loader.Loader.getResultSet(Loader.java:2066)\n\tat org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1863)\n\tat org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1839)\n\tat org.hibernate.loader.Loader.doQuery(Loader.java:910)\n\tat org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)\n\tat org.hibernate.loader.Loader.doList(Loader.java:255 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Response> | |
<Say voice="men" language="fr-FR"> | |
Ma chére audelia, Je t'ai croisée un matin, et depuis, je rêve de te connaître. | |
Planté là, mes cheveux bruns flottants dans le vent qui portait une odeur de poisson. | |
mes yeux marrons te suivaient observant chaque détail de ton marcel alors que tu marchais. | |
Du haut de mes 1.75m je n'ai rien loupé, de ce charmant spectacle. | |
En ce jour de Saint Valentin, j'ose enfin t'avouer ma flamme. | |
Rencontrons-nous au troisième niveau du parking souterrain du coin de la rue. Il nous faut un signe de reconnaissance, emporte un fer à souder (cela pourra nous être utile selon comment notre idylle évolue). | |
Pour ta part, tu me reconnaîtras facilement, je suis musclé. |
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
[{"aliment":"Abricot","beraha":"Haets"},{"aliment":"Agneau","beraha":"Chéhakol"},{"aliment":"Ail frit","beraha":"Haadama"},{"aliment":"Amande","beraha":"Haets"},{"aliment":"Ananas","beraha":"Haadama"},{"aliment":"Asperge","beraha":"Haadama"},{"aliment":"Aubergine","beraha":"Haadama"},{"aliment":"Avocat","beraha":"Haets"},{"aliment":"Banane(2)","beraha":"Haadama"},{"aliment":"Barbe à papa","beraha":"Chéhakol"},{"aliment":"Barre au sésame dont les grains ne sont pas reconnaissables","beraha":"Chéhakol"},{"aliment":"Barre au sésame dont les grains sont reconnaissables","beraha":"Haadama"},{"aliment":"Barre de chocolat avec des noisettes","beraha":"Chéhakol"},{"aliment":"Barre de chocolat sans noisettes","beraha":"Chéhakol"},{"aliment":"Bâton de réglisse contenant l'une des cinq céréales(3)","beraha":"Mezonot"},{"aliment":"Beignet aux fruits","beraha":"Mezonot"},{"aliment":"Beurre de cacahuètes avec des morceaux de cacahuètes","beraha":"Haadama"},{"aliment":"Beurre de cacahuètes sans morceaux de cacahuètes","bera |
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
Créer une nouvelle application : ng new <nom de l'app> | |
Créer un nouveau component: ng g c <nom du component> |
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
for (let i = 0; i < 24; i++) { | |
const icon = (i < 7 || i > 18) ? "brightness_3" : "wb_sunny"; | |
const elementToAppend = `<div><mat-icon svgIcon=${icon}></mat-icon></div>`; | |
this.renderer.appendChild(elementToAppend); | |
} |
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
import { HttpEventType, HttpClient, HttpRequest, HttpEvent } from '@angular/common/http'; | |
constructor(private http: HttpClient) {} | |
this.http.get(someUrl).subscribe((event: HttpEvent) => { | |
if (event.type === HttpEventType.DownloadProgress) { | |
const totalLoaded = event.loaded; | |
const totalToLoad = event.total; | |
// here is the ratio |
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
/** | |
* @license | |
* Copyright Datorama. All Rights Reserved. | |
* | |
* Use of this source code is governed by an Apache License 2.0 license that can be | |
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE | |
*/ | |
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; | |
import { FormControl, FormGroup } from '@angular/forms'; |
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
var smpp = require('smpp'); | |
var session = smpp.connect('smpp://SEVER_IP'); | |
var request = require('request'); | |
var connected = false; | |
session.on('connect', function () { | |
connected = true; |
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
const express = require("express"); | |
const socketio = require("socket.io"); | |
const _ = require("lodash"); | |
const actions = require("./actions"); | |
const port = process.env.PORT || 5000; | |
const env = process.env.NODE_ENV || "development"; | |
const app = express(); |
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
selectAll(options: { | |
asObject: true; | |
filterBy?: SelectOptions<E>['filterBy']; | |
limitTo?: number; | |
sortBy?: undefined; | |
sortByOrder?: undefined; | |
}): Observable<HashMap<E>>; | |
selectAll(options: { | |
filterBy: SelectOptions<E>['filterBy']; | |
limitTo?: number; |