Skip to content

Instantly share code, notes, and snippets.

View fernandocanizo's full-sized avatar
🎃
Working from home

Fernando Lucio Canizo fernandocanizo

🎃
Working from home
View GitHub Profile
@mikaelbr
mikaelbr / destructuring.js
Last active April 25, 2024 13:21
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];
@kosh04
kosh04 / curl.lsp
Created August 2, 2011 07:46
[newLISP]libcurlライブラリを利用したサンプルコード -> [moved] https://github.com/kosh04/newlisp-curl
;;; curl.lsp -- libcurl for newLISP
;; ChangeLog:
;;
;; 2013-12-04 add function curl-get. add dylib (osx).
;; 2011-08-02 first commit.
;; Link:
;;
;; libcurl - API