Skip to content

Instantly share code, notes, and snippets.

View lucasreppewelander's full-sized avatar
🥇

Lucas Reppe Welander lucasreppewelander

🥇
View GitHub Profile
# https://www.mruy.de/csgo/config-to-console/
host_writeconfig
net graph "1"
net_graphos "2"
net_graphheight "1"
alias "+jumpaction" "+jump;"
const mkdirp = require('mkdirp');
const fs = require('fs');
// async here is critical
const writeFile = async (path, content) => {
// await makes everything wait for that function to execute
await mkdirp(path);
// here you could do whatever you want
await fs.writeFileSync(path, content);
}
@lucasreppewelander
lucasreppewelander / sharetest.html
Created November 22, 2017 11:05
lucas testar share funktion på linkedin
<!doctype html><html prefix="og: http://ogp.me/ns#"><head>
<style>
.template-scoped-style #header {
height: 60px;
position: relative;
z-index: 1000;
}
.template-scoped-style #logo {
margin-top: 7px;
.video-wrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 25px;
height: 0;
}
.video-wrapper video {
position: absolute;
top: 0;