This file contains hidden or 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
class Solution: | |
def convert(self, s: str, numRows: int) -> str: | |
if numRows == 1: | |
return s | |
rows = [""] * numRows | |
for i, c in enumerate(s): | |
row_index = i % ((numRows - 1) * 2) | |
if row_index >= numRows - 1: |
This file contains hidden or 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
# 変更を全て add し commit | |
git commit -a -m "[skip ci] WIP: commit due to emergency" | |
# リモートの wip-ブランチ名-コミットハッシュブランチに push | |
git push origin $(git symbolic-ref --short HEAD):wip-$(git symbolic-ref --short HEAD)-$(git rev-parse HEAD) |
This file contains hidden or 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
JSON.stringify( | |
[undefined, "maskable"].flatMap((purpose) => | |
[72, 96, 120, 128, 144, 152, 180, 192, 384, 512].map((s) => ({ | |
src: `/icons/app-icon${ | |
purpose === "maskable" ? "--maskable" : "" | |
}-${s}.png`, | |
sizes: `${s}x${s}`, | |
type: "image/png", | |
purpose | |
})) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 Auth0AmplifyConnector: React.FC = () => { | |
const { user, getIdTokenClaims, isAuthenticated, logout } = useAuth0(); | |
useEffect(() => { | |
const callback = async () => { | |
const currentAmplifyUser = await Auth.currentAuthenticatedUser().catch( | |
() => undefined | |
); | |
// auth state not changed. |
This file contains hidden or 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
/* ==UserStyle== | |
@name gaming manaba | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description make gaming manaba+R | |
@author Me | |
==/UserStyle== */ | |
@-moz-document domain("ct.ritsumei.ac.jp") { | |
@keyframes gaming { | |
0% { |
This file contains hidden or 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
/* ==UserStyle== | |
@name manaba+R+dark | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description darken manaba+R | |
@author ygkn | |
==/UserStyle== */ | |
@-moz-document domain("ct.ritsumei.ac.jp") { | |
html { | |
filter: invert(1) hue-rotate(180deg); |
This file contains hidden or 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
test: | |
echo $(HOME) |