A dialog/modal service written in AngularJS, creates predefined easy to use dialogs (error,wait,notify,confirm,create) with Angular UI and Bootstrap 3
A Pen by Michael E Conroy on CodePen.
import { withLDConsumer } from 'launchdarkly-react-client-sdk'; | |
const ConsumingComponent = (props) => { | |
// A `flags` object has been added to the `props`, which is updated with the value of the flags for the currently identified user | |
// An `ldClient` prop is also added which can be used to interact with Launchdarkly's client side SDK | |
const { flags, ldClient } = props; | |
// ldClient needs to be used to identify the user |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
function currencyFormat(n, lang) { |
A dialog/modal service written in AngularJS, creates predefined easy to use dialogs (error,wait,notify,confirm,create) with Angular UI and Bootstrap 3
A Pen by Michael E Conroy on CodePen.
#! /usr/bin/perl | |
while ($line = <>){ | |
if (($line !~ /BEGIN TRANSACTION/) && ($line !~ /COMMIT/) && ($line !~ /sqlite_sequence/) && ($line !~ /CREATE UNIQUE INDEX/)){ | |
if ($line =~ /CREATE TABLE \"([a-z_]*)\"(.*)/){ | |
$name = $1; | |
$sub = $2; | |
$sub =~ s/\"//g; | |
$line = "DROP TABLE IF EXISTS $name;\nCREATE TABLE IF NOT EXISTS $name$sub\n"; |
'use strict'; | |
//var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet; | |
//var mountFolder = function (connect, dir) { | |
// return connect.static(require('path').resolve(dir)); | |
//}; | |
module.exports = function (grunt) { | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background-color:#269; | |
background-image: linear-gradient(white 2px, transparent 2px), | |
linear-gradient(90deg, white 2px, transparent 2px), | |
linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), | |
linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); | |
background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px; |
/* sinbutton */ | |
.sinbutton { | |
background: black; | |
background-image: -webkit-linear-gradient(top, #333, #666); | |
color: white; | |
font-size: 14px; | |
margin: 5px; | |
padding: 3px; | |
border-radius: 3px; |
/* sinbutton */ | |
.sinbutton { | |
background: black; | |
background-image: -webkit-linear-gradient(top, #333, #666); | |
color: white; | |
font-size: 14px; | |
margin: 5px; | |
padding: 3px; | |
border-radius: 3px; |