Skip to content

Instantly share code, notes, and snippets.

View thangphan3000's full-sized avatar

Thang Phan thangphan3000

View GitHub Profile
@Lukewh
Lukewh / init.el
Created February 15, 2021 16:02
20210215 - Emacs config for typescript and CRA
(eval-and-compile
(customize-set-variable
'package-archives '(("org" . "https://orgmode.org/elpa/")
("melpa" . "https://melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package)))
@m-cakir
m-cakir / FirebaseImageService.java
Last active May 13, 2025 08:57
Spring Boot - File Upload to Firebase (Google Cloud)
import com.google.auth.oauth2.GoogleCredentials;
import com.google.cloud.storage.Blob;
import com.google.cloud.storage.Bucket;
import com.google.firebase.FirebaseApp;
import com.google.firebase.FirebaseOptions;
import com.google.firebase.cloud.StorageClient;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.boot.context.properties.ConfigurationProperties;
@devsalman
devsalman / init.vim
Created June 22, 2018 03:50
My neovim configuration for java development and vuejs (using vim-plug plugin manager)
call plug#begin()
Plug 'artur-shaik/vim-javacomplete2'
Plug 'sbdchd/neoformat'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'shougo/denite.nvim'
Plug 'majutsushi/tagbar'
Plug 'airblade/vim-rooter'
Plug 'scrooloose/nerdtree'