Simple and reorganized version of http://www.w3.org/2014/07/mobile-web-app-state/
Community
- System Applications Working Group http://www.w3.org/2012/05/sysapps-wg-charter.html
- Device APIs Working Group
| ### PowerShell profile template - Manan Sharma | |
| ### | |
| ### https://gist.github.com/mananshr/be2a248d1e34e52a77d0be37ffcd7fb4 | |
| ### | |
| ### Source credits: Tim Sneath <tim@sneath.org> | |
| ### Forked from https://gist.github.com/timsneath/19867b12eee7fd5af2ba | |
| ### | |
| ### This file should be stored in $PROFILE.CurrentUserAllHosts | |
| ### If $PROFILE.CurrentUserAllHosts doesn't exist, you can make one with the following: | |
| ### PS> New-Item $PROFILE.CurrentUserAllHosts -ItemType File -Force |
| ################################################## | |
| # Write a title summarizing what this commit does. | |
| # Start with an uppercase imperative verb, such as | |
| # Add, Drop, Fix, Refactor, Bump; see ideas below. | |
| # Think of your title as akin to an email subject, | |
| # so you don't need to end with a sentence period. | |
| # Use 50 char maximum, which is this line's width. | |
| ################################################## | |
| Add your title here |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| import "./styles.css"; | |
| document.getElementById("app").innerHTML = ` | |
| <h1>Hello Vanilla!</h1> | |
| <div> | |
| We use the same configuration as Parcel to bundle this sandbox, you can find more | |
| info about Parcel. | |
| </div> | |
| `; |
| package com.gokrazee.app.util.gif; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Bitmap.Config; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; |
| package com.merevik.countingtextview; | |
| import android.animation.ObjectAnimator; | |
| import android.content.Context; | |
| import android.os.Parcel; | |
| import android.os.Parcelable; | |
| import android.util.AttributeSet; | |
| import android.view.animation.LinearInterpolator; | |
| import android.widget.TextView; |
| public HashMap<K, ArrayList<V>> getMap(ArrayList<V> vs) { | |
| ArrayList<K> keys = new ArrayList<>(); | |
| Iterator<V> iterator = vs.iterator(); | |
| while (iterator.hasNext()) { | |
| V v = iterator.next(); | |
| if (!keys.contains(v.getV())) { | |
| keys.add(v.getV()); | |
| } | |
| } |
| public class CountingFileRequestBody extends RequestBody { | |
| private static final int SEGMENT_SIZE = 2048; // okio.Segment.SIZE | |
| private final File file; | |
| private final ProgressListener listener; | |
| private final String contentType; | |
| public CountingFileRequestBody(File file, String contentType, ProgressListener listener) { | |
| this.file = file; |
| /*! | |
| * jQuery JavaScript Library v2.1.1 | |
| * Mod 0.2.1 | |
| * http://jquery.com/ | |
| * | |
| *http://stackoverflow.com/users/2043419/manan-merevik-sharma | |
| * | |
| * Includes Sizzle.js | |
| * http://sizzlejs.com/ | |
| * |
Simple and reorganized version of http://www.w3.org/2014/07/mobile-web-app-state/
Community
- System Applications Working Group http://www.w3.org/2012/05/sysapps-wg-charter.html