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
; -*- mode: dotspacemacs -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun global-set-keys (key def &rest bindings) | |
(while key | |
(global-set-key (kbd key) def) | |
(setq key (pop bindings) | |
def (pop bindings)))) |
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
### Keybase proof | |
I hereby claim: | |
* I am heliohead on github. | |
* I am heliohead (https://keybase.io/heliohead) on keybase. | |
* I have a public key whose fingerprint is 3879 A5A6 9ECE 6C45 9301 4B6A EE4D 2089 E743 CC53 | |
To claim this, I am signing this object: |
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
#!/usr/bin/env bash | |
# bash completion for azk | |
# | |
# If you using zsh needed to.... echo 'autoload -U bashcompinit && bashcompinit' >> ~/.zshrc | |
_azk(){ | |
local cur commands |
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
# 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 |
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
<% @uploads.each do |upload| %> | |
<%= link_to image_tag(upload.img.url(:thumb), rel: "prettyPhoto"), image_path(upload.img.url(:original)) %> | |
<% end %> | |
output: | |
<a href="/system/uploads/imgs/000/000/016/original/pics06.jpg?1402887326"><img alt="Pics06" rel="prettyPhoto" src="/system/uploads/imgs/000/000/016/thumb/pics06.jpg?1402887326" /></a> | |
How to put "rel" in to anchor? instead image tag. |
NewerOlder