摘要:
记得去ionic 官网获取npm下载地址,而不是什么中文文档里面给的npm下载指令。 阅读全文
摘要:
export class Energy { public radius = 0; public pos = {x: 0, y: 0}; public cp = {x: 0, y: 0}; public speed = 1; public coefficient = {x: 0, y: 0}; pub 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>驼峰、下划线互转</title> <style> * { margin: 0; padding: 0; } html. body { width: 100%; 阅读全文
摘要:
#include <stdio.h> int main() { int n = 0; while(scanf("%lld", &n) && n > 0) { long long sum = 0; for(int i = 1; i <= n; i++) { long long factorial = 阅读全文
摘要:
#include <stdio.h> int main() { for(int a = 1; a < 10; a++) for(int b = 1; b < 10; b++) for(int c = 1; c < 10; c++) { if (a*a*a + b*b*b + c*c*c == a*1 阅读全文
摘要:
一定要用管理员身份打开cmd再执行。 指令:npm install -g windows-build-tools 或者 cnpm install -g windows-build-tools 阅读全文
摘要:
注意,只能用于http/https去下载文件 依赖: npm install @ionic-native/downloader integrator-cordova-plugin-downloader import { Downloader } from '@ionic-native/downloa 阅读全文
摘要:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1000" height="100"> <path d="M0 50 L400 50 Z" stroke="black" stroke-width="2" fill="none" 阅读全文
摘要:
用jQuery在ie8中添加 $(ele).on('input propertychange') 不起作用, 是因为没有把input元素添加到document树上,本人测了好几次得到的结果。 阅读全文