Instantly share code, notes, and snippets.

View NativeKeyboardHeight_vs_RxKeboard.swift
// native imperative way
override func viewDidLoad
selector: #selector(keyboardWillShow),
name: UIResponder.keyboardWillShowNotification,
object: nil
@objc private func keyboardWillShow(_ notification: Notification) {
View 3.2_notebook_quizz__Loops.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="" xmlns:xsi="">
<file path="C:\ProgramData\chocolatey\lib\winlister\" checksum="7768F87746DFD546A2CAB9EE1F6E5F13" />
<file path="C:\ProgramData\chocolatey\lib\winlister\winlister.nupkg" checksum="A6161908AC8B499FA3A1FE59477CD6E0" />
<file path="C:\ProgramData\chocolatey\lib\winlister\winlister.nuspec" checksum="83AC46B6FB149BF88B50E6E6ACE09520" />
<file path="C:\ProgramData\chocolatey\lib\winlister\tools\chocolateyInstall.ps1" checksum="D48E266DFA75B0BD719EAEE2279E80B0" />
<file path="C:\ProgramData\chocolatey\lib\winlister\tools\readme.txt" checksum="C1E7F88D4A372F02F19F0B7AB0D354D0" />
<file path="C:\ProgramData\chocolatey\lib\winlister\tools\winlister.chm" checksum="011A58AB334F1A8422ADCC9A160C41AE" />
<file path="C:\ProgramData\chocolatey\lib\winlister\tools\winlister.exe" checksum="A57B0D81081EE158D02A1B3AD4D20B
View twitter-api.php
$option = getopt('k:c');
$keyword = $option['k'];
$count = $option['c'];
if(!$keyword) {
echo '[TwitterAPI Error]search keyword is required.';
if(!$count) {
echo '[TwitterAPI Error]count is required.';
View untrusted-lvl5-solution.js
* minesweeper.js *
* So much for Asimov's Laws. They're actually trying to kill
* you now. Not to be alarmist, but the floor is littered
* with mines. Rushing for the exit blindly may be unwise.
* I need you alive, after all.
* If only there was some way you could track the positions
View output_log.txt
Log uploaded on Sunday, January 20, 2019, 10:21:57 AM
Loaded mods:
Core: (no assemblies)
Dubs Bad Hygiene: 0Harmony(, BadHygiene(2.4.6953.34813)
[KV] RimFridge - 1.0: 0Harmony(, RimFridge(
Pick Up And Haul: 0Harmony(, PickUpAndHaul(av:,fv:
Numbers: 0Harmony(, Numbers(av:,fv:
Dubs Mint Menus: 0Harmony(, DubsMintMenus(1.0.6918.10007)
Quarry 1.0: Quarry(
Various Space Ship Chunk: 0Harmony(, ShipChunkTranspiler(
View last.rb
@rules = [
{"<TYPE>": "TYPE"},
{"<TYPE>": "TYPE"},
View untrusted-lvl17-solution.js
* pointers.js *
* You! How are you still alive?
* Well, no matter. Good luck getting through this
* maze of rooms - you'll never see me or the Algorithm again!
View General.xaml
<telerik:RadGridView ShowGroupPanel="False" GridLinesVisibility="Vertical"
ShowColumnHeaders="False" ColumnBackground="Bisque"
View gist:972171bdb3629783e42ea001e26cbcb4
// main.cpp
// Final_Nanxing_Task3
// Created by Nanxing LAI on 2019/1/20.
// Copyright © 2019 Mac. All rights reserved.