This file contains hidden or 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
let fs = require("fs"); | |
let path = require("path"); | |
let process = require("process"); | |
var Tree = require('./mochaIntellijTree') | |
, util = require('./mochaIntellijUtil') | |
, treeUtil = require('./mochaTreeUtil') | |
, normalizer = require('./normalizer'); | |
/** |
This file contains hidden or 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
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
This file contains hidden or 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
package jp.keita.kagurazaka.sample.coroutine | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import android.util.Log | |
import android.widget.Button | |
import android.widget.Toast | |
import kotlinx.coroutines.experimental.CommonPool | |
import kotlinx.coroutines.experimental.android.UI | |
import kotlinx.coroutines.experimental.async |
This file contains hidden or 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
{ | |
"global": { | |
"check_for_updates_on_startup": false, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"rules": [ |
This file contains hidden or 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
######### | |
# GENERIC | |
######### | |
# git - generic | |
bind generic g ?sh -c "git %(prompt git )" | |
###### | |
# MAIN | |
###### |
This file contains hidden or 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 findClassNames() { | |
var results = [].slice.call(document.querySelectorAll("div")).filter(function(o) {return o.innerText == "_Helper_"}); | |
if(results.length == 1) { | |
nameNode = results[0]; | |
nameClass = nameNode.classList[0] | |
countNode = [].slice.call(nameNode.parentNode.querySelectorAll("div")).filter(function(o) {return o.innerText == "1"})[0] | |
countClass = countNode.classList[0] | |
return { | |
nameClass: "." + nameClass, |
This file contains hidden or 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": "Bandwidth 1", "provider": 48, "user": 240 }, | |
{ "name": "Bandwidth 2", "provider": 10, "user": 80 }, | |
{ "name": "Bandwidth 3", "provider": 50, "user": 75 } | |
] |
This file contains hidden or 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 App({ date }) { | |
const [currentDate, setCurrentDate] = useState(new Date()); | |
const [count, setCount] = useState(0); | |
function updateCount(byValue) { | |
setCount(count + byValue); | |
setCurrentDate(new Date()); | |
} | |
function formatDate() { |
This file contains hidden or 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 formatDate(date) { | |
const hour = date.getHours(); | |
const minute = date.getMinutes(); | |
const second = date.getSeconds(); | |
return (`${hour}:${minute}:${second}`); | |
} | |
const prettyDate = useMemo(() => formatDate(currentDate), [currentDate]); |
This file contains hidden or 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 App({ date }) { | |
const [currentDate, setCurrentDate] = useState(new Date()); | |
const [count, setCount] = useState(0); | |
const prettyDate = useMemo(() => formatDate(currentDate), [currentDate]); | |
return ( | |
<div className="App"> | |
<h1>Hello CodeSandbox</h1> | |
<h2> |