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 main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
for true { | |
fmt.Println("Hello !!") |
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
brew install zsh | |
brew install zsh-autocomplete | |
open ~/.hyper.js and find 'shell' and assign 'zsh' to it. You can also open 'hyper.js' in Hyper app by pressing cmd+',' |
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
public class DrawableFadeInFactory implements TransitionFactory<Drawable> { | |
private final int duration; | |
private DrawableFadeInTransition resourceTransition; | |
protected DrawableFadeInFactory(int duration) { | |
this.duration = duration; | |
} | |
@Override | |
public Transition<Drawable> build(DataSource dataSource, boolean isFirstResource) { |
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
public class RatioViewPager extends ViewPager { | |
private float mRatio = 1f; | |
public RatioViewPager(Context context) { | |
super(context); | |
} | |
public RatioViewPager(Context context, AttributeSet attrs) { | |
super(context, attrs); |