let Y = lambda F.
let f_gen = lambda self. F(self(self))
return f_gen(f_gen)
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
This is intended as a quick reference and showcase. For more complete info, see John Gruber's original spec and the Github-flavored Markdown info page.
Note that there is also a Cheatsheet specific to Markdown Here if that's what you're looking for. You can also check out more Markdown tools.
/*
Print elements of a linked list on console
head pointer input could be NULL as well for empty list
Node is defined as
class Node {
int data;
Node next;
}
*/
####Java读取多行数据并输出
/*
读取并输出:
1024
3.1415926
qwertyuiop
*/
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | |
<!-- A simple bean definition --> | |
<bean id="..." class="..."> | |
<!-- collaborators and configuration for this bean go here --> |
sudo mkdir /usr/share/fonts/oh-my-fonts
sudo cp 存放字体的目录/* /usr/share/fonts/oh-my-fonts
sudo chmod 644 /usr/share/fonts/oh-my-fonts/*
cd /usr/share/fonts/oh-my-fonts
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
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
{ | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true |
1 npm install --save-dev eslint-config-vue eslint-plugin-vue
2 create a file named .eslintrc
in your project:
{
"extends": "vue"
// Your overrides...
}
-
balel-loader config in webpack
-
Run
npm install --save-dev babel-loader babel-core babel-preset-env
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
OlderNewer