View react-router.md
import React from 'react'
import { BrowserRouter , Switch , Route } from 'react-router-dom'

/**
 * Components
 */
import StorePicker from './StorePicker'
import App from './App'
import NotFound from './NotFound'
View future
public static void main(String[] args) throws ExecutionException, InterruptedException {
ExecutorService es1 = Executors.newFixedThreadPool(5);
Future<String> f1 = es1.submit(new Callable<String>() {
public String call() {
return "Hello";
}
});
while(!f1.isDone()) { }
try {
System.out.println("Получили " + f1.get());
View gist:eefe68e7c46e14bc84ee771e61391c6e
<html>
<head>
<title>Adder</title>
</head>
<body>
<h1>The Adder</h1>
<script>
//Adder
//Demonstraits how a computer does math
View Perlin noise
function noise(x, y, z) {
var p = new Array(512)
var permutation = [151, 160, 137, 91, 90, 15,
131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23,
190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33,
88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166,
77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244,
102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196,
135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123,
View GetInfo.java
import java.util.*;
public class GetInfo {
public static void main(String[] args) {
Properties p = System.getProperties();
// p.list(System.out);
System.out.println("Total CPU: " + Runtime.getRuntime().availableProcessors());
System.out.println("Free memory: " + Runtime.getRuntime().freeMemory());
}
}
View chat-widget.markdown
View PhonecallReceiver.java
package com.gabesechan.android.reusable.receivers;
import java.util.Date;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.TelephonyManager;
public abstract class PhonecallReceiver extends BroadcastReceiver {
View gist:2181b72aa7d698e32e03d40da9154324
"cc" "-m64" "-L"
"/Users/cdieringer/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.16u6js6g0l3k1ic6.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.181cuta0v63atwcm.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.1im38lueib99jsk0.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.1jnlhyxj59jycbjv.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.1mnipzq70fk1uuwb.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.1rbjies67ajfbn12.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.1y16o1qfye96o7m0.rcgu.o"
"/Users/cdieringer/node/clipster/native/target/debug/deps/clippy_rust.1zwd8n7bcl3vhvvh.rcgu.o"
View php注释规范
#PHP注释规范
##通用注释写法
###一、文件的注释通用样例(普通程序文件,类文件,函数文件,变量定义文件)
```
/**
* XXXXX的文件
*