- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
// fun.cpp | |
extern "C" | |
{ | |
#include <lua.h> | |
#include <lauxlib.h> | |
#include <lualib.h> | |
} | |
#include <iostream> |
import com.badlogic.gdx.ApplicationListener; | |
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.Input.Keys; | |
import com.badlogic.gdx.InputAdapter; | |
import com.badlogic.gdx.backends.lwjgl.LwjglApplication; | |
import com.badlogic.gdx.graphics.Color; | |
import com.badlogic.gdx.graphics.GL10; | |
import com.badlogic.gdx.graphics.OrthographicCamera; | |
import com.badlogic.gdx.graphics.Pixmap.Format; | |
import com.badlogic.gdx.graphics.Texture; |
// Build with: gcc -o main main.c `pkg-config --libs --cflags mpv sdl2` | |
// gcc -g -o main mpv_sample.c `pkg-config --libs --cflags mpv sdl2` -lass -framework OpenGL | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <SDL2/SDL.h> | |
#include <OpenGL/gl.h> | |
#include <OpenGL/glu.h> |
// tutorial05.c | |
// A pedagogical video player that really works! | |
// | |
// Code based on FFplay, Copyright (c) 2003 Fabrice Bellard, | |
// and a tutorial by Martin Bohme (boehme@inb.uni-luebeckREMOVETHIS.de) | |
// Tested on Gentoo, CVS version 5/01/07 compiled with GCC 4.1.1 | |
// With updates from https://github.com/chelyaev/ffmpeg-tutorial | |
// Updates tested on: | |
// LAVC 54.59.100, LAVF 54.29.104, LSWS 2.1.101, SDL 1.2.15 | |
// on GCC 4.7.2 in Debian February 2015 |
// tutorial05.c | |
// A pedagogical video player that really works! | |
// | |
// Code based on FFplay, Copyright (c) 2003 Fabrice Bellard, | |
// and a tutorial by Martin Bohme (boehme@inb.uni-luebeckREMOVETHIS.de) | |
// Tested on Gentoo, CVS version 5/01/07 compiled with GCC 4.1.1 | |
// With updates from https://github.com/chelyaev/ffmpeg-tutorial | |
// Updates tested on: | |
// LAVC 54.59.100, LAVF 54.29.104, LSWS 2.1.101, SDL 1.2.15 | |
// on GCC 4.7.2 in Debian February 2015 |
// tutorial04.c | |
// A pedagogical video player that will stream through every video frame as fast as it can, | |
// and play audio (out of sync). | |
// | |
// Code based on FFplay, Copyright (c) 2003 Fabrice Bellard, | |
// and a tutorial by Martin Bohme (boehme@inb.uni-luebeckREMOVETHIS.de) | |
// Tested on Gentoo, CVS version 5/01/07 compiled with GCC 4.1.1 | |
// With updates from https://github.com/chelyaev/ffmpeg-tutorial | |
// Updates tested on: | |
// LAVC 54.59.100, LAVF 54.29.104, LSWS 2.1.101, SDL 1.2.15 |
#!/usr/bin/env python | |
# encoding: utf-8 | |
import requests | |
def extract(begin, end, html): | |
if not html: | |
return '' | |
start = html.find(begin) |