Skip to content

Instantly share code, notes, and snippets.

View Vadorequest's full-sized avatar

Vadorequest Vadorequest

View GitHub Profile
@Vadorequest
Vadorequest / v8_3.30.33.16-patched2_install.log
Created November 22, 2017 22:15
Failure compiling RethinkDB under Ubuntu 17.10 from source
This file has been truncated, but you can view the full file.
+ pkg_depends_env
++ pkg_depends
++ true
+ pkg_install
+ pkg_copy_src_to_build
+ mkdir -p /home/vadorequest/rethinkdb-2.3.6/build/external/v8_3.30.33.16-patched2/build
+ cp -af /home/vadorequest/rethinkdb-2.3.6/external/v8_3.30.33.16-patched2/. /home/vadorequest/rethinkdb-2.3.6/build/external/v8_3.30.33.16-patched2/build
+ in_dir /home/vadorequest/rethinkdb-2.3.6/build/external/v8_3.30.33.16-patched2/build patch -fp1
+ local dir=/home/vadorequest/rethinkdb-2.3.6/build/external/v8_3.30.33.16-patched2/build
+ shift
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
With OVH VPS + 50Go additional disk + Backups using Rsync
| Item | Monthly | Yearly |
|---------------|---------|------------|
| Domain name | | ~9€ |
| VPS | 3.59€ | 43.08€ |
| +50Go HDD | 6€ | 72€ |
| Backup server | $8 | $96 (81€) |
| TOTAL | ~€17€ | ~205€ |
docker run -e VIRTUAL_HOST=my-blog.com,www.my-blog.com -e url=http://my-blog.com/ -d --name blog -p 3003:2368 -v /var/www/blog:/var/lib/ghost/content ghost:1.12.1-alpine
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy:alpine
docker stop blog
docker start blog
docker rm blog # remove the blog container, it's lost forever. (but your data are safe on your host)
docker run -e url=http://localhost:3002/ -d --name blog -p 3002:2368 -v /var/www/blog:/var/lib/ghost/content ghost:1.12.1-alpine
@Vadorequest
Vadorequest / Immortal Conquest: Europe - Tips - By Vadorequest (Beta version).md
Last active February 27, 2017 00:38
Immortal Conquest: Europe - Tips - By Vadorequest (Beta version)
@Vadorequest
Vadorequest / .gitconfig
Last active February 27, 2025 06:35
My own Git config
# Gist: https://gist.github.com/Vadorequest/9d1f86b19dff5e1f7946a2f6b15a97f3
# Best practices: See https://blog.gitbutler.com/how-git-core-devs-configure-git
[push]
default = simple
autoSetupRemote = true
followTags = true
[alias]
fetch = git fetch --tags
reflog = git reflog --date=iso
st = status
@Vadorequest
Vadorequest / MyComponent.js
Last active December 5, 2017 19:42
HOC component to get the history using React-Router v4 (alpha)
import withRouter from './utils/withRouter';
const MyComponent = ({ history }) =>
<button onClick={() => history.goBack()}>Back</button>
export default compose(
withRouter,
)(MyComponent);