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
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
export LANGUAGE="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export PATH=$PATH:/Users/spawn00/Library/Android/sdk/platform-tools | |
alias lessc=“~/node_modules/less/bin/lessc” | |
export PATH="$HOME/.anyenv/bin:$PATH" |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdLCHc0cLkCXXlRQFt4PW83RCya/1MWVkAHWGF8rN1EqEsXOW49xydpDH25zcdlHKZsnoCx4nIAhu+er96A3EaFKrYxXpdHURjmKYId7Ys+oskytfR/WUzihVA/kT6s7WnOscLThM/CVExF3xgwbCV7uSYc4mcYXJpOXObZ8WfkHHmlW25voyautYtSzQZJtZRQlwbAwwSS/sloXbr82qlESseX7imYTQ+aorPduwQk2klLc+4zR7XkyU9iZCT03xSQxgNCHWvuwzDxC6EP1EJu89goi5w8EQwCEc9brpmDWZrBDrHrVVDTRikFfnkqq3tFKxiy56FvMvpKt6JrCWl [email protected] |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"files.autoSave": "afterDelay", | |
"editor.fontSize": 14, | |
"typescript.check.tscVersion": false, | |
"editor.tabSize": 2, | |
"editor.insertSpaces": true, | |
// HTML, JavaScript, Vue | |
"files.associations": { | |
"*.vue" : "vue" |
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
ArrayList<String> tweets = mashup.getTweets("スポーンメモ", "gn_spawn"); | |
ArrayList<String> diff = new ArrayList<String>(tweets); | |
diff.removeAll(cache); | |
cache = tweets; | |
for (String tw : diff) { | |
System.out.println(tw + "が追加されました"); | |
} |
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.ac.dendai.im.web; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.Node; | |
import org.w3c.dom.bootstrap.DOMImplementationRegistry; | |
import org.w3c.dom.ls.DOMImplementationLS; | |
import org.w3c.dom.ls.LSInput; | |
import org.w3c.dom.ls.LSParser; | |
import java.io.InputStream; | |
import java.net.URL; |
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
private ArrayList<String> getTweets(String hashtag, String user_name) { | |
NodeList nodeList = null; | |
ArrayList<String> tweets = new ArrayList<String>(); | |
try { | |
URL url = new URL("https://queryfeed.net/tw?q=%23" + URLEncoder.encode(hashtag, "UTF-8") + "+%40" + user_name + "&title-type=user-name-both&geocode="); | |
URLConnection urlConnection = url.openConnection(); | |
urlConnection.connect(); | |
InputStream inputStream = urlConnection.getInputStream(); | |
// DOM取得 | |
DocumentViewer documentViewer = new DocumentViewer(); |
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 ex5; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.NodeList; | |
import org.xml.sax.SAXException; | |
import javax.xml.parsers.DocumentBuilderFactory; | |
import javax.xml.parsers.ParserConfigurationException; | |
import javax.xml.xpath.XPath; | |
import javax.xml.xpath.XPathConstants; |
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
.highlight { | |
visibility: hidden; | |
} |
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
void setup() { | |
size(512,512); | |
background(0); | |
noStroke(); | |
} | |
int mojim[][][] = { | |
{{50, 450}, {50, 50}}, | |
{{50, 50}, {250, 200}}, | |
{{250, 200}, {450, 50}}, |
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
require 'open-uri' | |
require 'nokogiri' | |
URL = 'http://heavens-fox.blog.jp/' | |
html = open(URL) { |f| f.read } | |
doc = Nokogiri::HTML.parse(html, nil) | |
class BabymetalArticle | |
def initialize(article) | |
@title = article.css("h1.article-title > a").text |