Skip to content

Instantly share code, notes, and snippets.

View taeguk's full-sized avatar
❄️
asdf

Taeguk Kwon taeguk

❄️
asdf
View GitHub Profile
@taeguk
taeguk / test.md
Last active January 14, 2020 05:39
test.md
/*
scalaVersion := "2.12.8"
scalacOptions ++= Seq(
"-Xfatal-warnings",
"-Ypartial-unification"
)
libraryDependencies += "org.typelevel" %% "cats-core" % "1.0.0"
libraryDependencies += "org.typelevel" %% "cats-effect" % "1.3.1"
libraryDependencies += "org.typelevel" %% "cats-effect-laws" % "1.3.1" % "test"
*/
@taeguk
taeguk / unwatch-repos-of-org.js
Created June 21, 2019 09:34
Unwatch repositories of specific organizations
// run js codes in https://github.com/watching
Array.prototype.slice.call(
document.querySelectorAll('.clearfix')
).map(function (row) {
if (row.querySelector('div:first-child').innerText.indexOf('ORGANIZATION_NAME/') >= 0) {
row.querySelector('button').click()
}
})
location.reload()
@taeguk
taeguk / 11.gif
Last active June 6, 2019 15:57
Jeju Island - Marado
11.gif
@taeguk
taeguk / gist:dac7a5a3037d215670f6a06fee447559
Last active August 9, 2018 06:48
maybe visual c++ 2015 Update 3 Bug?
// Test on MSVC 2015 Update 3
#include <exception>
#include <typeinfo>
template <typename T>
class A : T
{
};
template <typename T>
@taeguk
taeguk / asdf.md
Last active November 7, 2017 04:56
asdf.md
Want to ruin the surprise?
Well, you asked for it!
@taeguk
taeguk / asdf
Created November 7, 2017 04:56
asdf
<details open>
<summary>Want to ruin the surprise?</summary>
<br>
Well, you asked for it!
<details>
@taeguk
taeguk / ensure_future.cpp
Created August 25, 2017 13:58
ensure_future.cpp
template <typename T>
struct ensure_future
{
typedef hpx::future<T> type;
static type get(T && t)
{
return hpx::make_ready_future(std::move(t));
}
@taeguk
taeguk / scanpartitioner_with_removing_finalitems.cpp
Created August 18, 2017 08:44
scanpartitioner_with_removing_finalitems.cpp
// Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (c) 2015 Daniel Bourgeois
// Copyright (c) 2017 Taeguk Kwon
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_PARALLEL_UTIL_SCAN_PARTITIONER_DEC_30_2014_0227PM)
#define HPX_PARALLEL_UTIL_SCAN_PARTITIONER_DEC_30_2014_0227PM
@taeguk
taeguk / scan_partitioner____.cpp
Created August 18, 2017 08:37
scan_partitioner____.cpp
// Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (c) 2015 Daniel Bourgeois
// Copyright (c) 2017 Taeguk Kwon
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_PARALLEL_UTIL_SCAN_PARTITIONER_DEC_30_2014_0227PM)
#define HPX_PARALLEL_UTIL_SCAN_PARTITIONER_DEC_30_2014_0227PM