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
{ | |
"bip": "10.200.0.1/24", | |
"default-address-pools":[ | |
{"base":"10.201.0.0/16","size":24}, | |
{"base":"10.202.0.0/16","size":24} | |
] | |
} |
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
for repo in $(curl -s --header "PRIVATE-TOKEN: <private token>" https://gitlab.com/api/v4/groups/<group id>?include_subgroups=true | jq ".projects[].ssh_url_to_repo" | tr -d '"'); do git clone $repo; done; |
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
shahid.codes { | |
try_files {path} / | |
encode gzip | |
root * /usr/share/caddy | |
file_server | |
} |
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 React from 'react'; | |
export const BreakpointDebug: React.FC<{}> = () => { | |
return ( | |
<div className="bg-white rounded-full flex items-center justify-center p-2 px-3"> | |
<div className="sm:hidden md:hidden lg:hidden">sm</div> | |
<div className="hidden sm:block md:hidden lg:hidden">md</div> | |
<div className="hidden sm:hidden md:block lg:hidden">lg</div> | |
<div className="hidden sm:hidden md:hidden lg:block">lg+</div> | |
</div> |
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
const find = (str, char)=>{ | |
let indexes = [] | |
for(let i=0; i<str.length; i++){ | |
// console.log(str.charAt(0) + "==" + char) | |
if(str.charAt(i) == char){ | |
indexes.push(i); | |
} | |
} | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="twitter-comment"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div class="media"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="https://cdn.rawgit.com/Marak/faker.js/master/examples/browser/js/faker.js"></script> | |
</head> | |
<body> |
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 a command prompt with administrative access type each of the following commands: | |
CACLS.EXE C:\WINDOWS\system32\drivers\etc\hosts /G BUILTIN\Users:R | |
CACLS.EXE C:\WINDOWS\system32\drivers\etc\hosts /E /G "BUILTIN\Power Users:R" | |
CACLS.EXE C:\WINDOWS\system32\drivers\etc\hosts /E /G BUILTIN\Administrators:F | |
CACLS.EXE C:\WINDOWS\system32\drivers\etc\hosts /E /G "NT AUTHORITY\SYSTEM:F" | |
ATTRIB.EXE -S -H +A -R C:\WINDOWS\system32\drivers\etc\hosts | |
If this doesn't resolve the issue you will need a better program to do it. Download SubInACL from Microsoft. You can work up the syntax for taking ownership or I'll do it if you can't figure it out. |
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
var scrollCount = 0 | |
var btns = []; | |
let delay = 0 | |
var addConnections = ()=>{ | |
btns.forEach(el=>{ | |
delay += Math.floor(Math.random()*3000); | |
console.log("btn set to auto click after " + delay + "ms") | |
setTimeout(()=>{ | |
el.click(); | |
}, delay) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style> | |
body { | |
background-color: #00A6A6; | |
color: #BBDEF0; |