Skip to content

Instantly share code, notes, and snippets.

View puneetverma24's full-sized avatar

Puneet Verma puneetverma24

View GitHub Profile
@puneetverma24
puneetverma24 / Translate Animation.xml
Last active April 29, 2017 03:00
Tween Animation Properties
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="0"
android:toXDelta="200"
android:fromYDelta="0"
android:toYDelta="200"
android:duration="1000" >
</translate>
@puneetverma24
puneetverma24 / Scale Animation.xml
Created April 29, 2017 02:52
Tween Animation Properties
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXScale="0"
android:toXScale="1"
android:fromYScale="0"
android:toYScale="1"
android:duration="1000"
android:pivotX="50%"
android:pivotY="50%" >
</scale>
@puneetverma24
puneetverma24 / Rotate Animation.xml
Created April 29, 2017 02:52
Tween Animation Properties
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="0"
android:toDegrees="360"
android:duration="1000"
android:pivotX="50%"
android:pivotY="50%" >
</rotate>
@puneetverma24
puneetverma24 / Alpha Animation.xml
Last active April 29, 2017 02:58
Tween Animation Properties
<alpha android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="600">
</alpha>

Tmux Cheat Sheet

Tmux is a terminal multiplexer that enhances your command-line productivity by allowing you to manage multiple terminal sessions within a single window.

Basic Commands

  • Start a new session: tmux
  • List existing sessions: tmux list-sessions
  • Attach to a session: tmux attach-session -t session_name
  • Detach from session: Ctrl-b d