Safari has some annoying default styling for select boxes. This will reset it to a respectable default.
Note: This was created with Bootstrap in mind, but it can easily be modified to work with anything you like
<!-- View it live here: http://codepen.io/anon/pen/waZOjB --> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.4/angular.min.js"></script> | |
<script type="text/javascript" src="https://cdn.rawgit.com/JustMaier/6ef7788709d675bd8230/raw/3d39d50e66d8d77e05656ed7dd09298be7e86f1f/ngClickCopy.js"></script> | |
<script> | |
angular.module('app', ['ngClickCopy']) | |
</script> | |
<div ng-app="app"> | |
<button ng-click-copy="Hello World">Copy</button> | |
</div> |
var _ = require('lodash'); | |
var cratejoyAPI = require('node-cratejoy'); | |
var cratejoy = new cratejoyAPI('{API Id Here}', '{API Key Here}'); | |
var fs = require('fs'); | |
// var now = new Date(); | |
// var msPerHr = 60 * 60 * 1000; | |
// var twoHoursAgo = new Date(now - 2 * msPerHr); | |
//Get all subscriptions |
// Config the $resourceProvider | |
app.config(["$resourceProvider",function ($resourceProvider) { | |
// extend the default actions | |
angular.extend($resourceProvider.defaults.actions,{ | |
save : { | |
method : "POST", | |
interceptor: { | |
response: function(response){ | |
if(response.status == 201){ |
<div class="autofields-repeater"> | |
<div ui-sortable="sortableOptions" ng-model="ngModel"> | |
<div class="autofields-repeater-container panel panel-default" ng-repeat="item in ngModel"> | |
<div class="panel-heading"> | |
<h4 class="panel-title" ng-bind="field.title"></h4> | |
<button type="button" class="close" title="Remove" ng-click="removeItem(item, $index)">×</button> | |
</div> | |
<auto:fields fields="field.fields" class="panel-body" data="item" options="field.options" form="item{{$index}}"></auto:fields> | |
</div> | |
</div> |
Safari has some annoying default styling for select boxes. This will reset it to a respectable default.
Note: This was created with Bootstrap in mind, but it can easily be modified to work with anything you like
I hereby claim:
To claim this, I am signing this object:
You are an AI Prompt engineer at OpenAI and you have just found the best prompt for effectively starting conversations with ChatGPT, an AI language model and assistant. Write an effective beggining prompt that can be used to start a conversation with ChatGPT. The prompt should:
"You are a senior product marketing manager at Apple and you just launched the latest Apple product, the Apple Car, and received 12,000 pre-orders, which is 200% higher than target. Write an email to your boss, Tim Cooke, sharing this positive news. The email should follow the exact same format as the one I will share below. Use c