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
// Twitterの「パーソナライズされた興味」のチェックボックスを全てオフにする | |
var checkedCheckboxes = Array.from(document.querySelectorAll('input[type="checkbox"]')).filter(c => c.checked); | |
var loopId = setInterval(() => { | |
if (checkedCheckboxes.length === 0) { | |
clearInterval(loopId); | |
console.log("Completed. All checkboxes are unchecked."); | |
return; | |
} |
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
:root { | |
--base-background-color: #242424; /* Dark Gray */ | |
--content-box-color: #323232; /* Slightly lighter Gray */ | |
--work-name-color: #E8E8E8; /* Light Gray for better contrast */ | |
--maker-name-color: #A9A9A9; /* Medium Gray */ | |
--svg-color: #888888; /* Gray */ | |
--main-bg: #252525; /* Dark Gray */ | |
--content-header-bg: #202020; /* Very Dark Gray */ | |
--content-box-bg: #404040; /* Medium Dark Gray */ | |
--main-text-color: #FFFFFF; /* White for better contrast */ |
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
{ | |
"editor.wordWrap": "off", | |
"window.zoomLevel": 0, | |
"workbench.colorTheme": "Dracula", | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", // スペースの表示 | |
"editor.insertSpaces": true, | |
"workbench.iconTheme": "vs-seti", | |
"workbench.activityBar.visible": true, // default | |
"flow.pathToFlow": "./node_modules/.bin/flow", |
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> | |
<head> | |
<title>canvas test</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<style type="text/css"> | |
body { | |
font-size: 100px; | |
} | |
.canvas { |
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
/* item.css | |
webpack使ってscoped cssにしたい | |
*/ | |
.item { | |
width: 100%; | |
} | |
.item-text { | |
color: red; |
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
$(document).ready(function(){ | |
$('.Btn-0__txt').click(function(){ | |
$(this).spin(); | |
}) | |
}); | |
$('<%= j(render partial:'/items/paginate')%>').appendTo("#load_project").hide().fadeIn("slow"); | |
$("#load_more").replaceWith("<%= | |
j( |
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
$(function() { | |
$("#tab-select").tabs(); | |
$("#tab1").css("background-color", "#fff") | |
$("#tab2").css("background-color", "#D8D8D8") | |
}); | |
$(document).on('click', '#tab1', function() { | |
$("#tab1").css("background-color", "#fff") | |
$("#tab2").css("background-color", "#D8D8D8") |
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
onMoveTab(e) { | |
const root = ReactDOM.findDOMNode(this.refs.filter) | |
$(root).find("li").remove("active") | |
$(e.target).closest("li")s.addClass("active") | |
this.props.onChangeCB($(e.target).closest("li").text()) | |
} | |
render () { | |
this.props.tabList.map((item, key) => { |
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
import React from 'react' | |
import Router, { Route, Routes, Link, DefaultRoute, RouteHandler, Handler } from 'react-router'; | |
import Header from './header.jsx' | |
import Footer from './footer.jsx' | |
import TopPage from './containers/TopPage.jsx' | |
import Project from './components/project.jsx' | |
import SearchList from './components/search-list.jsx' | |
import AboutMore from './handlers/about-more.jsx' | |
import NewRegistration from './handlers/new-registration.jsx' |
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
object Test { | |
def main(args: Array[String]) { | |
var x = 30; | |
if( x < 10 ){ | |
println("Value of X is 10"); | |
} else if( x == 20){ | |
println("Value of X is 20"); | |
} else if( x == 30 ){ | |
println("Value of X is 30"); |
NewerOlder