De TXT record voor rt-opderails.nl moet worden:
"v=spf1 a mx ip4:195.211.72.0/22 ip4:141.138.168.0/21 ip6:2a03:3c00:a001::/48 include:spf.factuursturen.nl ~all"
Uiteraard kan de bestaande TXT record worden verwijderd.
class Accordion extends React.Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
activeItem: null, | |
} | |
} | |
toggle = (event, index) => this.setState(state => ({ activeItem: state.activeItem === index ? null : index })) | |
render() { | |
return ( |
{ | |
"products": [ | |
{ | |
"id": 448082, | |
"title": "GoPro HERO4 Silver", | |
"price": 36900, | |
"description": "De GoPro HERO4 Silver is een waardige opvolger van GoPro 3-serie.", | |
"thumbnail": "https://image.coolblue.io/products/448082?width=200&height=200" | |
}, | |
{ |
function App(props) { | |
return <Header title="Fancy" />; | |
} | |
function Header(props) { | |
return <Title {...props} />; | |
} | |
function Title(props) { | |
return <div>{props.title}</div>; |
/* async-action.js */ | |
import SomeService from './some-service'; | |
export function doAsync(arg) { | |
return dispatch => { | |
// SomeService.doSomething returns a promise which resolves to the passed argument | |
SomeService.doSomething(arg).then(result => { | |
const action = { type: 'ASYNC_SUCCESS', payload: result }; | |
dispatch(action); | |
}).catch(error => { |
/* | |
* Usage: | |
* - open https://updates.xebia.com/smoelenboek/ | |
* - paste this file into chrome developer tools js console | |
* - look at the picture in the top-left corner and choose from the names in the js console | |
*/ | |
images = jQuery('dt.portrait img') | |
answer = [ , , , ] |
function embed(data, sizes) { | |
const formattedData = {}; | |
for (let uuid in sizes) { | |
if (sizes.hasOwnProperty(uuid) && data[uuid]) { | |
formattedData[uuid] = { | |
name: uuid, | |
w: sizes[uuid].width, | |
h: sizes[uuid].height, | |
vars: { | |
id: data[uuid], |
let getClassName = obj => { | |
if (obj.constructor.name) { | |
return obj.constructor.name; | |
} | |
const regex = new RegExp(/^\s*function\s*(\S*)\s*\(/); | |
getClassName = obj => obj.constructor.toString().match(regex)[1]; | |
return getClassName(obj); | |
}; |
De TXT record voor rt-opderails.nl moet worden:
"v=spf1 a mx ip4:195.211.72.0/22 ip4:141.138.168.0/21 ip6:2a03:3c00:a001::/48 include:spf.factuursturen.nl ~all"
Uiteraard kan de bestaande TXT record worden verwijderd.
/** | |
* Decorator to add 'transform' and 'transformError' methods to promises. | |
* These can manipulate the result without catching errors so the 'then' | |
* functions will still work as expected. | |
*/ | |
$provide.decorator('$q', function($delegate) { | |
var defer = $delegate.defer; | |
$delegate.defer = function() { | |
var deferred = defer(); | |
deferred.promise.transform = function(fn) { |
/** | |
* Directive to instantly enable/disable multiple checkboxes based on a master checkbox. | |
* Changing slave checkboxes will update the master checkbox accordingly, including the indeterminate state. | |
* | |
* Usage example: | |
* | |
* <label><input type="checkbox" select-all="theProperties"> Select all</label> | |
* <div ng-repeat="property in properties"> | |
* <label><input type="checkbox" rel="theProperties" ng-model="property.checked"> {{ property.label }}</label> | |
* </div> |