christophlorenz.de
The Metatechnical Blog | Bits and bytes about programming and technology
http://www.christophlorenz.de/blog
Bits and bytes about programming and technology. Skip to primary content. Skip to secondary content. Mounting windows shares in a robust way. If you have to mount a share from an unreliable (in terms of “won’t be available 24/7) windows machine, using the traditional way with. Is a pain in the ass, since you will have to remount manually every now and then. Let’s use the much better way with autofs:. Sudo apt-get install autofs. As root, add the following line to. With the following content:. Credits go ...
blog.martinhey.de
All posts by mhey
http://blog.martinhey.de/de/author/mhey.aspx
GZip für WebAPI 2 aktivieren. Mit GZip-Komprimierung kann man einiges an Netzwerklast minimieren - insbesondere, wenn größere Datenmengen übertragen werden sollen, in denen häufig ähnliche Worte vorkommen. Auch wenn das meist genutzte JSON-Format nicht ganz so geschwätzig ist wie beispielsweise SOAP, so kommen doch auch hier beispielsweise die Eigenschaftsnamen in jedem Objekt wieder vor. Wenn man dann eine Liste von Objekten überträgt, so ergibt sich hier ein Einsparungspotenzial. AcceptsGzip) { return;...
gracecode.com
Android 开发的昨天、今天和明天 - 無標題文檔
https://www.gracecode.com/posts/the-past-present-and-future-of-android-development.html
收到过位将要毕业的同学的来信,问 Android 开发是否有 前途。 刚好在 Android Weekly 上见到了 这篇文章. 同时,国内的 Android 环境可以用 奇葩 来形容,因此文章后面我会加入些自己的个人观点。 很难相信,如此的一个系统竟然会有 80% 的市场占有量 在我个人看来,Android 能够做到如此成功在早期并不是它足够的优秀,而是同期的竞争对手做得比它更好。 你尝试过用铁锹修车吗 或者,开着你爷爷曾经使用过的有着 40 年历史的 Yugo. 载着姑娘去兜风 在那个时代 Android 开发有且只有一个 相对 官方的开发工具 Eclipse。 请您相信我,Eclipse 有各种的问题甚至能让你在十分钟之内发疯 Eclipse 的 ADT 插件简直就是. Bug 与 Crash 齐飞,重启和关闭共一色. 很大的程度上,光就是 Eclipse 这个开发工具就吓到了很多入门开发者,让他们投入其他开发阵营的怀抱 对,例如 XCode。 当你完成一个应用以后,首先要测试在各个不同 Android 版本以及屏幕分辨率下的运行情况,所以我们购置了不下二十台 Android 设备用于测试。
codeshome.com
Android开发者必知的5个开源库 | 科技杂谈
http://www.codeshome.com/archives/367
8260; 被围观 810 次. String userJSON = new Gson().toJson(user);. User user = new Gson().fromJson(userJSON, User.class);. 就如它网站上的介绍 Retrofit将你的REST API变为Java接口 一样,Retrofit把REST API返回的数据转化为Java对象方便操作,对于在项目中组织API调用,是一个不错的解决方案。 Public interface RetrofitInterface {. Asynchronously with a callback. User getUser(@Query("user id") int userId, Callback User callback);. User registerUser(@Body User user);. RetrofitInterface retrofitInterface = new RestAdapter.Builder(). Fetch user with id 2048. Public class HomeActivi...
boriswerner.eu
Programming | boriswerner
http://www.boriswerner.eu/category/programming
Was mich so beschäftigt. Programming beinhaltet alles was mit der Erstellung eigener Software-Programme, Apps, Skripte oder ähnlichem zu tun hat. Programming Pursday Amazon Dash Button Hack auf einem QNAP NAS um Phillips Hue zu steuern. Warnhinweis bei unvollständiger Einrichtung. Beim ersten Drücken bekommt man auch in der App einen Hinweis, dass der Button nicht korrekt eingerichtet ist. Dash Button Knopfdruck auf dem QNAP erkennen. Ist auf den deutschen Button ausgelegt, also genau richtig für meine Z...
mariomariani.blogspot.com
Mário Mariani: May 2012
http://mariomariani.blogspot.com/2012_05_01_archive.html
WEB AND MOBILE DEVELOPMENT. Tuesday, May 22, 2012. Analysing Android test frameworks. Searching for some Android test frameworks, I found, as most relevant, Roboeletric, Robotium and Calculon. So I had to look inside them to define which one would fit my needs. Http:/ pivotal.github.com/robolectric/eclipse-quick-start.html. Http:/ www.slideshare.net/joemoore1/tdd-android-applications-with-robolectric. Http:/ code.google.com/p/robotium/. Http:/ www.slideshare.net/matthiaskaeppler/calculon. Roboeletric wil...
blog.copywaste.org
Uncategorized | Copywaste
http://blog.copywaste.org/index.php/category/uncategorized
Skip to primary content. Skip to secondary content. December 17, 2015. A few of my colleagues and me are using Cloudapp. A lot to share screenshots. Lately w were getting fed up with the nagscreens of Cloudapp to pay so i quickly assembled a homebrewn solution for use on our Macbooks. What we want to do is implement the following workflow:. How can we do that? Monitor /Desktop for new .png files because OSX dumps screenshots on your Desktop. Here we’re going to use FSWatch. 1 The upload script. Xml versi...
pickupmasum.wordpress.com
pickupmasum – pickupmasum
https://pickupmasum.wordpress.com/author/pickupmasum
Just another WordPress.com site. Top 5 Android libraries every Android developer should know about. August 21, 2016. In the last year or so, Android development has really come of age. Android Studio with Gradle at its core is a dash of light after Eclipse. Besides that, there are quite a few open source libraries that we use on a daily basis. Here is a selection of five of our favorite ones and a list of links where you can find others. It also plays nice with the next library:. Public interface Retrofi...
lamy.mobi
Le pattern DAO | informatique.systems
http://www.lamy.mobi/node/42
Le pattern DAO (Data Access Object). Le pattern DAO (Data Access Object) permet de faire le lien entre la couche métier et la couche persistante, ceci afin de centraliser les mécanismes de mapping entre notre système de stockage et nos objets Java. Il permet aussi de prévenir un changement éventuel de système de stockage de données (de PostgreSQL vers Oracle par exemple). Un certain DAO devra s'occuper de créer, mettre à jour, lire, supprimer des données de la table " Developpeur. GreenDAO is an open sou...
blog.loadlimits.info
java - digital matter
http://blog.loadlimits.info/tag/java
8216;java’ タグのついている投稿. ImageView imageView = (ImageView) findViewById(R.id.imageView1); imageView.setBackgroundResource(R.drawable.animation1); AnimationDrawable animation = (AnimationDrawable) imageView.getBackground(); animation.setOneShot(true); / 一度だけ再生 animation.start();. Request, Map String, String additionalHeaders) throws IOException, AuthFailureError { URL url = new URL(request.getUrl() ; if (url.getHost().equals("開発環境のホスト名") { / Basic認証ヘッダの追加 additionalHeaders .put("Authorizatio...2013-05-24 17...