This file contains 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
# git | |
alias ss='git status' | |
alias ff='git diff' | |
alias ll='git log' | |
alias show='git show' | |
# git add | |
alias dd='git add' | |
alias ddd='git add .' | |
alias cc='git commit -m' | |
alias ppp='git push -u origin master' |
This file contains 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
$(window).scroll(function() { | |
var sticky = $('.header,.header-wrap'), | |
scroll = $(window).scrollTop(); | |
(scroll >= 100 ) ? sticky.addClass('fixed') : sticky.removeClass('fixed'); | |
}); | |
/*css*/ | |
.fixed{ | |
position:fixed; | |
background: #BEEB9F; |
This file contains 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
$(window).on('scroll', function() { | |
$('*[class^="land"]').each(function() { | |
if($(window).scrollTop() >= $(this).offset().top) { | |
var id = $(this).attr('id'); | |
$('a').removeClass('current'); | |
$('a[href=#'+ id +']').addClass('current'); | |
} | |
}); | |
}); |
This file contains 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
//jQuery for page scrolling feature | |
$(function() { | |
$('.nav li a').on('click', function(event) { | |
$('html, body').stop().animate({ | |
scrollTop: $($(this).attr('href')).offset().top | |
}, 900); | |
if ($(window).width() < 769) { | |
$(".nav").slideToggle("fast"); | |
} | |
event.preventDefault(); |
This file contains 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
$(".popup-click").click(function(){ | |
//$(".popup").slideToggle("fast"); | |
//$('.mask').toggleClass('open'); | |
$(".popup,.mask").addClass("open"); | |
$("a.close").click(function(){ | |
$(".popup,.mask").removeClass("open"); | |
}); | |
return false; | |
}); |
This file contains 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
<?php | |
/* | |
Plugin Name: Ajax message | |
Plugin URI: http://keksus.com/wordpress-plugins/ae.html | |
Description: Send message to email with ajax form | |
Version: 0.0.1 | |
Author: Keksus | |
Author URI: http://keksus.com/ | |
Text Domain: ae | |
Domain Path: /languages/ |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Do not edit this file, it will be overwritten on install. | |
Copy the file to $HOME/.config/openbox/ instead. --> | |
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
<resistance> | |
<strength>10</strength> | |
<screen_edge_strength>20</screen_edge_strength> | |
</resistance> | |
<focus> | |
<focusNew>yes</focusNew> |
This file contains 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
# | |
# When rebooting, restore the image to the desktop background | |
eval `cat $HOME/.fehbg` & | |
tint2 & |
This file contains 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
# Tint2 config file | |
# Generated by tintwizard (http://code.google.com/p/tintwizard/) | |
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure | |
# Background definitions | |
# ID 1 | |
rounded = 7 | |
border_width = 2 | |
background_color = #000000 60 | |
border_color = #FFFFFF 16 |
OlderNewer