This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Data.Maybe (Maybe(..)) | |
import Effect (Effect) | |
import Effect.Console (log) | |
data Dish = Dish Pasta (Maybe Sauce) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dih": 1033723067, | |
"data": "{\"cid\":\"89524997\",\"ibs\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAFzCAYAAADi5Xe0AAAgAElEQVR4Xu3cX+jWZ90H8MtpOzCRKZLsYMyByAYFMiORncTOdrKy/QnnYATqdOUf/DOb1qbFmMVYiRRtVFT+SZNyB53FTupgJxOiEIogMI/qwBC3uSXz93B/cSP3+Pj4+X6/3vf3c18vQXjqua77vq7X+/rd15vv/ctZMzMzM8UfAgQIECBAgACB3gRmKVi9WXohAgQIECBAgEAjoGA5CAQIECBAgACBngUUrJ5BvRwBAgQIECBAQMFyBggQIECAAAECPQsoWD2DejkCBAgQIECAgILlDBAgQIAAAQIEehZQsHoG9XIECBAgQIAAAQXLGSBAgAABAgQI9CygYPUM6uUIECBAgAABAgqWM0CAAAECBAgQ6FlAweoZ1MsRIECAAAECBBQsZ4AAAQIECBAg0LOAgtUzqJcjQIAAAQIECChYzgABAgQIECBAoGcBBatnUC9HgAABAgQIEFCwnAECBAgQIECAQM8CClbPoF6OAAECBAgQIKBgOQMECBAgQIAAgZ4FFKyeQb0cAQIECBAgQEDBcgYIECBAgAABAj0LKFg9g3o5AgQIECBAgICC5QwQIECAAAECBHoWULB6BvVyBAgQIECAAAEFyxkgQIAAAQIECPQsoGD1DOrlCBAgQIAAAQIKljNAgAABAgQIEOhZQMHqGdTLESBAgAABAgQULGeAAAECBAgQINCzgILVM6iXI0CAAAECBAgoWM4AAQIECBAgQKBnAQWrZ1AvR4AAAQIECBBQsJwBAgQIECBAgEDPAgpWz6BejgABAgQIECCgYDkDBAgQIECAAIGeBRSsnkG9HAECBAgQIEBAwXIGCBAgQIAAAQI9CyhYPYN6OQIECBAgQICAguUMECBAgAABAgR6FlCwegb1cgQI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface BasicAction<T> { | |
type: T | |
} | |
interface PayloadAction<T, P> extends BasicAction<T> { | |
payload: P | |
} | |
interface ErrorAction<T> extends BasicAction<T> { | |
error: Error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
FILE ARCHIVED ON 0:36:48 Aug 2, 2014 AND RETRIEVED FROM THE | |
INTERNET ARCHIVE ON 2:31:05 Feb 28, 2016. | |
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. | |
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. | |
SECTION 108(a)(3)). | |
*/ | |
/** | |
* Zoom.it Embed (build 65069 on 2011-02-04) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compile with: | |
* | |
* gcc -g -Wall compare.c `pkg-config vips --cflags --libs` -o compare | |
* | |
* Run with: | |
* | |
* ./compare actual expected | |
* | |
* Examples: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compile with: | |
* | |
* gcc -g -Wall resize-alpha.c `pkg-config vips --cflags --libs` -o resize-alpha | |
* | |
* Run with: | |
* | |
* ./resize-alpha in out interpolation | |
* | |
* Examples: |

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* compile with: | |
* | |
* gcc -g -Wall composite.c `pkg-config vips --cflags --libs` | |
*/ | |
#include <stdio.h> | |
#include <vips/vips.h> | |
/* Composite images `src` and `dst`. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +gasi is my openname (Bitcoin username). https://onename.io/gasi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Image Pyramid Demo</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,user-scalable=no"> | |
<script src="pyramiddemo.js"></script> | |
<style> | |
body { |
NewerOlder