Skip to content

Instantly share code, notes, and snippets.

@omeha2
omeha2 / keymap.cson
Last active Jul 2, 2020
Keymap file for mac Atom which make it similar to windows
View keymap.cson
# CMD+. helpfull hotkey debugger
'atom-text-editor':
# Controll actions
'ctrl-s': 'core:save'
'ctrl-z': 'core:undo'
'ctrl-y': 'core:redo'
'ctrl-x': 'core:cut'
'ctrl-c': 'core:copy'
'ctrl-v': 'core:paste'
'ctrl-a': 'core:select-all'
@omeha2
omeha2 / code.html
Last active Apr 19, 2016
countdown which save in localstorage timer, for BVB
View code.html
<div class="bvb_bc_countdown bc_15_min">
<span class="bvb_panel bvb_minute">
<span class="tdigit">00</span>
<span class="tlabel">minutes</span>
</span>
<span class="bvb_panel bvb_sec">
<span class="tdigit">00</span>
<span class="tlabel">seconds</span>
</span>
</div>
@omeha2
omeha2 / code.html
Last active Apr 20, 2016
Box with 3 buttons, each have small popup
View code.html
<div class="bc_links_wrap">
<div class="bc_overlay bc_overlay_1">
<div class="bc_overlay_inner">
<h2>Our Phone is</h2>
<p>(666)highway-to-hell</p>
</div>
<div class="bc_overlay_close"></div>
</div>
<div class="bc_overlay bc_overlay_2">
<div class="bc_overlay_inner">
@omeha2
omeha2 / code.html
Created Mar 1, 2016
Social share btns
View code.html
<div class="bc_link_container">
<div class="bc_link_content bc_link_content_left">
<span style="color: #ffffff;">Share the Women's Strength Summit</span>
</div>
<div class="bc_link_content bc_link_content_right">
<ul class="bc_links_list">
<li class="bc_link_item bc_link_facebook">
<a href="http://www.facebook.com/sharer/sharer.php?u=http://womensstrengthsummit.com&t=Free Women’s Strength Summit: 33+ top female experts reveal how to become your strongest self." title=""
onclick="bc_open_window('http://www.facebook.com/sharer/sharer.php?u=http://womensstrengthsummit.com&amp;t=Free Women’s Strength Summit: 33+ top female experts reveal how to become your strongest self.'); return false;" target="_blank" rel="nofollow">
<span class="bc_link_icon"></span>
@omeha2
omeha2 / post_author_box.php
Created Nov 12, 2015
Shortcode for showing post author box - [bc_author_box]
View post_author_box.php
add_shortcode( 'bc_author_box', function($attr,$content = ''){
$out = '<style>
.bc_author_box {
border: 1px solid #D8D8D8;
white-space: nowrap;
line-height: 0;
}
.bc_author_box .avatar {
display: inline-block;
@omeha2
omeha2 / optin-box.html
Last active Oct 20, 2015
optin-box.html
View optin-box.html
<style>
.bc_optin {
width: 306px;
background-color: #f5f5f5;
font-family: "Roboto";
}
.bc_optin_header {
background-color: #114d97;
text-align: center;
padding: 20px;
View calendar-icon.html
<style>
.bc_date_block {
display: inline-block;
overflow: hidden;
background-color: #ededed;
text-align: center;
border-radius: 3px;
/* Uncomment this if you need center it with text which is on same line */
/* vertical-align: middle;*/
}