• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
热爱我的热爱
博客园    首页    新随笔    联系   管理    订阅  订阅
2013年11月28日
linux 报错 bash ‘/bin/sh: Syntax error: “(” unexpected
摘要: 今天用make 编译 蹦到bash ‘/bin/sh: Syntax error: “(” unexpected和/bin/sh: [[: not found 这种莫名奇妙的错误原因是是linux将sh指向了dash而不是bash直接改配置dpkg-reconfigure dash选默认不是dash 阅读全文
posted @ 2013-11-28 15:47 soniclq 阅读(1753) 评论(0) 推荐(0)
2013年11月15日
android 官方文档 JNI TIPS
摘要: 文章地址 http://developer.android.com/training/articles/perf-jni.htmlJNI TipsJNI is the Java Native Interface.It defines a way for managed code (written in the Java programming language) to interact with native code (written in C/C++).It's vendor-neutral, has support for loading code from dynamic sh 阅读全文
posted @ 2013-11-15 15:24 soniclq 阅读(750) 评论(0) 推荐(0)
2013年11月13日
随手记
摘要: If your project is linked with "-nostdlib -Wl,--no-undefined", you need to provide your own __dso_handle because crtbegin_so.o isn't linked. The content of __dso_handle doesn't matter. eg. extern "C" { extern void *__dso_handle __attribute__((__visibility__ ("hidden& 阅读全文
posted @ 2013-11-13 19:33 soniclq 阅读(284) 评论(0) 推荐(0)
2013年11月11日
ffmpeg编译参数详解
摘要: Usage: configure [options]用 法:configure [选项]Options: [defaults in brackets after descriptions]选 项:[描述之后的方括号里的是默认值]Standard options:标准选项: --help print this message 打印这个信息,例如:./configure --help > ffmpegcfg.txt --logfile=FILE log tests and output to FILE [config.log] 记录测试日志并输出到的文件[默认:config.log] --d 阅读全文
posted @ 2013-11-11 13:59 soniclq 阅读(5204) 评论(0) 推荐(1)
2013年11月4日
django 其他地址访问不了问题
摘要: 启动的时候 使用 python manage.py runserver 0.0.0.0:8000即可接收所有IP访问 阅读全文
posted @ 2013-11-04 22:58 soniclq 阅读(350) 评论(0) 推荐(0)
2013年10月24日
使用django rest framework
摘要: django 刚接触,想做一些restful api , google了一下,发现有现成的框架。Django REST framework。对使用做下记录: 安装 从http://django-rest-framework.org/下载,解压后$sudo python setup.py ins... 阅读全文
posted @ 2013-10-24 22:56 soniclq 阅读(353) 评论(0) 推荐(0)
2013年10月15日
JNI ReferenceTable overflow
摘要: 今天在小米设备上遇到如下问题 10-15 17:04:36.899: W/dalvikvm(2767): ReferenceTable overflow (max=512) 10-15 17:04:36.909: W/dalvikvm(2767): JNI local reference table summary (512 entries): 10-15 17:04:36.909: W/dalvikvm(2767): Memory held directly by tracked refs is 16104 bytes 10-15 17:04:3... 阅读全文
posted @ 2013-10-15 19:17 soniclq 阅读(531) 评论(0) 推荐(0)
2013年10月7日
[转]Android SDK更新 Connection to http://dl-ssl.google.com refused 解决方法
摘要: 问题描述使用SDK Manager更新时出现问题Failedtofetch URLhttps://dl-ssl.google.com/android/repository/repository-6.xml,reason:Connectiontohttps://dl-ssl.google.com refusedFailedtofetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml,reason:Connectiontohttp://dl-ssl.google.com refusedFailedtofetch 阅读全文
posted @ 2013-10-07 22:09 soniclq 阅读(445) 评论(0) 推荐(0)
2013年8月13日
web学习之Django--安装
摘要: 前提有python,easy_install关于easy_install 的安装,比较简单的装法 : wget -q http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py1 在http://www.djangoproject.com/download/ 下载最新版本2 建议安装virtual env sudo easy_install virtualenv 安装后,激活virtualenv 再装Django ,不污染环境 .3 安装 python MySQLdb easy_install MySQL-py... 阅读全文
posted @ 2013-08-13 13:22 soniclq 阅读(302) 评论(0) 推荐(0)
2013年6月14日
windows adb shell 乱码
摘要: 一、logcat中文乱码Android LOGCAT输出是UTF-8编码,而Windows CMD的默认编码设置是GBK。要想正确显示中文,需要设置在WINDOWS CMD窗口的编码设置,以下为设置步骤。1、打开cmd,执行chcp查看当前代码页 chcp Active code page: 9362、如果输出结果是936,那么请这行下面一条命令,将当前活动编码设为65001。如果已经是65001,可跳过此步骤 chcp 650013、修改窗口属性,改变字体在命令行标题栏上点击右键,选择"属性"->"字体",将字体修改为True Type字体&qu 阅读全文
posted @ 2013-06-14 16:15 soniclq 阅读(1174) 评论(0) 推荐(0)
下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3