Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Daenam Kim daenamkim

🎯
Focusing
  • Curvegrid
  • Tokyo, Japan
Block or report user

Report or block daenamkim

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 daenamkim on github.
  • I am daenamkim (https://keybase.io/daenamkim) on keybase.
  • I have a public key ASBTdW6h9Z67oHxrxOzlPmrUvQJdSNdtpP7AIh8SyFUXNgo

To claim this, I am signing this object:

@daenamkim
daenamkim / download-file.js
Created May 18, 2018 — forked from javilobo8/download-file.js
Download files with AJAX (axios)
View download-file.js
axios({
url: 'http://localhost:5000/static/example.pdf',
method: 'GET',
responseType: 'blob', // important
}).then((response) => {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'file.pdf');
document.body.appendChild(link);
@daenamkim
daenamkim / GoJs.jsx
Created Apr 25, 2018
GoJS React Component Proof of concept
View GoJs.jsx
import React, {Component} from 'react';
import go from 'gojs';
const goObj = go.GraphObject.make;
export default class GoJs extends Component {
constructor (props) {
super (props);
this.renderCanvas = this.renderCanvas.bind (this);
You can’t perform that action at this time.