ptspts.blogspot.com
pts.blog: 2015-02
http://ptspts.blogspot.com/2015_02_01_archive.html
How to generate all subsets of size k in Java. How to generate all subsets of size k in Java. This blog post shows a Java class to generate all subsets of size k. Of the set {0, 1, ., n. 1}, in lexicographic order. The code uses O( k. Memory, and it doesn't store multiple subsets at the same time in memory. This is achieved by implementing the Iterable interface. Generate all subsets of {0, ., n-1} of size k, in lexicographically. Always returns the same array reference, the caller is responsible for.
ptspts.blogspot.com
pts.blog: 2013-04
http://ptspts.blogspot.com/2013_04_01_archive.html
How to send ZIP-compressed, streaming AJAX respons. How to list Android apps in the order they were in. How to send ZIP-compressed, streaming AJAX response. First make sure that streaming works without compression. For that, call all the relevant flush. Methods on the server. For Chrome (tested on Chrome 22), you also have to send the HTTP response header X-Content-Type-Options: nosniff. Event handler, make sure that you process the .response. Even if .readyState. Also called as /FlateEncode. Can be used...
ptspts.blogspot.com
pts.blog: 2013-12
http://ptspts.blogspot.com/2013_12_01_archive.html
How to implement in-place set intersection in C. Tiny 7z archive extractors and SFX for Linux and W. How to make smaller C and C binaries. Announcing pts-clang: A portable LLVM Clang C and . How to install Ubuntu Precise to a KVM guest on a . How to add very large data blobs to C and C bina. Compressing the Go cross-compiler. How to make an existing 7-Zip archive self-extract. Binary search in line-sorted text files. How to implement in-place set intersection in C. Function template in the algorithm.
ptspts.blogspot.com
pts.blog: 2013-10
http://ptspts.blogspot.com/2013_10_01_archive.html
How to query the X11 screen saver state. How to fix ugly text when printing a Google docume. How to start a Unix process in the foreground inst. How to query the X11 screen saver state. This blog post explains how to query the X11 screen saver state and other information such as idle time. This is useful on Unix systems if your program wants to know e.g how long the user has been idle. It prints the number of seconds the user has been idle. Echo 'puts [tk inactive]; exit' wish. Gcc -s -O2 -W -Wall -o.
ptspts.blogspot.com
pts.blog: 2015-03
http://ptspts.blogspot.com/2015_03_01_archive.html
How to use rsync over USB on Android with adb. How to avoid data copies with move semantics in C . How to use rsync over USB on Android with adb. This blog post explains how to copy files using rsync between the computer running Unix (typically Linux or Mac OS X) and the mobile device running Android, using an USB cable. It's not necessary to root the device. It's not necessary to install any app. Enable USB debugging on the device. If you don't know how to do it in Settings. Then find a tutorial online.
ptspts.blogspot.com
pts.blog: 2014-07
http://ptspts.blogspot.com/2014_07_01_archive.html
How to discard committer info from git history. Programming tips for students. Recommended books for programming students. How to discard committer info from git history. This blog post explains how to overwrite the git committer name, git committer e-mail and git committer date in previous commits in a git repository. This is useful e.g. after a series of. Git commit -C . First make sure you don't have any uncommitted changes:. If you are sure that you didn't have a data loss, then run:. This blog post ...
ptspts.blogspot.com
pts.blog: 2014-06
http://ptspts.blogspot.com/2014_06_01_archive.html
Message to the students. Whats the difference between StaticPython and PyR. Message to the students. This is your life. Make it happy, productive and full for yourself! The smarter and more skilled you are, the more choices and flexibility you have (what to work on, who to work with, where to work and live, when to switch jobs). Follow your curiosity! If you are particularly interested in a topic, use as much as possible of your free time to study, to practice and to do it. 10000 hours. And follow the in...
ptspts.blogspot.com
pts.blog: 2014-08
http://ptspts.blogspot.com/2014_08_01_archive.html
On generating integer-sided triangles with an inte. How the lifetime of temporaries is extended becaus. On generating integer-sided triangles with an integer area/perimeter ratio. This blog post contains come comments about finding all triangles whose sizes are integers and the area/perimeter ratio is the integer r. This is related to Project Euler problem 283. Contains a nice analysis and some pseudocode for generating all possible ( a. Size triplets for the given ratio r. Here is the corrected version:.
muhdzamri.blogspot.com
My Linux Life: Mageia 4
http://muhdzamri.blogspot.com/2014/02/mageia-4.html
News and my experience working with GNU/Linux and open source softwares. Tuesday, February 4, 2014. Mageia 4 has been released on Feb 3rd 2014. For Mageia 3 users, you will get a notification to upgrade. Just click on it and after answer a few questions, you're set to go. I just did that and at the time of this writing, I'm using Mageia 4. For those who are in search of a distro, Mageia is worth to try. Zamri M. S. Subscribe to: Post Comments (Atom). Subscribe to this blog. Zamri M. S. Recently, my serve...
edealsuk.com
Online Shopping News
http://www.edealsuk.com/online-shopping
Music and DVD Shops. Purple Parking – Get Extra Cashback. Purple Parking offers very convenient & secure car parks at all UK airports with excellent facilities. They offer wonderful convenient car parking options including Park & Ride Parking, Meet & Greet Parking and Park & Ride Premium Parking with high. August 23, 2016. James Villa Holidays – Extra Cashback Plus Half Price Sale. August 19, 2016. TReds – Extra Cashback Plus Up To 60% Off. August 18, 2016. August 16, 2016. Q-Park, the most popular parki...
SOCIAL ENGAGEMENT