This file contains 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
enum Endian { | |
Little = "little", | |
Big = "big", | |
} | |
class BinaryWriter { | |
variableEncodeList = new Uint8Array(8); | |
writeIndex = 0; | |
alignment: number; // Add this line | |
endian: Endian; // Add this line | |
buffer: Uint8Array; // Add this line |
This file contains 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
import "./styles.css"; | |
import { useRive, Layout, Fit, Alignment } from "@rive-app/react-canvas"; | |
// @refresh reset | |
var Endian; | |
(function (Endian) { | |
Endian["Little"] = "little"; | |
Endian["Big"] = "big"; | |
})(Endian || (Endian = {})); | |
var BackingType; |
This file contains 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
# Used as the base secret for all MessageVerifiers in Rails, including the one protecting cookies. | |
secret_key_base: "key generated from <rails secret>" | |
production: | |
database_username: username | |
database_password: password |
This file contains 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
// source: https://paste.zauberfisch.com/d/62871445eda3b/craftjs-frontend.js.txt | |
import React, {Fragment} from "react" | |
import Container from "./Container.jsx" | |
import Text from "./Text.jsx" | |
import Button from "./Button.jsx" | |
const contentElements = { | |
Container, | |
Text, |
This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by dvisvgm configure 2.9.1, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --enable-bundled-libs | |
## --------- ## | |
## Platform. ## |
This file contains 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
// Type definitions for react-query 0.3 | |
// Project: https://github.com/tannerlinsley/react-query | |
// Definitions by: Lukasz Fiszer <https://github.com/lukaszfiszer> | |
// Jace Hensley <https://github.com/jacehensley> | |
// Matteo Frana <https://github.com/matteofrana> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
import { ComponentType } from 'react'; | |
// overloaded useQuery function with pagination |
This file contains 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
#include "config.h" | |
#include <poppler-config.h> | |
#include <cstdint> | |
#include <cstdio> | |
#include <cmath> | |
#include <cstring> | |
#include "goo/gmem.h" | |
#include "goo/GooString.h" | |
#include "GlobalParams.h" | |
#include "Object.h" |
This file contains 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
project(poppler) | |
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) | |
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) | |
set(ENV{PKG_CONFIG_PATH} "/Users/tkidanu/playground/pdf2svg/mylibs/lib/pkgconfig") | |
set(ENV{EM_PKG_CONFIG_PATH} "/Users/tkidanu/playground/pdf2svg/mylibs/lib/pkgconfig") | |
include(PopplerDefaults) | |
include(PopplerMacros) |
This file contains 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
@Echo off | |
set "inkscapePath=C:\Program Files\Inkscape\inkscape.exe" | |
set /a count=0 | |
set validInput1=svg | |
set validInput2=pdf | |
set validInput3=eps | |
set validOutput1=eps | |
set validOutput2=pdf | |
set validOutput3=png |
This file contains 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
#!/bin/bash | |
set -xeuo pipefail | |
IFS=$'\n\t' | |
PREFIX="${1:-/usr/local/dvisvgm}" | |
TEX="$(kpsewhich -var SELFAUTOLOC)" | |
echo "$PREFIX, $TEX" | |
brew install automake freetype ghostscript potrace |
NewerOlder