Skip to content

Instantly share code, notes, and snippets.

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

Studira Studira

🏠
Working from home
View GitHub Profile
;(function () {
'use strict';
/**
* @name Camera Device
* @description Directive to add camera functionality to the html page
*/
var module = angular.module( 'Camera' );
var injectables = [ '$window', '$parse', 'lodash', '$cordovaCamera', 'camera.fctr', 'notify.fctr', 'Camera.cnst', '$spinner', '$ionic' ];
(function () {
'use strict';
/**
* @ngdoc object
* @name camera.cameraDevice.drve
* @description
* Directive to add camera functionality to the html page
*/
import * as express from 'express'
const path = require('path')
const fs = require('fs')
let jsreport
export async function initializeReporter(app, server) {
let reportingApp = express()
let config = {
express: { app: reportingApp, server: server },
appPath: '/report',
@Studira
Studira / Facebook Profile Pictures - Flag Over.markdown
Last active April 29, 2019 13:29
Facebook Profile Pictures - Flag Over

Facebook Profile Pictures - Flag Over

This pen aims to let the user upload their facebook profile picture then overlay their country's flag and a hashtag before saving it back to your desktop.

Inspired by Facebook's facility to do this during the Paris Attacks.

A Pen by Ian Joubert on CodePen.

License.

(function () {
'use strict';
angular.module('app.validators.form')
.directive('validatorTelNumber',[
function(){
var link = function(scope, element, attrs, ngmodel){