-
Description
If you execute "install_git_cspro.sh" script and set the environment variables, git would be installed on a shared host and we finally use Git. "cspro" is the name of Sogang Univ.'s linux server computer.
(Why we download curl)We need to use curl for https, so we also install curl. -
How to execute shell script
$ source install_git_cspro.sh
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 <iostream> | |
// 특성정보에 대한 tag들. | |
struct walk_ability_tag {}; | |
struct jump_ability_tag {}; | |
struct fly_ability_tag {}; | |
struct run_ability_tag :public walk_ability_tag {}; | |
struct ground_ability_tag :public run_ability_tag, public jump_ability_tag {}; | |
struct all_ability_tag :public ground_ability_tag, public fly_ability_tag {}; |
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 <iostream> | |
template <unsigned N> | |
struct IsPrime { | |
static_assert(N >= 2, "The number must not be less than 2."); | |
IsPrime() = delete; | |
static bool value() { return static_cast<bool>(_value); } | |
private: |
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 <thread> | |
#include <future> | |
#include <exception> | |
#include <chrono> | |
#include <iostream> | |
class interrupt_flag | |
{ | |
std::atomic<bool> flag; | |
std::condition_variable* thread_cond; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
object RWS extends App { | |
trait Pointed[P[_]] { | |
def point[A](a: A): P[A] | |
} | |
trait PointedFunctor[PF[_]] extends Pointed[PF] with Functor[PF] | |
implicit def listIsMonoid[A]: Monoid[List[A]] = new Monoid[List[A]] { | |
def id: List[A] = Nil |
연말정산 때문에 신용카드 사용내역서를 뽑으려는데 신한카드가 나에게 MarkAny 라는 똥을 줬다.
똥을 피하려고 VMWare 를 켰지만, 가상머신 환경ㄴㄴ 라면서 자꾸 빠꾸를 당해서 그냥 맥으로 시도를 해봤다.
그러자 물소똥 같은 pkg 파일을 주면서 root 권한으로 설치를 강요했다. 망할놈들...
하지만 root 권한까지 다 줘 가면서 까라는 대로 깠으나 내 손에 소득공제 증빙자료를 쥘 수는 없었다.
매우 열받는 일이지만 어쨌건 더러운 마크애니 놈들 때문에 설치(당)한 패키지들을 색출해서 조져야 했다.
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 shapeless._ | |
trait Flatten[I, O <: HList] { | |
def apply(i: I): O | |
} | |
trait FlattenLow { | |
implicit def otherFlatten[I] = new Flatten[I, I :: HNil] { | |
def apply(i: I) = i :: HNil | |
} |
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
export GIT_COMMITTER_DATE="Fri Jun 21 20:26:41 2013 +0900" | |
git commit --amend --date "Fri Jun 21 20:26:41 2013 +0900" -m 'fix committer_date and author_date' | |
unset GIT_COMMITTER_DATE | |
export GIT_COMMITTER_DATE="2013-08-01 23:01:01 +0900" | |
git commit --amend --date "2013-08-01 23:01:01 +0900" -m 'fix committer_date and author_date' | |
unset GIT_COMMITTER_DATE |
OlderNewer