Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.
- Create Separate Config Directories
mkdir ~/.claude-account1 mkdir ~/.claude-account2
_ (underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
0 (zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)$ (dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$ will delete from wherever your cursor is till the end of the linef<character> to move cursor to the first occurrence of <character>
f( to move cursor to first occurence of (t<character> to move cursor to upto but not on the first occurrence of <character>t( to move cursor to first occurence of (| // Not object class. AndroidManifest.xml error happen. | |
| class MainApplication : Application() { | |
| init { | |
| instance = this | |
| } | |
| companion object { | |
| private var instance: MainApplication? = null |
| #!/bin/bash | |
| # Based on http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html | |
| # Requires ffmpeg | |
| filename="${1%.*}" | |
| palette="/tmp/palette.png" | |
| filters="scale=320:-1:flags=lanczos" | |
| ffmpeg -v warning -i "$1" -vf "$filters,palettegen" -y $palette | |
| ffmpeg -v warning -i "$1" -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y "$filename.gif" |
| curl -X POST \ | |
| -H "X-Parse-Application-Id: LL9oIdzIkmwl5xyowQQu0fTmXyUWfet9RuAzwHfj" \ | |
| -H "X-Parse-REST-API-Key: R3S8PYQKuzeV4c8MUeO5ved46C50MEp56boDHW1O" \ | |
| -H "Content-Type: application/json" \ | |
| -d @data.json \ | |
| https://parseapi.back4app.com/functions/import |
| var React = require('react'); | |
| var LinkedinLogin = React.createClass({ | |
| componentDidMount: function() { | |
| var liRoot = document.createElement('div'); | |
| liRoot.id = 'linkedin-root'; | |
| document.body.appendChild(liRoot); |
| { | |
| "name": "think-in-react", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "app.js", | |
| "scripts": { | |
| "dev": "webpack-dev-server --devtool source-maps --hot --progress --colors --content-base .", | |
| "build": "set NODE_ENV=production&&webpack -pd" | |
| }, | |
| "browserify": { |
| package android.support.v4.widget; | |
| import android.content.Context; | |
| import android.graphics.Canvas; | |
| import android.os.Handler; | |
| import android.support.annotation.ColorInt; | |
| import android.support.annotation.ColorRes; | |
| import android.support.annotation.NonNull; | |
| import android.support.v4.content.ContextCompat; | |
| import android.util.AttributeSet; |