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
PSC പരീക്ഷകൾക്ക് ഒരുമിച്ച് പഠിക്കാനും സമ്മാനങ്ങൾ മേടിക്കാനുമുള്ള ഒരു അവസരമാണ് ഈ Contest | |
&#& | |
ആപ്പിൽ കാണുന്ന പരീക്ഷകളിൽ വരാൻ സാധ്യതയുള്ള ചോദ്യങ്ങൾ 'Add Question' വഴി നൽകുക | |
&#& | |
ഒരാൾക്ക് എത്ര ചോദ്യങ്ങൾ വേണമെങ്കിലും ആഡ് ചെയ്യാം | |
&#& | |
നിങ്ങൾ ആഡ് ചെയ്ത ഏതെങ്കിലും ഒരു ചോദ്യം ആ പരീക്ഷയിൽ വന്നാൽ 500 രൂപ സമ്മാനം | |
&#& | |
നിങ്ങളുടെ ചോദ്യങ്ങൾ മറ്റുള്ള കൂട്ടുകാർക്കും കാണാനും പഠിക്കാനും സാധിക്കും | |
&#& |
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
ഇത് BETA വേർഷൻ ആണ് ... എന്തെങ്കിലും issue കണ്ടാൽ റിപ്പോർട്ട് ചെയ്യുക | |
&#& | |
ക്വിസ് എത്ര തവണ വേണമെങ്കിലും അറ്റൻഡ് ചെയ്യാം | |
&#& | |
ഓരോ തവണയും വ്യത്യസ്തമായ 10 ചോദ്യങ്ങൾ ലഭിക്കും | |
&#& | |
ക്വിസിൽ 1 ചോദ്യത്തിന് 15 സെക്കൻഡ് | |
&#& | |
ഉത്തരം ശരിയായായാൽ ക്വിസിൽ 5 points & Drag Drop 3 points | |
&#& |
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
ഒരു മൊബൈൽ നമ്പറിൽ നിന്ന് ഒരു തവണ മാത്രം | |
&#& | |
ഓരോരുത്തർക്കും വ്യത്യസ്ത ചോദ്യങ്ങളാണ് ലഭിക്കുക | |
&#& | |
ഈ ആപ്പിൽ നിന്നുള്ള 10 ചോദ്യങ്ങൾ ഉണ്ടാകും | |
&#& | |
ദിവസേന പ്രാക്ടീസ് ചെയ്യുന്നവർക്ക് എളുപ്പത്തിൽ സ്കോർ ചെയ്യാം | |
&#& | |
Contest സ്റ്റാർട്ട് ചെയ്താൽ EXIT ചെയ്യാൻ സാധ്യമല്ല | |
&#& |
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
@Service | |
public class EventService { | |
String INDEX = "events"; | |
String TYPE = "event"; | |
private RestHighLevelClient client; | |
private ObjectMapper objectMapper; | |
@Autowired |
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
public String insert(@PathVariable final String id) throws UnknownHostException { | |
final String indexName = "hotels"; | |
final String documentType = "tweet"; | |
// TransportClient client = new PreBuiltTransportClient(Settings.EMPTY) | |
// .addTransportAddress(new TransportAddress(InetAddress.getByName("localhost"), 9300)); | |
// System.out.println(client.connectedNodes()); | |
try { | |
final IndicesExistsResponse res = client.admin().indices().prepareExists(indexName).execute().actionGet(); | |
if (!res.isExists()) { | |
System.out.println("CREATE INDEX"); |
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
{ | |
"took" : 6, | |
"timed_out" : false, | |
"_shards" : { | |
"total" : 5, | |
"successful" : 5, | |
"skipped" : 0, | |
"failed" : 0 | |
}, | |
"hits" : { |
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
Future<void> main() async { | |
SharedPreferences prefs = await SharedPreferences.getInstance(); | |
var email = prefs.getString('email'); | |
print(email); | |
runApp(MaterialApp(home: email == null ? SignIn() : HomePage())); | |
} | |
class SignIn extends StatefulWidget { | |
//SignIn({ Key key, this.post }): super(key: key); |
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 'package:progress_hud/progress_hud.dart'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', |
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
class TestWebView extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new WebviewScaffold( | |
appBar: new AppBar(title: Text('Webview'),), | |
url: new Uri.dataFromString( | |
"Follow<a class='sup'><sup>pl</sup></a> what was sent down to you from your" | |
" Lord, and do not follow other guardians apart from Him. Little do <span class='h'>you remind yourselves</span><a class='f'><sup f=2437>1</sup></a>. ", | |
mimeType: 'text/html') |