This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data":{ | |
"detections":[ | |
[ | |
{ | |
"confidence":0.7859922051429749, | |
"isReliable":false, | |
"language":"en" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
#include <iostream> | |
using namespace std; | |
int main() { | |
int w, k, a, b, gwiazdki, reszta; | |
double bkwadrat; | |
cout << "Wpisz liczbe wierszy "; | |
cin >> w; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun <T> LiveData<T>.observeOnce(owner: LifecycleOwner, reactToChange: (T) -> Unit): Observer<T> { | |
val wrappedObserver = object : Observer<T> { | |
override fun onChanged(data: T) { | |
reactToChange(data) | |
removeObserver(this) | |
} | |
} | |
observe(owner, wrappedObserver) | |
return wrappedObserver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disassembly of section __TEXT,__text: | |
__text: | |
100000df0: 55 pushq %rbp | |
100000df1: 48 89 e5 movq %rsp, %rbp | |
100000df4: 48 81 ec c0 00 00 00 subq $192, %rsp | |
100000dfb: 31 c0 xorl %eax, %eax | |
100000dfd: 89 c7 movl %eax, %edi | |
100000dff: 48 8b 0d 1a 12 00 00 movq 4634(%rip), %rcx | |
100000e06: 48 8b 09 movq (%rcx), %rcx | |
100000e09: 48 89 4d f8 movq %rcx, -8(%rbp) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setInterval(function () { | |
document.getElementById('see_older').getElementsByClassName('content')[0].click(); | |
console.log("Clicking at button..."); | |
}, 500); | |
console.log("Started"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ functions git:(master) ✗ npm ls | |
functions@ /Users/bartekpacia/dev/node/discover-rudy-functions/functions | |
├─┬ @types/[email protected] | |
│ ├─┬ @types/[email protected] | |
│ │ └── @types/[email protected] deduped | |
│ └── @types/[email protected] deduped | |
├─┬ @types/[email protected] | |
│ ├── @types/[email protected] deduped | |
│ ├─┬ @types/[email protected] | |
│ │ ├── @types/[email protected] deduped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rfishield = 0 | |
dfishield = 0 | |
sqlishield = 0 | |
counter = 0 | |
with open("breach.log") as f: | |
while True: | |
line = f.readline() | |
if "blocking reason" in line.lower(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Functions | |
# | |
# The name of the current branch | |
# Back-compatibility wrapper for when this function was defined here in | |
# the plugin, before being pulled in to core lib/git.zsh as git_current_branch() | |
# to fix the core -> git plugin dependency. | |
function current_branch() { | |
git_current_branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Europejskie stolice</title> | |
<h1>Europejskie stolice</h1> | |
<b> | |
Na tej stronie będziecie mogli odbyć wirtualną podróż po stolicach Europy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------ Spotify ------ | |
# Play song passed as argument | |
s() { | |
# saved_volume=$(spotify vol) | |
saved_volume="Current Spotify volume level is 50." | |
if [[ "$saved_volume" =~ [0-9][0-9]?[0-9]? ]]; then | |
saved_volume=$MATCH | |
fi |