Skip to content

Instantly share code, notes, and snippets.

View cesargdm's full-sized avatar
✌️

César Guadarrama cesargdm

✌️
View GitHub Profile
@cesargdm
cesargdm / DateTimePicker.web.ts
Last active June 1, 2022 00:55
DateTimePicker.web.ts
// DateTimePicker.web.ts
import React, { useEffect, useRef, ReactElement } from 'react'
import { TextInput } from 'react-native'
import { format } from 'date-fns'
interface Props {
minimumDate: Date
maximumDate: Date
value: string
onChange: (value: string) => void
var tenant = context.token && context.token.tenant
if (!tenant) return false
return { tenant: { $eq: ObjectId(tenant) } }
Last 15 lines from /Users/cesargdm/Library/Logs/Homebrew/bison/02.make:
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libbison.a(libbison_a-u8-uctomb.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libbison.a(libbison_a-wctype-h.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libbison.a(libbison_a-gl_xlist.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libbison.a(libbison_a-xsize.o) has no symbols
CCLD src/bison
Undefined symbols for architecture x86_64:
"_ostream_printf", referenced from:
_complains in bison-complain.o
"_styled_ostream_set_hyperlink", referenced from:

Keybase proof

I hereby claim:

  • I am cesargdm on github.
  • I am cesargdm (https://keybase.io/cesargdm) on keybase.
  • I have a public key whose fingerprint is E6B8 12AF FCE0 9795 3D1C 8135 C494 F3AE 101B 1A9B

To claim this, I am signing this object:

{"lastUpload":"2019-11-12T22:00:32.215Z","extensionVersion":"v3.4.3"}
const path = require('path')
require(path.resolve('models/Schedule'))
const Location = require(path.resolve('models/Location'))
const connectToDatabase = require(path.resolve('src/helpers/connectToDb'))
module.exports.handler = async () => {
try {
await connectToDatabase()
@cesargdm
cesargdm / Emojimmit.MD
Last active July 27, 2017 18:34
Emojimmit - Use emoji for commit descriptions

Emojimmit

Identify commits easily by using emojis

Use Description Emoji
Feat         New feature                   🎉
Fix           Bug Fix                       🐞
Docs         Documentation only changes     📄
Style Changes that do not affect the meaning of the code 💅