素 书
原始章第一
夫道、德、仁、义、礼,五者一体也。
道者,人之所蹈,使万物不知其所由。
德者,人之所得,使万物各得其所欲。
仁者,人之所亲,有慈惠恻隐之心,以遂其生成。
义者,人之所宜,赏善罚恶,以立功立事。
礼者,人之所履,夙兴夜寐,以成人伦之序。\
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
[*.java] | |
indent_style = space |
package com.vamdt.fox.fox.of; | |
import java.util.HashMap; | |
import java.util.Map; | |
/** | |
* pre arr + in arr => tree | |
* in arr + post arr => tree | |
* pre arr + post arr => tree | |
*/ |
complete -W "$(echo `cat ~/.ssh/config | grep 'Host '| cut -f 2 -d ' '|uniq`;)" ssh |
#!/bin/bash | |
while true | |
do | |
if [[ $(($RANDOM % 2)) -eq 0 ]] | |
then | |
echo "000" | |
else | |
echo "111" | |
fi |
public class CompletableFutureTest { | |
static class User { | |
private String nickname; | |
public String getNickname() { | |
return nickname; | |
} | |
public void setNickname(String nickname) { |
def main(): | |
result = edit_distance("fox", "fab") | |
print(result) | |
def edit_distance(str1, str2): | |
len1 = len(str1) | |
len2 = len(str2) | |
maxtrix = [[i for j in range(len2 +1)] for i in range(len1 + 1)] | |
maxtrix[0] = [i for i in range(len1 + 1)] |
夫道、德、仁、义、礼,五者一体也。
道者,人之所蹈,使万物不知其所由。
德者,人之所得,使万物各得其所欲。
仁者,人之所亲,有慈惠恻隐之心,以遂其生成。
义者,人之所宜,赏善罚恶,以立功立事。
礼者,人之所履,夙兴夜寐,以成人伦之序。\
public class AutomateProcessor { | |
private UserExceptionAnalysisListener userExceptionAnalysisListener = new UserExceptionAnalysisListener(); | |
private UserModelingListener userModelingListener = new UserModelingListener(); | |
private HardRuleFilterListener hardRuleFilterListener = new HardRuleFilterListener(); | |
private AntiRubbishListener antiRubbishListener = new AntiRubbishListener(); |
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/epoll.h> | |
#include <string.h> | |
int main() { | |
int epoll_fd = epoll_create1(0); | |
struct epoll_event event, events[5]; | |
char read_buffer[11]; | |
int running = 1, event_count, i; |
@echo off | |
SET bashbin="f:\tools\cmder\vendor\git-for-windows\bin" | |
SET currentpath=%cd% | |
REM replace \ to / | |
SET unixpath=%currentpath:\=/% | |
REM replace : to empty | |
SET unixpath=%unixpath::=% | |
REM add / at begnning | |
SET unixpath=/%unixpath% |