JavaEar 专注于收集分享传播有价值的技术资料

fatal: unable to update url base from redirection

$ git remote set-url origin` $ git push -u origin master` fatal: unable to update url base from redirection: asked for: . . .阅读更多

Django - Did you forget to register or load this tag?

I've created a custom tag that I want to use, but Django can't seem to find it. My templatetags directory is set up like this: from pygments import highlight from pygments.lexers import get_lexer_by_name from django import template from pygments.formatters.other import Nu . . .阅读更多

Owin get query string parameters

I am trying to get query string parameters from Owin request. Get operation for parameter 'test' remains empty, although this parameter was in query string. How can I read request parameter from OWIN host? Call: localhost:5000/?test=firsttest Code: public class Startup { public vo . . .阅读更多

sqlite3 Segmentation fault in android adb shell

When I use sqlite3 in adb shell, the error “Segmentation fault”: shell@android:/data/data/com.yh.web/databases $ ll ll -rwxrwxrwx app_106 app_106 12288 2013-09-16 12:33 webview.db -rwxrwxrwx app_106 app_106 32768 2013-09-16 12:33 webview.db-shm -rwxrwxrwx app_106 app_106 . . .阅读更多

Installing Cordova CLI and Ionic

Recently I installed node.js together with ionic and cordova with: sudo npm install -g cordova ionic ... and everything seems to work fine. But when I run: ionic info It seems that Cordova CLI is missing: Your system information: Cordova CLI: Not installed Gulp version: CLI version . . .阅读更多