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
body { | |
margin: 0; | |
padding: 0; | |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | |
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | |
sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
display: grid; | |
grid-template-rows: [top] auto [header] 1fr [footer] auto [bottom]; |
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
git clone https://github.com/northhighland/coke_apt.git | |
git clone https://github.com/northhighland/coke_apt_ui.git | |
(cd coke_apt_ui && git checkout -b export) | |
cd coke_apt | |
git checkout -b import-web | |
scripts/import.sh ../coke_apt_ui web export |
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
function createFetcher<Params, Return>(endpoint: (params: Params) => string, handler: (obj: any) => Return) { | |
return _debounce((params: Params) => { | |
fetch(API_BASE_URL + endpoint(params), DEFAULT_GET_OPTIONS) | |
.then(response => response.json()) | |
.then(handler); | |
}, 200); | |
} | |
export const findMarketingAsset = createFetcher( | |
({ id = null } = {}) => `/assets/${id}`, | |
jsonArray => new MarketingAsset(jsonArray[0]), |
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
@echo off | |
echo 127.0.0.1 global.jobs.test > %temp%\temphosts.txt | |
echo 127.0.0.1 bravo.jobs.test >> %temp%\temphosts.txt | |
type C:\WINDOWS\system32\drivers\etc\hosts >> %temp%\temphosts.txt | |
copy /Y %temp%\temphosts.txt C:\WINDOWS\system32\drivers\etc\hosts |
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
[ | |
{ | |
"email":"example@gmail.com", | |
"pwned":[ | |
"Adobe" | |
] | |
} | |
] |