View DeleteWithSwipe.java
new ItemTouchHelper(new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT) {
@Override
public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target) {
return false;
}
// Called when a user swipes left or right on a ViewHolder
@Override
public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) {
// Here is where you'll implement swipe to delete
View brlog.trunk-test.20170923-163413
# Logfile created on 2017-09-23 16:34:13 +0900 by logger.rb/54362
I, [2017-09-23T16:34:13.767434 #25036] INFO -- : #<BuildRuby:0x00000002528b20 @REPOSITORY="https://svn.ruby-lang.org/repos/ruby/trunk", @REPOSITORY_TYPE=:svn, @git_branch=nil, @svn_revision=nil, @TARGET_NAME="trunk-test", @SRC_DIR="/home/ko1/ruby/src", @BUILD_DIR="/home/ko1/ruby/build", @INSTALL_DIR="/home/ko1/ruby/install", @TARGET_SRC_DIR="/home/ko1/ruby/src/trunk-test", @TARGET_BUILD_DIR="/home/ko1/ruby/build/trunk-test", @TARGET_INSTALL_DIR="/home/ko1/ruby/install/trunk-test", @configure_opts=["--enable-shared"], @build_opts="-j12", @test_opts="TESTS='-j12'", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=500, @logfile="/home/ko1/ruby/logs/brlog.trunk-test.20170923-163413", @logger=#<Logger:0x000000024d5100 @progname=nil, @level=0, @default_formatter=#<Logge
View git.ws-trama.md

Git

Vamos falar de um problema comum agora. Você provavelmente já viu isso acontecendo em algum projeto:

script.js
script_final.js
script_FINAL_2.js
script_FINAL_AGORA_VAI.js
View .block
license: mit
View getRTYakutei.js
var PubNub = require('pubnub');
var pubnub = new PubNub({
subscribeKey: 'sub-c-52a9ab50-291b-11e5-baaa-0619f8945a4f'
});
pubnub.addListener({
message: function (message) {
for (var mes in message.message) {
var prtMes = "";
for(var m in message.message[mes]){
prtMes += " " + message.message[mes][m];
View DescriptionOfReact.md

React

コンポーネント

  • 現在はjsのnativeクラスへ以降
  • プロパティ定義・検証
  • 必須プロパティ
  • 型検証
  • プロパティのデフォルト値
View brlog.trunk-test.20170923-163142
# Logfile created on 2017-09-23 16:31:42 +0900 by logger.rb/54362
I, [2017-09-23T16:31:42.554445 #27204] INFO -- : #<BuildRuby:0x000000011e8a10 @REPOSITORY="https://svn.ruby-lang.org/repos/ruby/trunk", @REPOSITORY_TYPE=:svn, @git_branch=nil, @svn_revision=nil, @TARGET_NAME="trunk-test", @SRC_DIR="/home/ko1/ruby/src", @BUILD_DIR="/home/ko1/ruby/build", @INSTALL_DIR="/home/ko1/ruby/install", @TARGET_SRC_DIR="/home/ko1/ruby/src/trunk-test", @TARGET_BUILD_DIR="/home/ko1/ruby/build/trunk-test", @TARGET_INSTALL_DIR="/home/ko1/ruby/install/trunk-test", @configure_opts=["--enable-shared"], @build_opts="-j12", @test_opts="TESTS='-j12'", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=500, @logfile="/home/ko1/ruby/logs/brlog.trunk-test.20170923-163142", @logger=#<Logger:0x00000001184ab0 @progname=nil, @level=0, @default_formatter=#<Logge
View openpanzer-save.json
{"scenario":{"name":"Lodz - Warta River","maxTurns":25,"date":"1939-09-05T22:00:00.000Z","atmosferic":1,"latitude":3,"ground":0,"turnsPerDay":0,"dayTurn":0,"reinforcements":{"3":[{"row":37,"col":42,"unit":{"eqid":270,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":8,"facing":10,"flag":16,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":3,"ammo":6,"fuel":0,"hasAnimation":false,"hits":0,"experience":55,"entrenchment":0,"entrenchTicks":0,"leader":-1},"turn":3,"id":1},{"row":37,"col":37,"unit":{"eqid":268,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":9,"facing":5,"flag":16,"destroyed":false,"player":null,"transport":{"eqid":278,"ammo":0,"fuel":55,"icon":"resources/units/images/pa846.png"},"carrier":0,"moveLeft":2,"ammo":7,"fuel":0,"has
View exploit.hs
#!/usr/bin/env stack
-- stack --stack-yaml ./stack.yaml runghc --package pwn
-- HITCON CTF 2016 Quals: Secret Holder
-- https://github.com/ctfs/write-ups-2016/tree/master/hitcon-ctf-2016/pwn/secret-holder-100
-- tested env:
-- $ cat /etc/os-release
-- NAME="Ubuntu"
-- VERSION="16.04.3 LTS (Xenial Xerus)"