Link: https://developer.android.com/about/versions/12/behavior-changes-12#exported
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
<table> | |
<!-- Header section --> | |
<thead> | |
<tr> | |
<td> | |
<div style="height: 100px; background: rgb(76, 164, 246);"> | |
<h1>Header</h1> | |
</div> | |
</td> | |
</tr> |
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
<table> | |
<!-- Header section --> | |
<thead style="display: table-header-group;"> | |
<tr> | |
<td> | |
<div style="height: 100px; background: rgb(76, 164, 246);"> | |
<h1>Header</h1> | |
</div> | |
</td> | |
</tr> |
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 firebase from 'firebase/app'; | |
import 'firebase/storage'; | |
import { Observable } from 'rxjs'; | |
firebase.initializeApp({ | |
apiKey: process.env.VUE_APP_API_KEY, | |
authDomain: process.env.VUE_APP_AUTH_DOMAIN, | |
databaseURL: process.env.VUE_APP_DATABASE_URL, | |
projectId: process.env.VUE_APP_PROJECT_ID, | |
storageBucket: process.env.VUE_APP_STORAGE_BUCKET, |
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
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
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
const mock = (success, timeout = 1000) => { | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
if(success) { | |
resolve(); | |
} else { | |
reject({message: 'Error'}); | |
} | |
}, timeout); | |
}); |
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
function foo(s) { | |
let isPalindrome = true; | |
for(let i in s) { | |
if(s[i] !== s[(s.length-1)-i]) { | |
isPalindrome = false; | |
} | |
} | |
return isPalindrome; | |
} |
NewerOlder