Skip to content

Instantly share code, notes, and snippets.

megos megos

Block or report user

Report or block megos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@megos
megos / docker-compose.yml
Created Apr 4, 2019
MailCatcher docker-compose
View docker-compose.yml
smtp:
image: schickling/mailcatcher
ports:
- "1080:1080" # web
- "1025:1025" # smtp
restart: unless-stopped
@megos
megos / keymap.txt
Created Mar 29, 2019
Google IME keymap for windows like Mac
View keymap.txt
status key command
Composition Backspace Backspace
Composition Ctrl a MoveCursorToBeginning
Composition Ctrl Backspace Backspace
Composition Ctrl d MoveCursorRight
Composition Ctrl Down MoveCursorToEnd
Composition Ctrl e MoveCursorToBeginning
Composition Ctrl Enter Commit
Composition Ctrl f MoveCursorToEnd
Composition Ctrl g Delete
@megos
megos / docker-compose.yml
Created Mar 26, 2019
GitLab Runner docker-compose
View docker-compose.yml
runner:
image: gitlab/gitlab-runner:latest
volumes:
- ./config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
@megos
megos / gitlab-runner-update.sh
Created Mar 26, 2019
GitLab Runner update script on CoreOS
View gitlab-runner-update.sh
#!/bin/bash
sudo /opt/bin/gitlab-runner stop
sudo wget -O /opt/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
sudo chmod +x /opt/bin/gitlab-runner
sudo /opt/bin/gitlab-runner start
@megos
megos / docker-compose.yml
Created Jan 18, 2018
Oracle DB 11g docker compose
View docker-compose.yml
db:
image: oracle/database:11.2.0.2-xe
ports:
- 1521:1521
- 8085:8080
shm_size: 1g
volumes:
- ./data:/u01/app/oracle/oradata
environment:
- ORACLE_PWD=<password>
@megos
megos / stylish_twitter_square
Last active Sep 4, 2018
Twitterアイコンを四角に戻すStylishスタイルシート
View stylish_twitter_square
@-moz-document domain("twitter.com") {
.edge-design .Avatar, .edge-design .DashboardProfileCard-avatarImage, .edge-design .DashboardProfileCard-avatarLink, .edge-design .Gallery.is-tweetless .Gallery-content, .edge-design .Gallery.is-tweetless .Gallery-media, .edge-design .MomentCapsuleCover .MomentUserByline-avatar, .edge-design .MomentCapsuleItemTweet--withText .MomentUserByline-avatar, .edge-design .MomentCapsuleSummary .MomentUserByline-avatar, .edge-design .MomentMakerRecommendedTweetsSearch--users .MomentMakerRecommendedTweetsSearch-userContainer .avatar, .edge-design .ProfileAvatar, .edge-design .ProfileAvatar-image, .edge-design .ProfileAvatar-placeholderImage, .edge-design .ProfileAvatarEditing, .edge-design .ProfileAvatarEditing-button, .edge-design .ProfileAvatarEditing-overlay, .edge-design .ProfileCard-avatarImage, .edge-design .ProfileCard-avatarLink, .edge-design .ProfileCardMini-avatarImage, .edge-design .ProfileListItem-avatar, .edge-design .ProfileUserList .Avatar, .avatar {
border-ra
@megos
megos / mattermost_upgrade.sh
Last active Jun 5, 2017
mattermost upgrade script
View mattermost_upgrade.sh
#!/bin/bash
if [ $# -ne 1 ]; then
echo 'Usage: ./mattermost_upgrade.sh [version]'
exit 1
fi
version=$1
cd /usr/local/src
@megos
megos / stylish_lovelive_bushimo.css
Created Jun 26, 2016
スクフェスの背景アニメーションを止めるStylish用CSS
View stylish_lovelive_bushimo.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("lovelive.bushimo.jp") {
@-webkit-keyframes bg-rotate {}
@keyframes bg-rotate {}
}
@megos
megos / getWallPaper.sh
Created Apr 26, 2016
スクフェスRTキャンペーンの壁紙を保存するだけのスクリプト
View getWallPaper.sh
#!/bin/bash
waitTime=1
for member in honoka eli kotori umi rin maki nozomi hanayo nico
do
for size in 1136-x-640 1334-x-750 1080x1920 android
do
wget http://s3-ap-northeast-1.amazonaws.com/lovelive.bushimo.jp/wp-content/uploads/2016/04/${member}_${size}.png
sleep $waitTime
@megos
megos / svnAllUpdate.sh
Created Apr 14, 2016
複数のSubversionプロジェクトを一括でupdateするスクリプト
View svnAllUpdate.sh
#!/bin/bash
find . -maxdepth 1 -type d | while read dir
do
if [ -e $dir/.svn ]; then
svn update $dir
fi
done
You can’t perform that action at this time.