I hereby claim:
- I am johnpc on github.
- I am johncorser (https://keybase.io/johncorser) on keybase.
- I have a public key ASCgRRcmi9jc4HSfYHspPxNENCMnbgdSE6ZczSYuLIRWlwo
To claim this, I am signing this object:
import praw # simple interface to the reddit API, also handles rate limiting of requests | |
import re | |
from collections import deque | |
from time import sleep | |
USERNAME = "Your username here" | |
PASSWORD = "Your password here" | |
USERAGENT = "Your useragent string here. It should include your /u/username as a courtesy to reddit" | |
r = praw.Reddit(USERAGENT) |
############################### | |
# _ # | |
# | |_ _ __ ___ _ ___ __ # | |
# | __| '_ ` _ \| | | \ \/ / # | |
# | |_| | | | | | |_| |> < # | |
# \__|_| |_| |_|\__,_/_/\_\ # | |
# # | |
############################### | |
############################################################################ |
require 'mail' | |
require 'date' | |
require 'gdata/client' | |
require 'gdata/http' | |
require 'gdata/auth' | |
options = { :address => "smtp.gmail.com", | |
:port => 587, | |
:domain => 'your.host.name', | |
:user_name => '<username>', |
require "ordrin" | |
my_secret_key = "PUT SECRET KEY HERE" | |
ordrin_api = Ordrin::APIs.new(my_secret_key, :test) | |
args = Hash.new | |
args["rid"] = '29900' | |
args["em"] = "john@johncorser.com" | |
args["tray"] = '25243987/1' | |
args["tip"] = "0.00" | |
args["first_name"] = "John" | |
args["last_name"] = "Corser" |
package org.apache.cordova.plugin; | |
import org.apache.cordova.api.CordovaPlugin; | |
import org.apache.cordova.api.PluginResult; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import android.bluetooth.BluetoothManager; | |
import android.bluetooth.BluetoothAdapter; |
package org.apache.cordova.plugin; | |
import org.apache.cordova.api.CordovaPlugin; | |
import org.apache.cordova.api.PluginResult; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import android.location.LocationManager; | |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
) | |
func main() { | |
links := []string{ |
// Reproduce with the following steps: | |
// 1. npx create-react-app antd-bug | |
// 2. cd antd-bug | |
// 3. npm install antd && yarn add antd | |
// 4. copy this code into into src/index.js | |
// 5. npm start | |
// Navigate to localhost:3000 | |
// Use the search box to search for "option". Use backspace and re-type. You will see lines get duplicated. | |
// Screen capture video available here: https://www.youtube.com/watch?v=bc9fT4T87ek | |
// Gif version available here: https://jpc.io/r/antd-bug.gif |
tell application "Safari" | |
activate | |
end tell | |
tell application "System Events" to tell application process "Safari" | |
set frontmost to true | |
keystroke "," using {command down} | |
set tb to toolbar 1 of window 1 | |
set buttonName to (name of button 4 of tb as string) | |
click button 4 of tb | |
set theResult to display dialog "Please unlock " & buttonName & " and press Continue when unlocked" buttons {"Cancel", "Continue"} default button "Continue" |