Skip to content

Instantly share code, notes, and snippets.

View jeshan's full-sized avatar
🏠
Working from home

Jeshan Giovanni BABOOA jeshan

🏠
Working from home
  • Independent
  • Mauritius
View GitHub Profile
public String getMeSomeHtml() {
Html html = new Html();
Head head = html.getHead();
head.addMeta("charset", "UTF-8");
head.addMeta("viewport", "width=device-width");
Body body = html.getBody();
body.addParagraph("hello, world!");
body.addHeading(Heading.Level.ONE, "Level one text");
return body.toString();
// hello world
html()
.body()
.heading(Heading.Level.ONE, "Hello, world!");
{
"plugins": [
{
"pluginId": "AceJump",
"pluginName": "AceJump",
"downloadUrl": "https://github.com/johnlindquist/AceJump",
"dependencyPluginIds": [
"com.intellij",
"com.intellij.modules.platform"
],
@jeshan
jeshan / angular-intro-11.html
Last active August 29, 2015 14:15
angular-intro-11; internationalisation
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<meta name="description" content="angular-intro-11; internationalisation">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="//code.angularjs.org/1.3.2/i18n/angular-locale_da-dk.js"></script>
<!--<script src="//code.angularjs.org/1.3.2/i18n/angular-locale_en-gb.js"></script>-->
<script src="script.js">
</script>
@jeshan
jeshan / angular-intro-10.html
Last active August 29, 2015 14:15
angular-intro-10; routes
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<meta name="description" content="angular-intro-10; routes">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular-route.min.js"></script>
<script src="script.js">
@jeshan
jeshan / angular-intro-09.html
Last active August 29, 2015 14:15
angular-intro-09; CRUD
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<meta name="description" content="angular-intro-09; CRUD">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="script.js"></script>
@jeshan
jeshan / angular-intro-08.html
Last active August 29, 2015 14:15
angular-intro-08; service dependency injection
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<meta name="description" content="angular-intro-08; service dependency injection">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="script.js"></script>
@jeshan
jeshan / angular-intro-07.html
Last active August 29, 2015 14:15
angular-intro-07; custom filters
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<meta name="description" content="angular-intro-07; custom filters">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="script.js"></script>
<meta charset="utf-8">
@jeshan
jeshan / angular-intro-06.html
Last active August 29, 2015 14:15
angular-intro-06; filters with examples with date and currency
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<meta name="description" content="angular-intro-06; filters with examples with date and currency">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="script.js">
</script>
<meta charset="utf-8">
</head>
<body ng-controller='MainController'>
@jeshan
jeshan / angular-intro-05.html
Last active August 29, 2015 14:15
angular-intro-05; ngRepeat with variables
<!DOCTYPE html>
<html ng-app='angularApp'>
<head>
<meta name="description" content="angular-intro-05; ngRepeat with variables">
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
<script src="script.js">
</script>