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 { useCallback, useEffect } from 'react'; | |
import { Button } from 'components/button'; | |
import { iconKakaoTalk } from 'components/icon'; | |
const KAKAO_SDK_ID = 'solvesql_kakao_sdk'; | |
const KAKAO_SDK_PATH = '//developers.kakao.com/sdk/js/kakao.min.js'; | |
export const KakaoLogin = props => { | |
const { appKey, className } = props; |
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/sh -exu | |
dev=$1 | |
cd $(mktemp -d) | |
function umountboot { | |
umount boot || true | |
umount root || true | |
} | |
# RPi1/Zero (armv6h): |
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 sys | |
import numpy as np | |
print(sys.getsizeof(np) |
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 428b2335978c852f0816cdb3c1de07db1db01a0d Mon Sep 17 00:00:00 2001 | |
From: Chiwan Park <[email protected]> | |
Date: Fri, 13 Jan 2017 11:43:44 +0900 | |
Subject: [PATCH] Update font version to 1.2 and fix upstream URL | |
--- | |
.SRCINFO | 10 ++++------ | |
PKGBUILD | 11 +++++------ | |
2 files changed, 9 insertions(+), 12 deletions(-) |
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 com.chiwanpark.flink; | |
/** | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at |
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 org.apache.flink.api.common.functions.FilterFunction; | |
import org.apache.flink.api.common.functions.JoinFunction; | |
import org.apache.flink.api.java.ExecutionEnvironment; | |
import org.apache.flink.api.java.DataSet; | |
import org.apache.flink.api.java.tuple.Tuple5; | |
import org.apache.flink.examples.java.relational.TPCHQuery3.Customer; | |
import org.apache.flink.examples.java.relational.TPCHQuery3.Order; | |
class Example { | |
// TODO: NEED TO SET CORRECT PATH! |
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 org.apache.flink.api.common.functions.Partitioner; | |
import org.apache.flink.api.java.DataSet; | |
import org.apache.flink.api.java.ExecutionEnvironment; | |
import org.apache.flink.api.java.tuple.Tuple2; | |
public class PartitionCustomExample { | |
public static class MyPartitioner implements Partitioner<Integer> { | |
@Override | |
public int partition(Integer key, int numPartitions) { | |
return key % numPartitions; |
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 org.apache.flink.api.common.functions.RichFilterFunction | |
import org.apache.flink.api.scala.{ExecutionEnvironment, _} | |
import org.apache.flink.configuration.Configuration | |
import scala.collection.JavaConversions._ | |
case class PC(var model: String, var price: Double) | |
case class Laptop(var model: String, var price: Double) |
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
<Configuration> | |
<Add OfficeClientEdition="64"> | |
<Product ID="O365ProPlusRetail"> | |
<Language ID="ko-kr"/> | |
<ExcludeApp ID="Access"/> | |
<ExcludeApp ID="InfoPath"/> | |
<ExcludeApp ID="Groove"/> | |
<ExcludeApp ID="Lync"/> | |
<ExcludeApp ID="OneNote"/> | |
<ExcludeApp ID="Outlook"/> |
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 com.chiwanpark.flink; | |
import org.apache.flink.api.common.functions.CoGroupFunction; | |
import org.apache.flink.api.common.functions.JoinFunction; | |
import org.apache.flink.api.java.DataSet; | |
import org.apache.flink.api.java.ExecutionEnvironment; | |
import org.apache.flink.api.java.tuple.Tuple2; | |
import org.apache.flink.util.Collector; | |
import java.io.Serializable; |
NewerOlder