curl -L https://gist.githubusercontent.com/irof/fcab7b3d4aeb3eccc29f05f1ceca989e/raw/ac88bd536cf413ea885e0d47d331675d67bc906a/git-recovery.sh | sh
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
package bc; | |
import org.bouncycastle.bcpg.CompressionAlgorithmTags; | |
import org.bouncycastle.openpgp.*; | |
import org.bouncycastle.openpgp.bc.BcPGPObjectFactory; | |
import org.bouncycastle.openpgp.bc.BcPGPPublicKeyRing; | |
import org.bouncycastle.openpgp.bc.BcPGPSecretKeyRing; | |
import org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor; | |
import org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder; | |
import org.bouncycastle.openpgp.operator.bc.*; |
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
package me.irof.suburi; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.ObjectProvider; | |
import org.springframework.boot.context.event.ApplicationStartedEvent; | |
import org.springframework.context.event.EventListener; | |
import org.springframework.stereotype.Component; | |
import org.springframework.transaction.annotation.Transactional; |
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
// 2012/07/21 irof 修正開始 | |
//// 2012/07/21 削除開始 | |
//// // 間違ったコメント | |
//// 2012/07/21 削除終了 | |
// 2012/07/21 irof 削除開始 | |
// // 間違ったコメント | |
// 2012/07/21 irof 削除終了 | |
// 2012/07/21 irof 修正終了 | |
someMethod(arg); |
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
package customer.experience.presentation; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.http.ResponseEntity; | |
import org.springframework.web.bind.annotation.PathVariable; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
import java.util.Locale; |
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
plugins { | |
id 'java' | |
} | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
implementation 'com.amazonaws:aws-java-sdk:latest.release' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
git init | |
git commit --allow-empty -m"1" | |
git commit --allow-empty -m"2" | |
git checkout -b test-branch | |
git commit --allow-empty -m"3" | |
git commit --allow-empty -m"4" | |
git checkout master | |
git branch -D test-branch | |
git reflog |
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
#!/bin/sh | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object | |
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
fi |
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 java.util.*; | |
public class Hoge { | |
static class Fuga { | |
final String color; | |
final int weight; | |
Fuga(String color, int weight) { | |
this.color = color; | |
this.weight = weight; |
NewerOlder