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
javascript:(()%3D%3E%7B(A%3D%3E%7Bconst%20I%3Ddocument.createElement(%22script%22)%3BI.src%3D%22https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fpush.js%2F0.0.11%2Fpush.min.js%22%2CI.onload%3Dasync()%3D%3E%7Bawait%20A(Push)%7D%2Cdocument.body.appendChild(I)%7D)(((A%2CI)%3D%3E%7Bconst%20C%3D()%3D%3E%7Bconst%20I%3Ddocument.querySelectorAll(%22.status%22)%3Blet%20C%3D%5B%5D%3BI.forEach((A%3D%3E%7BC.push(A)%7D))%3Bconst%20g%3DC.filter((A%3D%3E%22%E5%AE%8C%E4%BA%86%EF%BC%81%22%3D%3D%3DA.textContent))%3Bif(I.length%3D%3D%3Dg.length%26%26I.length%3E0)%7BA.create(%22%E3%82%A2%E3%83%83%E3%83%97%E5%AE%8C%E4%BA%86%22%2C%7Bbody%3A%22%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AE%E3%82%A2%E3%83%83%E3%83%97%E3%83%AD%E3%83%BC%E3%83%89%E3%81%8C%E5%85%A8%E3%81%A6%E5%AE%8C%E4%BA%86%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%EF%BC%81%22%2Cicon%3A%22https%3A%2F%2Fgigafile.nu%2Ffavicon.ico%22%2Ctimeout%3A1e4%2ConClick%3A()%3D%3Ethis.close()%7D)%3Bnew%20Audio(%22data%3Aaudio%2Fmp3%3Bbase64%2C%22%2B%22SUQzAwAAAAAxKVBSSVYAABCfAABYTVAAPD94cGFja2V0I |
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
void((f => { | |
// Push.jsをCDNから読み込み | |
const script = document.createElement('script') | |
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/push.js/0.0.11/push.min.js' | |
script.onload = async () => { | |
await f(Push) | |
} |
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
<!-- /packages/test_package/db.xml --> | |
<?xml version="1.0"?> | |
<schema version="0.3"> | |
<table name="YoutubeAPIKey"> | |
<field name="apikey" type="X2"> | |
</field> | |
</table> | |
</schema> |
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
$ hexo init <folder> | |
$ cd <folder> | |
$ npm install |
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 gulp = require('gulp'); | |
var $ = require('gulp-load-plugins')(); | |
var ejs = require('gulp-ejs'); | |
var jade = require('gulp-jade'); | |
var browserSync = require('browser-sync').create(); | |
var plumber = require('gulp-plumber'); | |
var dir = "../dist/"; | |
var html_preprocessor = "jade"; |
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
{ | |
"name": "foundation-sites-template", | |
"version": "1.0.0", | |
"description": "Basic template for a new Foundation for Sites project.", | |
"main": "gulpfile.js", | |
"devDependencies": { | |
"browser-sync": "^2.11.1", | |
"ejs": "^2.4.1", | |
"gulp": "^3.9.1", | |
"gulp-autoprefixer": "^3.1.0", |
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
doctype html | |
html.no-js(lang='en') | |
head | |
meta(charset='utf-8') | |
meta(http-equiv='x-ua-compatible', content='ie=edge') | |
meta(name='viewport', content='width=device-width, initial-scale=1.0') | |
title Foundation for Sites | |
link(rel='stylesheet', href='css/app.css') | |
body | |
.row |
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 gulp = require('gulp'); | |
var plumber = require('gulp-plumber'); | |
var sass = require('gulp-sass'); | |
var jade = require('gulp-jade'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var webserver = require('gulp-webserver'); | |
gulp.task('sass', function() { | |
gulp.src(["scss/**/*.scss","!scss/**/_*.scss"]) | |
.pipe(plumber()) |
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
// img roll over | |
$(function(){ | |
$("img[src*='_on']").addClass("current"); | |
$("img,input[type='image']").hover(function(){ | |
if ($(this).attr("src")){ | |
$(this).attr("src",$(this).attr("src").replace("_off.", "_on.")); | |
} | |
},function(){ | |
if ($(this).attr("src") && !$(this).hasClass("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
// add class current page navigation | |
$(document).ready(function() { | |
var url = location.pathname; | |
if(location.pathname != "/") { | |
$('nav.subpage_sidebar a[href^="' + location.pathname + '"]').parent().addClass('active'); | |
} else $('nav.subpage_sidebar a:eq(0)').parent().addClass('active'); | |
//console.log(url); |
NewerOlder