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
[client] | |
default-character-set = utf8mb4 | |
[mysql] | |
default-character-set = utf8mb4 | |
[mysqldump] | |
default-character-set = utf8mb4 | |
[mysqld] |
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.net.URI; | |
import java.net.http.HttpClient; | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpResponse; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Map; | |
public final class HttpUtils { | |
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(HttpUtils.class); | |
private static final HttpClient httpClient; |
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 'dart:async'; | |
import 'dart:convert'; | |
import 'package:html/parser.dart'; | |
import 'package:http/http.dart' as http; | |
class VideoService extends BaseService { | |
final KeyStorageService _keyStorageService = locator<KeyStorageService>(); | |
Future<List<Channel>> getChannels(String searchQuery) async { |
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 |
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
$ 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
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
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
#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
find . -type f | grep -i "\.git" | xargs rm |
NewerOlder