- aws-vault(brewなどでインストールする)をすべてのマシンにインストールしておく
- iCloud Driveなどの個人用の共有ドライブをセットアップしておく.
- シェルの設定ファイル(bashの場合は.bashrc)をすべてのマシンで同期しておく.
This file contains hidden or 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
<div> | |
{{ pyg | safe }} | |
</div> |
When I debug build and run the app in iPhone Simulator, sometimes the packager doesn't run automatically for some unknown reason. I have to run the packager manually.
$ <YourWorkspace>/node_modules/react-native/scripts/launchPackager.command
I've got this issue with React Native 0.61.5 and 0.63.4 + macOS 10.15.7 + XCode 12.3.
M1 MacBookAirでamd64(x86_64)のコンテナイメージをビルドして実行する方法を検討しました. 現状Experimentalな機能を使用しているので,プロダクションでの使用は注意してください.
- MacBook Air (M1, 2020)
- macOS Big Sur 11.1
- Docker Desktop Technical Preview(2020/12/18にダウンロード)
This file contains hidden or 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
;;; multi-lingual.el --- | |
;; Copyright (C) 2010 yamaneko | |
;; Author: yamaneko <[email protected]> | |
;; Keywords: | |
;; This file is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation; either version 3, or (at your option) |
This file contains hidden or 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
[web] | |
push_ssl = false | |
allow_push = * |
Hi. I start to use FreeBSD 9.1 Relese AMI(ami-cef348cf) and found a small problem, /etc/passwd is not updated on the first boot. I think, should call pwd_mkdb in /root/ec2-bits/ec2-user.sh, like below.
15a16
> pwd_mkdb -p $ETCDIR/master.passwd
This file contains hidden or 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 <Foundation/Foundation.h> | |
typedef void (^CallableBlock)(); | |
@interface BlocksWrapper : NSObject | |
@property (strong, nonatomic) CallableBlock blocks; | |
- (BlocksWrapper *)initWithBlocks:(CallableBlock)blocks; | |
- (void)invoke; |
This file contains hidden or 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
from unittest import TestCase | |
class CallCounter(object): | |
"""Check a numbe of time a callable is called.""" | |
def __new__(cls, *args, **kargs): | |
inst = super(CallCounter, cls).__new__(cls, *args, **kargs) | |
inst._patch_mgr = PatchManager() | |
inst._targets = {} |
This file contains hidden or 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
(defn big [st n] (> (count st) n)) |
NewerOlder