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 testStrSimple = "MyNameIsAhsanAyaz"; | |
var testStrWhiteSpace = "myName \nIsAhsan"; | |
console.log(ccpc2und(testStrSimple)); | |
console.log(ccpc2und(testStrWhiteSpace)); | |
console.log(ccpc2und(testStrWhiteSpace, "__:D__")); // custum joiner | |
// using LONG METHOD (for no reason) | |
console.log(_ccpc2und(testStrSimple)); |
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
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+ |
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
language: node_js | |
node_js: | |
- "7" | |
sudo: true | |
dist: trusty | |
branches: | |
only: | |
- master |
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 { Pro } from '@ionic/pro'; | |
import { Injectable, ErrorHandler, Injector } from '@angular/core'; | |
import { IonicErrorHandler } from 'ionic-angular'; | |
// initializing the Ionic Pro client | |
const IonicPro = Pro.init('APP_ID', { | |
appVersion: "APP_VERSION" | |
}); | |
@Injectable() |
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 { Pro } from '@ionic/pro'; | |
import { Injectable, ErrorHandler, Injector } from '@angular/core'; | |
import { IonicErrorHandler } from 'ionic-angular'; | |
// initializing the Ionic Pro client | |
const IonicPro = Pro.init('APP_ID', { | |
appVersion: "APP_VERSION" | |
}); | |
@Injectable() |
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 { NgModule, ErrorHandler } from '@angular/core'; | |
import { IonicApp, IonicModule } from 'ionic-angular'; | |
import { AppErrorHandlerProvider } from '../providers/app-error-handler/app-error-handler'; | |
... | |
@NgModule({ | |
..., | |
providers: [ | |
..., | |
{ provide: ErrorHandler, useClass: AppErrorHandlerProvider } |
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 { Component, Prop } from "@stencil/core"; | |
@Component({ | |
tag: "stop-watch", | |
styleUrl: "stop-watch.css" | |
}) | |
export class StopWatchComponent { | |
@Prop() hours: string; | |
@Prop() minutes: string; | |
@Prop() seconds: string; |
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
.watch-wrapper { | |
background: #2196F3; | |
padding: 20px; | |
display: block; | |
font-family: monospace; | |
box-shadow: 0 16px 16px 0 rgba(0,0,0,0.1); | |
} | |
.watch{ | |
display: flex; |
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 { Component, State } from "@stencil/core"; | |
import { WatchService } from "../../services/watch-service"; | |
@Component({ | |
tag: "stop-watch-box", | |
styleUrl: "stop-watch-box.css" | |
}) | |
export class StopWatchBoxComponent { | |
private hh = 0; | |
private mm = 0; |
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
.watch-box { | |
display: block; | |
height: 300px; | |
width: 300px; | |
margin: 0 auto; | |
padding-top: 20px; | |
} | |
.watch-box .watch-container { | |
padding: 20px; |
OlderNewer