Simple Horizontal Divider Item Decoration for RecyclerView
mRecyclerView.addItemDecoration(new SimpleDividerItemDecoration(
getApplicationContext()
));
NOTE: Add item decoration prior to setting the adapter
# You may use this CentOS 7 repository on Fedora Copr for Vim 8 builds. | |
# https://copr.fedorainfracloud.org/coprs/mcepl/vim8/ | |
# | |
# Run these commands on CentOS 7. | |
# Add this repository: | |
sudo curl -L https://copr.fedorainfracloud.org/coprs/mcepl/vim8/repo/epel-7/mcepl-vim8-epel-7.repo -o /etc/yum.repos.d/mcepl-vim8-epel-7.repo | |
# Upgrade Vim to vim 8: |
import datetime | |
import heapq | |
import types | |
import time | |
""" | |
https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/ | |
""" |
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
import fsModule = require("fs"); | |
import moment from "moment"; | |
import Promise = require("bluebird"); | |
Promise.promisifyAll(fsModule); | |
// 使用{readdirSyncAsync?: any}保证不会与typeof(fs)间冲突 | |
let fs: (typeof fsModule) & {readdirSyncAsync?: any}; | |
fs = fsModule; |
0 |
0406929557bce0e06363cd2c91b704d061bba504e539302d1c0b366380c704eaf3b1cb39df0af063b41350d833b41190d484dcb4dc6557666f52230afd3b7461aa benymor |
const crypto = require('crypto'); | |
const assert = require('assert'); | |
// Generate Alice's keys... | |
const alice = crypto.createDiffieHellman(2048); | |
const aliceKey = alice.generateKeys(); | |
// Generate Bob's keys... | |
const bob = crypto.createDiffieHellman(alice.getPrime(), alice.getGenerator()); | |
const bobKey = bob.generateKeys(); |