@siisee111 20 Followers 🕴 Latest Articles 👇 React Navigation Theme Ty... 👏 0 GRUB 엔트리 삭제 👏 0 SR-IOV infiniband Connect... 👏 0
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
🌞 Morning 49 commits ██░░░░░░░░░░░░░░░░░░░ 9.6% | |
🌆 Daytime 200 commits ████████▎░░░░░░░░░░░░ 39.4% | |
🌃 Evening 163 commits ██████▋░░░░░░░░░░░░░░ 32.1% | |
🌙 Night 96 commits ███▉░░░░░░░░░░░░░░░░░ 18.9% |
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
import '@react-navigation/native'; | |
// Override the theme in react native navigation to accept our custom theme props. | |
declare module '@react-navigation/native' { | |
export type ExtendedTheme = { | |
dark: boolean; | |
colors: { | |
primary: string; | |
secondary: string; | |
tertiary: string; |
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
"================vim-plug====================== | |
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-fugitive' | |
Plug 'morhetz/gruvbox' | |
Plug 'git://git.wincent.com/command-t.git' | |
Plug 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Plug 'scrooloose/nerdtree' | |
Plug 'bling/vim-airline' |
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
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation 'com.google.android.gms:play-services-auth:18.0.0' | |
implementation 'com.google.firebase:firebase-core:17.0.0' | |
implementation 'com.google.firebase:firebase-auth:19.1.0' | |
implementation 'com.squareup.picasso:picasso:2.71828' | |
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | |
implementation 'com.google.android.material:material:1.1.0' |
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 ProfileActivity extends AppCompatActivity implements View.OnClickListener{ | |
public static final String GOOGLE_ACCOUNT = "google_account"; | |
private TextView profileName, profileEmail; | |
private ImageView profileImage; | |
private GoogleSignInAccount mGoogleSignInAccount; | |
private GoogleSignInClient mGoogleSignInClient; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".ProfileActivity"> | |
<ImageView | |
android:id="@+id/profile_image" |
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
private void updateUI(GoogleSignInAccount account) { | |
Intent intent = new Intent(getApplicationContext(), ProfileActivity.class); | |
intent.putExtra(ProfileActivity.GOOGLE_ACCOUNT, account); | |
startActivityForResult(intent,1001); | |
finish(); | |
} |
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 MainActivity extends AppCompatActivity implements View.OnClickListener { | |
private static final int RC_SIGN_IN = 9001; | |
private static final String TAG = "Oauth2Google"; | |
GoogleSignInClient mGoogleSignInClient; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); |
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
#define EPERM 1 /* Operation not permitted */ | |
#define ENOENT 2 /* No such file or directory */ | |
#define ESRCH 3 /* No such process */ | |
#define EINTR 4 /* Interrupted system call */ | |
#define EIO 5 /* I/O error */ | |
#define ENXIO 6 /* No such device or address */ | |
#define E2BIG 7 /* Arg list too long */ | |
#define ENOEXEC 8 /* Exec format error */ | |
#define EBADF 9 /* Bad file number */ | |
#define ECHILD 10 /* No child processes */ |
NewerOlder