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 com.kakao.order.common.config.database; | |
/** | |
* Created by jaceshim on 2017. 8. 23.. | |
*/ | |
public enum DataSourceType { | |
WRITE, READ | |
} |
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
@Controller | |
public class ClassLoaderController { | |
/** | |
* | |
* @param clazzName 패키지를 포함한 클래스명 ex) javax.servlet.http.HttpServlet | |
* @return | |
*/ | |
@RequestMapping(value = "/find/jar") | |
@ResponseBody |
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
task "create-dirs" << { | |
sourceSets*.java.srcDirs*.each { it.mkdirs() } | |
sourceSets*.resources.srcDirs*.each { it.mkdirs() } | |
} |
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
find . -type f | grep -i "\.git" | xargs rm |
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
#mariadb audit plugin 설치 | |
무중단이 가능합니다! | |
## 플러그인 directory에서 server_audit.so 확인 | |
SHOW GLOBAL VARIABLES LIKE 'plugin_dir'; | |
## 설치 | |
INSTALL PLUGIN server_audit SONAME 'server_audit.so'; |
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 homo.efficio.java8.sort_by_value; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
/** | |
* @author [email protected] | |
* Created on 2019-05-05. | |
*/ |
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 'package:flutter/material.dart'; | |
class ScrollTest extends StatefulWidget { | |
@override | |
_ScrollTestState createState() => _ScrollTestState(); | |
} | |
class _ScrollTestState extends State<ScrollTest> { | |
ScrollController _scrollController = ScrollController(); | |
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
$ ssh -T -ai ~/.ssh/id_rsa [email protected] | |
# Connect to GitHub using a specific ssh key | |
> Hi username! You've successfully authenticated, but GitHub does not | |
> provide shell access. |
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
Navigator.of(context).pushAndRemoveUntil( | |
MaterialPageRoute(builder: (BuildContext context) => PageWidget()), | |
(Route<dynamic> route) => false, | |
); |
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/bash | |
for file in */ ; do | |
if [[ -d "$file" && ! -L "$file" ]]; then | |
echo "$file is a directory"; | |
zipfile=$(find $file -name *.zip) | |
rm $zipfile | |
echo "deleted zipfile to $zipfile" | |
cd $file |
OlderNewer