$ mysql -u root -p
$ mysqldump -u root -p --routines [dbname] > [filename].sql;
$ mysqldump -u root -p --routines --all-databases > [filename].sql;
<!-- Change your id from "myUserId" to "my******" --> | |
<c:forEach var="i" begin="0" end="${fn:length(id)-1}"> | |
<c:choose> | |
<c:when test="${i <= 1}"> | |
<c:out var="${id.charAt(i)}" /> | |
</c:when> | |
<c:otherwise> | |
<c:out var="*" /> | |
</c:otherwise> |
<!-- set IE Browser's version latest--> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> |
<%@ page contentType="text/html; charset=EUC-KR" %> | |
<%@ page import="java.sql.*" %> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR" /> | |
<title>Oracle Connection Test</title> | |
</head> | |
<body> | |
<h1>Oracle Connection Text</h1> |
// If user types www.example.com, browser opens http://www.example.com by default. | |
var url = "https://www.example.com"; | |
window.location.replace(url); |
MacOS에서 MySQL 설치 도중 다음과 같은 오류가 발생했다:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock (2)'
아래 명령어까지는 정상적으로 실행됐다:
brew install mysql
버전과 관련된 에러다. Sequelize5부터는 find
함수가 사라지고 findOne
함수를 사용한다.
추가 내용은 http://docs.sequelizejs.com/manual/upgrade-to-v5.html#model 페이지의 Removed aliases 부분을 참고한다.
function goToMostPointedAnswerInGithubIssue() { | |
const pointsWithIndex = []; | |
const gEmojis = document.querySelectorAll('g-emoji'); | |
gEmojis.forEach((gEmoji, index) => { | |
// find +1 point emoji elements | |
if (gEmoji.getAttribute('alias') === '+1') { | |
const splitedHtml = gEmoji.parentElement.innerHTML.split('</g-emoji>'); | |
const point = Number(splitedHtml[splitedHtml.length - 1].trim()); | |
if (point > 0) { | |
pointsWithIndex.push({ point, index }); |
'use strict'; | |
var React = require('react-native'); | |
var { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
Easing, | |
Animated, |