Skip to content

Instantly share code, notes, and snippets.

Avatar
🍂
Autumn

Taeguk Kwon taeguk

🍂
Autumn
View GitHub Profile
@taeguk
taeguk / test.md
Last active Jan 14, 2020
test.md
View test.md
View poc.scala
/*
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 Jun 21, 2019
Unwatch repositories of specific organizations
View unwatch-repos-of-org.js
// 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 Jun 6, 2019
Jeju Island - Marado
@taeguk
taeguk / gist:dac7a5a3037d215670f6a06fee447559
Last active Aug 9, 2018
maybe visual c++ 2015 Update 3 Bug?
View gist:dac7a5a3037d215670f6a06fee447559
// Test on MSVC 2015 Update 3
#include <exception>
#include <typeinfo>
template <typename T>
class A : T
{
};
template <typename T>
View asdf.md
Want to ruin the surprise?
Well, you asked for it!
View asdf
<details open>
<summary>Want to ruin the surprise?</summary>
<br>
Well, you asked for it!
<details>
View 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 Aug 18, 2017
scanpartitioner_with_removing_finalitems.cpp
View 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 Aug 18, 2017
scan_partitioner____.cpp
View 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