dropdown menu use AngularJS
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
var css3style = { | |
transitions : { | |
'transition': 'transitionEnd', | |
'OTransition': 'oTransitionEnd', | |
'MSTransition': 'msTransitionEnd', | |
'MozTransition': 'transitionend', | |
'WebkitTransition': 'webkitTransitionEnd' | |
}, | |
toCamelCase : function(str){ | |
return str.toLowerCase().replace(/(\-[a-z])/g, function($1){ |
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
platform :ios, '6.0' | |
# toolkit | |
# pod 'MBProgressHUD' # An activity indicator that can be added to your views. | |
# pod 'Nimbus' # A comprehensive toolkit of modules aimed at replacing Three20. | |
# pod 'SSToolkit' # A collection of well-documented iOS classes for making life easier. | |
# networking | |
# pod 'AFNetworking' # Network connectivity and response handling. | |
# pod 'Reachability' # Network access detection. | |
# pod 'ShareKit' |
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
/** | |
* CSS triangle generator use SCSS | |
*/ | |
@mixin arrow ($direction: "down", $color: #000, $width: 20px, $height: $width ) { | |
width: 0; | |
height: 0; | |
content: ""; | |
@if $direction == "right" { | |
border-top: $height solid transparent; | |
border-bottom: $height solid transparent; |
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
diff --git a/gad-admin-options.php b/gad-admin-options.php | |
index 09c3f2f..e6afefb 100644 | |
--- a/gad-admin-options.php | |
+++ b/gad-admin-options.php | |
@@ -67,7 +67,7 @@ class GADAdminOptions | |
function admin_plugin_menu() | |
{ | |
- add_options_page(__('Google Analytics Dashboard Options'), __('Google Analytics Dashboard'), 8, __FILE__, array(&$this, 'admin_plugin_options')); | |
+ add_options_page(__('Google Analytics Dashboard Options'), __('Google Analytics Dashboard'), 'manage_options', __FILE__, array(&$this, 'admin_plugin_options')); |
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
http://www.google.com/s2/u/0/favicons?domain={domain} |
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
if (window.location.host == '07.brasilia.me') { | |
//window.location.href = 'http://jesse0218.pixnet.net/blog/'; | |
var dlgcss = { | |
background : '#fff', | |
border : '1px solid #999', | |
padding: '30px', | |
boxShadow: '0 1px 30px rgba(0,0,0, 0.5)', | |
position: 'fixed', | |
top: '50px', | |
left: '50px', |
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
module.exports = (grunt) -> | |
grunt.initConfig( | |
uglify: | |
dist: | |
options: | |
mangle: false | |
files: | |
'script.min.js': ['js/*.js'] | |
coffee: |
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
#!/bin/bash | |
# Log output: | |
# | |
# * 51c333e (12 days) <Gary Bernhardt> add vim-eunuch | |
# | |
# The time massaging regexes start with ^[^<]* because that ensures that they | |
# only operate before the first "<". That "<" will be the beginning of the | |
# author name, ensuring that we don't destroy anything in the commit message | |
# that looks like time. |