I hereby claim:
- I am avipars on github.
- I am aviparshan (https://keybase.io/aviparshan) on keybase.
- I have a public key whose fingerprint is ADDB 81D9 B5E9 63C9 A3F5 9DDE C91E 7A25 AA10 1E68
To claim this, I am signing this object:
javascript: function sleep(ms) { | |
return new Promise((resolve) => setTimeout(resolve, ms)); | |
} | |
await sleep(3000); | |
document.querySelector('input[value="Make Appointment!"]').click(); | |
await sleep(3000); | |
document.querySelector('input[value="AA"]').click(); |
/* | |
Access-Control-Allow-Origin: * | |
X-Frame-Options: SAMEORIGIN | |
X-XSS-Protection: 1; mode=block | |
Content-Security-Policy: default-src 'self';script-src https://gc.zgo.at;;default-src 'self';font-src fonts.gstatic.com;style-src 'self' fonts.googleapis.com;frame-ancestors 'self'; |
$links = Get-Content "D:\links.txt" | |
#each link should be in it's own line | |
foreach($item in $links){ | |
start chrome $item | |
} |
javascript: | |
try { | |
setTimeout(function(){ document.querySelector('[aria-label="Actions for this post"]').click(); | |
}, 1700); | |
} catch e { | |
break; // breaks inner-loop only | |
} |
$uri = "https://whatismyip.host/ip4" | |
$ipv4 = (Invoke-WebRequest -uri $uri).Content | |
$currentip = "your.current.public.ip4" | |
$val = $true | |
:loop while ($val) { | |
if($ipv4 -ne $currentip){ | |
Write-Output "not equal - $ipv4 vs $currentip" |
Updating data in an Android RecyclerView | |
Suragch | |
Suragch | |
Dec 22, 2018·4 min read | |
This is a repost of an answer I wrote on Stack Overflow. | |
There are two main things that I find helpful when exploring a new API: seeing examples (especially ones with pictures) and just trying out all the possibilities. This post will hopefully help you with that as you are learning how to update the adapter data in an Android RecyclerView. If you need help setting up the RecyclerView itself, then see this post or scroll down to the Code section below. | |
Overview |
service: notify.notify | |
data: | |
title: Tomorrow's forecast | |
message: >- | |
Expect {{state_attr("weather.home", "forecast")[0].condition}} conditions | |
with high of {{state_attr("weather.home", "forecast")[0].temperature}} | |
degrees, and {{state_attr("weather.home", "forecast")[0].humidity}} % | |
humidity |
@import url("https://fonts.googleapis.com/css?family=Montserrat"); | |
html, | |
body { | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
font-family: "Montserrat", sans-serif; | |
} |
I hereby claim:
To claim this, I am signing this object: