Skip to content

Instantly share code, notes, and snippets.

Dennis Brown 3DEsprit

Block or report user

Report or block 3DEsprit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am 3desprit on github.
  • I am vilesyn (https://keybase.io/vilesyn) on keybase.
  • I have a public key ASC8I5027YSn-8ZbrVrAopuk_CYiw8oNL6hyZOLAINKZOQo

To claim this, I am signing this object:

@3DEsprit
3DEsprit / event.js
Last active Jul 30, 2017
react-native-calendar-events event create
View event.js
RNCalendarEvents.saveEvent(`Example Event`, {
location:'Our Awesome Place City, State',
notes: `${this.props.title}`,
description: `${this.props.title}`,
startDate: firstTime.toISOString(),
endDate: lastTime.toISOString(),
calendar: ['Calendar'],
alarm: [{
date:-1
}],
@3DEsprit
3DEsprit / info.plist
Created Jul 30, 2017
iOS 10 Calendar Access
View info.plist
<key>NSCalendarsUsageDescription</key>
<string>schedules</string>
@3DEsprit
3DEsprit / app.js
Last active Jun 6, 2018
react-native-calendar-events authorization setup
View app.js
import RNCalendarEvents from 'react-native-calendar-events'
export default App extends Componemnt {
constructor() {
super();
this.state = {
cal_auth: ''
}
}
View DecoSyntaxTests.js
// Proper Tail Calls
// direct recursion
function() {
'use strict';
return (function f(n) {
if (n <= 0) {
return 'foo';
}
@3DEsprit
3DEsprit / app.jsx
Created Sep 18, 2016
Treehouse React Basics in ES6
View app.jsx
// even though we change this data, the array of objects
// will always be exactly that
const players = [
{ key: 1, name: 'D', score: 21 },
{ key: 2, name: 'B', score: 23 },
{ key: 3, name: 'P', score: 13 }
];
class Stopwatch extends React.Component {
constructor() {
You can’t perform that action at this time.