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 React, { useRef, useEffect } from "react"; | |
interface Option { | |
name: string; | |
label: string; | |
} | |
interface CheckboxesProps { | |
options: Option[]; | |
} | |
export const Checkboxes: React.VFC<CheckboxesProps> = ({ options }) => { |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"math/rand" | |
"net" | |
"os" | |
"strings" |
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
// The editor creator to use. | |
import ClassicEditorBase from "@ckeditor/ckeditor5-editor-classic/src/classiceditor"; | |
import SimpleUploadAdapter from "@ckeditor/ckeditor5-upload/src/adapters/simpleuploadadapter"; | |
import Essentials from "@ckeditor/ckeditor5-essentials/src/essentials"; | |
import UploadAdapter from "@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter"; | |
import Autoformat from "@ckeditor/ckeditor5-autoformat/src/autoformat"; | |
import Autosave from "@ckeditor/ckeditor5-autosave/src/autosave"; | |
import Bold from "@ckeditor/ckeditor5-basic-styles/src/bold"; | |
import Italic from "@ckeditor/ckeditor5-basic-styles/src/italic"; | |
import BlockQuote from "@ckeditor/ckeditor5-block-quote/src/blockquote"; |
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
< _query@1 = #{'__struct__' => 'Elixir.Ecto.Query',aliases => #{}, | |
assocs => [],combinations => [],distinct => nil, | |
from => | |
#{'__struct__' => 'Elixir.Ecto.Query.FromExpr',as => nil, | |
hints => [],prefix => nil, | |
source => | |
{<<"metrics">>,'Elixir.MeasureLibrary.Metrics.Metric'}}, | |
group_bys => [],havings => [], | |
joins => | |
[#{'__struct__' => 'Elixir.Ecto.Query.JoinExpr',as => nil, |
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
module github.com/mlh758/vertica | |
go 1.13 | |
require github.com/vertica/vertica-sql-go v0.1.7 | |
replace github.com/vertica/vertica-sql-go => /path/to/vertica-sql-go |
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
package main | |
import ( | |
"fmt" | |
"github.com/360EntSecGroup-Skylar/excelize/v2" | |
) | |
func main() { | |
xlsx := excelize.NewFile() |
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
package excelize | |
import ( | |
"testing" | |
) | |
func BenchmarkWrite(b *testing.B) { | |
const s = "This is test data" | |
for i := 0; i < b.N; i++ { | |
f := NewFile() |
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
FROM centos:6.8 | |
ARG SYSLOG_VERSION=8.1905.0 | |
RUN yum install -y wget libestr-devel libtool autoconf automake zlib-devel libcurl-devel gcc \ | |
bison flex make | |
# Libfastjson | |
WORKDIR /home/libfastjson | |
RUN wget https://github.com/rsyslog/libfastjson/archive/v0.99.8.tar.gz | |
RUN tar xzf v0.99.8.tar.gz |
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
package excel | |
import ( | |
"fmt" | |
"io" | |
"github.com/360EntSecGroup-Skylar/excelize" | |
) | |
type File interface { |
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
module github.com/mlh758/exc_test | |
go 1.12 | |
require github.com/360EntSecGroup-Skylar/excelize v1.4.1 |
NewerOlder