Skip to content

Instantly share code, notes, and snippets.

Working from Mars

James Chen ashchan

Working from Mars
Block or report user

Report or block ashchan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ashchan / ckb.log
Created Aug 14, 2019
CKB Testnet v0.18.0 2019-08-14:19:02
View ckb.log
2019-08-14 19:02:56.155 +09:00 ChainService INFO ckb-chain block: 34819, hash: 0xccad9e61f74b0c39e3e12cd445231e014c40c56bb54c44b7b2920e2b5dc5bd4a, total_diff: 0x53a93c3738, txs: 1
2019-08-14 19:02:56.155 +09:00 ChainService INFO ckb-chain block: 34820, hash: 0xe7401e8df84bef453e0f02649ce556c7b9a038823892cce2e8747feee29309da, total_diff: 0x53ab76ed1c, txs: 1
2019-08-14 19:02:56.156 +09:00 ChainService INFO ckb-chain block: 34821, hash: 0x59b3fd0e5a5c095d68fb1f8b9860963df59e002733b95e216de0e167663299ff, total_diff: 0x53adb1a300, txs: 1
2019-08-14 19:02:56.156 +09:00 ChainService INFO ckb-chain block: 34822, hash: 0xda697d09dee2f6de9f248b71031e5998dc73a47ccab4693a4d72b2a5118b8ef0, total_diff: 0x53afec58e4, txs: 1
2019-08-14 19:02:56.156 +09:00 ChainService INFO ckb-chain block: 34823, hash: 0xfe1080b5b453cafa9e7347a330766df9b1096768e66bbefec015a4837055933d, total_diff: 0x53b2270ec8, txs: 1
2019-08-14 19:02:56.157 +09:00 ChainService INFO ckb-chain block: 34824, hash: 0xfd7428526abcaa5e0450886bbdb149f21f716
View gist:fbb5dcc70c48a6434b41154d61217da6
View gist:a628dfc9adca733b69aab88d6304557d
View gist:de8c9ac89678c2db24c4658519d05544
View gist:ee95e178fbdf13ca77ac88d77031baa0
ashchan / HairlineView.swift
Last active Aug 29, 2015
Draw a half pixel horizontal line
View HairlineView.swift
import UIKit
// How to use
// Drag an UIView to storyboard, set constraints.
// Set the height constraint priority to less than 1000.
// The view will override that to half pixel.
class HairlineView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
ashchan / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
ashchan / link_nongiest.rake
Last active Dec 15, 2015
Symbolink to digested assets (w/ fingerprint)
View link_nongiest.rake
You can’t perform that action at this time.