This file contains 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
<input type="text" | |
autocomplete="off" | |
autocorrect="off" | |
autocapitalize="none" | |
spellcheck="false" | |
/> |
This file contains 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
import { Directive, ElementRef } from '@angular/core'; | |
@Directive({ | |
selector: '[autocompleteOff]' | |
}) | |
export class AutocompleteOffDirective { | |
constructor(private _el: ElementRef) { | |
this._el.nativeElement.setAttribute('autocomplete', 'off'); | |
this._el.nativeElement.setAttribute('autocorrect', 'off'); | |
this._el.nativeElement.setAttribute('autocapitalize', 'none'); |
This file contains 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
<input type="text" autocompleteOff /> |
This file contains 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
void main(){ | |
print("Hello World, Robusta is Cooler!"); | |
} |
This file contains 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
import socket | |
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
# Establishing the TCP connection between the python client and the server | |
# which is listening on port 80. | |
client.connect(("o1o.herokuapp.com", 80)) | |
# Constructing the HTTP GET request. | |
request_line_1 = "GET /posts/post-1.html HTTP/1.1\r\n" |
This file contains 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
{"claps":50,"comments":1} |
This file contains 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
import { Directive, ElementRef } from '@angular/core'; | |
@Directive({ | |
selector: '[autocompleteOff]' | |
}) | |
export class AutocompleteOffDirective { | |
constructor(private _el: ElementRef) { | |
let w: any = window; | |
let isChrome = w.chrome; | |
if (isChrome) { |
This file contains 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
from time import sleep | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
driver = webdriver.Chrome() | |
driver.get("https://www.wikipedia.org/") | |
searchInput = driver.find_element_by_name("search") | |
searchInput.clear() | |
searchInput.send_keys("selenium software") |
This file contains 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
package meshredded; | |
import java.util.ArrayList; | |
import java.util.List; | |
class Calculator { | |
public static void main(String[] args) { | |
List<String> entries = new ArrayList<>(); |
This file contains 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
package meshredded; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.function.IntBinaryOperator; | |
class Calculator { | |
public static void main(String[] args) { | |
List<String> entries = new ArrayList<>(); |
OlderNewer