PG::ConnectionBad at /
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
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
#!/bin/bash | |
# This script can be used in "run & hope" mode or you can use it as a recipe to | |
# do things manually - you probably want the latter if you really care about | |
# the data in your databases. | |
# Happy hacking | |
# /Eoin/ | |
# Tell bash to stop if something goes wrong | |
set -e |
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
// コピー(コピーしたいフォームの値をlocalstrageへ) | |
var data = {}; | |
$('form input[type!=hidden], form textarea').each(function(i, el){ | |
data[el.id] = $(el).val(); | |
}) | |
localStorage.setItem("form-data",JSON.stringify(data)); | |
// ペースト(localstrageから取り出して入力) | |
var restore = JSON.parse(localStorage.getItem("form-data")); | |
for(var i in restore) { |
新社会人に必須である:
- 勤務先との書面による「労働契約」。業務委託契約等NG。
- 多寡を問わず毎月払われる給料。遅配等論外である。
- 健康保険。
- 労災保険。
- 雇用保険。
- 三六協定。
- 年次有休。
- 育児休業の制度があり取得者がいる会社に勤務する。
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
import React from 'react' | |
export class Appp extends React.Component{ | |
constructor(props) { | |
super(props) | |
this.state = { | |
counter: 0 | |
} | |
} | |
change(e) { | |
console.log(e.target.value) |
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
shared_examples "foo" do | |
# ここで "foo" を参照したいのですが、何か方法はありませんか? | |
end |
Git 2.26.0以下*1には、細工したリポジトリをgit clone
したときに、
そのユーザーのCredential(たとえばGitHub.comをcloneするときに使う認証情報)を奪い取れる脆弱性があります。
📝 取得できる認証情報は credential.helper
の設定に依存する
既にPoC(検証するためのコード)もあり、結構簡単なので是非Gitを2.26.1以上にアップデートしましょう。 git submoduleを使うと見た目ではわかりにくい攻撃もできるので、「気をつける」では回避は難しいです。
OlderNewer