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
| import java.io.BufferedInputStream; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import org.apache.tika.exception.TikaException; | |
| import org.apache.tika.metadata.Metadata; | |
| import org.apache.tika.parser.AutoDetectParser; | |
| import org.apache.tika.parser.ParseContext; |
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
| var express = require("express"); | |
| var app = express.createServer(express.logger()); | |
| app.get("/", function(req, res) { | |
| res.send("hoge"); | |
| }); | |
| module.exports = app; |
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() { | |
| "use strict"; | |
| var text = 'abcdef'; | |
| var text_len = text.length; | |
| var ar = new Array(text_len); | |
| for (var i = 0;i < text_len;i++) { | |
| ar[i] = text.charCodeAt(i); |
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
| <manifest | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="sample.test" | |
| android:versionCode="1" | |
| android:versionName="1.0"> | |
| <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" /> | |
| <application | |
| android:icon="@drawable/ic_launcher" |
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
| <html> | |
| <head> | |
| <script type="text/javascript" src="underscore.js"></script> | |
| </head> | |
| <body> | |
| <canvas id="canvas" width="700" height="600"></canvas> | |
| <script type="text/javascript"> | |
| var canvas = document.getElementById('canvas'); | |
| var context = canvas.getContext('2d'); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| import rx.subscriptions.BooleanSubscription; | |
| import rx.subscriptions.CompositeSubscription; | |
| import org.junit.Before; | |
| import org.junit.Test; | |
| import static org.junit.Assert.assertThat; | |
| import static org.hamcrest.Matchers.*; | |
| public class CompositeSubscriptionTest { |
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 sample; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.NoSuchElementException; | |
| import com.annimon.stream.Collectors; | |
| import com.annimon.stream.Optional; | |
| import com.annimon.stream.Stream; | |
| import com.annimon.stream.function.Consumer; | |
| import com.annimon.stream.function.Predicate; |
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 Liftoff = require("liftoff"); | |
| let { jsVariants } = require("interpret"); | |
| new Liftoff( | |
| { | |
| name: "echo", | |
| configName: "echo.config", | |
| extensions: jsVariants | |
| } | |
| ).launch({}, (env) => { |
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
| #!/bin/bash | |
| SLOP=$(slop -q -f "%x %y %w %h") || exit 1 | |
| read -r X Y W H G ID < <(echo $SLOP) | |
| ffmpeg -threads 0 -y -f x11grab \ | |
| -s "$W"x"$H" \ | |
| -i :0.0+$X,$Y \ | |
| -f alsa \ | |
| -i default \ | |
| -c:v libx264 \ |
OlderNewer