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
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
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
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
/** | |
* 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
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
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
////// sprite 自動 | |
@import "my-icons/*.png"; | |
@include all-my-icons-sprites; | |
//@all-< folder_name >-sprites; | |
////// sprite 半自動 | |
@import "my-icons/*.png"; | |
.foo .ico{ | |
@include my-icons-sprite(icon1); //寫出position |
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
# Set this to the root of your project when deployed: | |
http_path = "/" | |
css_dir = "assets/css" | |
sass_dir = "sass" | |
images_dir = "assets/img" | |
javascripts_dir = "assets/js" | |
# environment :production / development | |
environment = :production | |
# You can select your preferred output style here (can be overridden via the command line): |
NewerOlder