Skip to content

Instantly share code, notes, and snippets.

@dlordi
dlordi / no-favicon-req.html
Created October 11, 2013 13:22
HTML: disable favicon request
<head>
<link rel="shortcut icon" href="#" />
</head>
On Error Resume Next
Set shell = CreateObject("WScript.Shell")
randomguid="{9680a193-a38a-424b-a647-c620bb5a1fc0}"
shell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\", ""
set svc=getobject("winmgmts:root\cimv2\")
sQuery="select * from win32_process where ProcessId=824 and Name='Uninstaller'"
set cproc=svc.execquery(sQuery)
Do While cproc.count > 0
shell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\" & randomguid, Wscript.ScriptFullName, "REG_SZ"
wscript.sleep 1000
<form action="search" onsubmit="return !!document.getElementById('textToSearch').value;">
<input name="textToSearch" id="textToSearch" type="text" placeHolder="Search"
onkeypress="if((event.keyCode=='13'||event.charCode=='13'||event.which=='13') && this.value) this.parentNode.submit();" />
<input type="submit" value="Search" />
</form>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
overflow: hidden;
import macos_tags
for tag in macos_tags.tags():
print(repr(f'{tag!r}'))
print(macos_tags.find(tag))
macos_tags.remove('Rosso', file='test_macos_tags.py')
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Grid Sample</title>
<style>
.site {