emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
- Undo -
C-/
- Redo -
C-?
- Change case: 1. Camel Case :
M-c
2. Upper Case :M-u
- Lower Case :
M-l
;; This are setting for nice tabbar items | |
;; to have an idea of what it looks like http://imgur.com/b0SNN | |
;; inspired by Amit Patel screenshot http://www.emacswiki.org/pics/static/NyanModeWithCustomBackground.png | |
;; Tabbar | |
(require 'tabbar) | |
;; Tabbar settings | |
(set-face-attribute | |
'tabbar-default nil | |
:background "gray20" |
" ----------------------------------------------------------------------------- | |
" VIM Configuration for Janus (https://github.com/carlhuda/janus.git) | |
" Lars Smit [email protected] | |
" ----------------------------------------------------------------------------- | |
" ----------------------------------------------------------------------------- | |
" Basics | |
" ----------------------------------------------------------------------------- | |
set encoding=utf8 |
set encoding=utf-8 | |
set nobackup | |
set noswapfile | |
set nocompatible | |
set autoindent | |
set showcmd | |
set visualbell | |
set ignorecase | |
set smartcase | |
set ruler |
有人用过cell么? | |
<span style="font-size: small;"><a target="_blank" href="http://rubyforge.org/frs/?group_id=2978&release_id=9650">http://rubyforge.org/frs/?group_id=2978&release_id=9650</a> | |
<br /></span> | |
<br /><span style="font-size: small;"> </span> | |
<br /><span style="font-size: small;"> | |
<br />非常小,源代码一目了然。感觉虽然有点土,但比自己做个module的方式好一点点 | |
<br />号称: 代替发挥component作用的controller, 这样就不需要邪恶的render_component了 | |
<br /></span> | |
<br /><span style="font-size: small;">A cell acts as a lightweight controller in the sense that it will assign variables and render a view.</span> |
# lib/tasks/deploy.rake | |
namespace :deploy do | |
desc 'Deploy to staging environment' | |
task :staging do | |
exec 'mina deploy -f config/deploy/staging.rb' | |
end | |
end |
emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/
C-?
M-c
2. Upper Case : M-u
M-l
Attemp to make work react with elm on a phoenix project.
The project directory for elm is
web
├── channels
├── controllers
│ └── api
│ └── v1
import webpack from "webpack"; | |
import ExtractTextPlugin from "extract-text-webpack-plugin"; | |
import CopyWebpackPlugin from "copy-webpack-plugin"; | |
import WebpackNotifierPlugin from "webpack-notifier"; | |
const extractSass = new ExtractTextPlugin({ | |
filename: "css/app.css" | |
}); | |
export default { |
Cian Johnston, July 2017
A couple of weeks ago, I decided I should put my gaming rig to work crypto mining. I did not expect to make any significant profit on this, it was more of a fun project to set up. However, there were a large number of tutorials and guides already out there, and many were more than a year out of date.
This guide assumes the reader already has a crypto wallet set up, is comfortable with Linux and the command line, and knows how to use Google if they run into problems.
The end result is an Ubuntu 16.04 LTS headless server running CUDA ethminer via systemd.