If you use atom... download & install the following packages:
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
// This file is SUPER RAW. Debugging and test code abound! | |
// This is a pure JS PNG encoder which skips zlib compression. Good enough for small dynamic data URIs though | |
var testData = [[25, 0, 151, 255, 25, 0, 151, 255, 25, 0, 151, 255], [25, 0, 151, 255, 25, 0, 151, 255, 25, 0, 151, 255], [25, 0, 151, 255, 25, 0, 151, 255, 25, 0, 151, 128]]; | |
var preFilteredPngImage = [[0x19, 0, 0x97, 0xff, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x81]]; | |
var preFilteredPngData = [1, 0x19, 0, 0x97, 0xff, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x81]; | |
var encodePng = function(data) { |
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
# Path to your oh-my-zsh configuration. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
#export ZSH_THEME="robbyrussell" | |
export ZSH_THEME="zanshin" |
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
/** | |
* Saenaru Javascript Hangul Input Method by wkpark at gmail.com | |
* 2013/03/25 | |
* License: GPLv2 | |
*/ | |
var Saenaru = function() {}; | |
Saenaru.prototype = { | |
_q: [], |
이 글은 안드레이 카패시의 글 소프트웨어 2.0 을 번역한 것입니다. 의/오역이 있을 수 있습니다.
나는 때때로 사람들이 뉴럴넷을 "기계학습 도구 상자의 또 다른 도구"로 언급하는 것을 본다. 뉴럴넷은 장단점이 있다. 여기 저기에서 동작하고, 때로는 캐글 경쟁에서 승리하는데 사용할 수도 있다. 그러나 이 해석은 완전히 나무만 보고 숲을 보지 못하는 것이다. 뉴럴넷은 단지 또 다른 종류의 분류기가 아니다. 그것은 우리가 소프트웨어를 작성하는데 있어 근본적인 변화의 시작을 나타낸다. 그것은 소프트웨어 2.0이다.
소프트웨어 1.0의 "고전적인 스택"은 우리가 익숙한 것이다. 그것은 Python, C++ 등의 언어로 작성이 되어 있고, 프로그래머가 작성한 구체적 명령으로 구성되어 있다. 프로그래머는 코드의 각 라인을 작성하는 것으로 프로그램 공간의 특정 포인트를 어떤 원하는 행동으로 확정짓고 있다.
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 ein.core.core | |
import ein.core.regex.eReg | |
interface ePrimitive { | |
companion object { | |
val EMPTY = ePrimitive("") | |
operator fun invoke(v:String) = eString(v) | |
operator fun invoke(v:Long) = eLong(v) | |
operator fun invoke(v:Double) = eDouble(v) |
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 function properTextColor(backColor, trueBackColor) { | |
function getRGBAfromHEX(color) { | |
color = color.slice(1).replace(color.length < 5 && /./g, '$&$&'); | |
color = parseInt(color.length > 6 ? color : color + 'FF', 16); | |
return { | |
r: color >>> 24, | |
g: color >>> 16 & 255, | |
b: color >>> 8 & 255, | |
a: color & 255 |
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 <algorithm> | |
#include <type_traits> | |
template <int... Ints> | |
struct Row { | |
constexpr static bool empty = (sizeof...(Ints) == 0); | |
}; | |
template <typename Upper, typename Lower> | |
struct Domino { |
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
IME_CHECK(WinTitle) | |
{ | |
WinGet,hWnd,ID,%WinTitle% | |
Return Send_ImeControl(ImmGetDefaultIMEWnd(hWnd),0x005,"") | |
} | |
Send_ImeControl(DefaultIMEWnd, wParam, lParam) | |
{ | |
DetectSave := A_DetectHiddenWindows | |
DetectHiddenWindows,ON |
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
const fetchStream = async (request)=>{ | |
const controller = new AbortController(); | |
try { | |
const option = { | |
method:request.method, | |
mode:request.mode, | |
credentials: 'include', | |
signal:controller.signal | |
}; | |
if(request.headers) option.headers = request.headers; |
OlderNewer