let Y = lambda F.
let f_gen = lambda self. F(self(self))
return f_gen(f_gen)
There are two ways for tweaking VS Code to work with MacType, both have their pros and cons.
Works on 1.0.0, from all CLI, shortcut and original exe. Other versions might work too but it's not suggested to try as it would break the editor.
You can do this by replacing file <VS Code Location>\resources\app\out\vs\workbench\electron-main\main.js
by this one
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();
<?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
{ | |
"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...
}