Skip to content

Instantly share code, notes, and snippets.

View bpasero's full-sized avatar

Benjamin Pasero bpasero

View GitHub Profile
[
{
"descr":"function call",
"level":"error",
"path":"/Users/bpasero/Desktop/fb/flow/ad.js",
"line":8,
"endline":8,
"start":1,
"end":7
},
body {
background-color: gray;
}
<!doctype html>
<html>
<head>
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
/* 16:9 */
padding-top: 25px;
@bpasero
bpasero / index.html
Created August 27, 2016 09:24
Resize iframe via CSS
<!doctype html>
<html>
<head>
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
/* 16:9 */
padding-top: 25px;
@bpasero
bpasero / theme.md
Created June 9, 2017 08:22
Theming: New color keys introduced in VS Code 1.13

Theming

We received a lot of feedback for our workbench theming support and are happy to see more and more themes adopting the workbench colors! During this milestone, we added some new colors as well as did some tweaks to existing colors.

These colors can be set by themes or by the user with the workbench.colorCustomizations setting.

New workbench colors introduced:

Key Description
{
"name": "vsliveshare",
"displayName": "VS Live Share",
"description": "Real-time collaborative development. Currently in a limited, private preview.",
"version": "0.2.307",
"publisher": "ms-vsliveshare",
"preview": true,
"license": "SEE LICENSE IN LICENSE.txt",
"homepage": "https://aka.ms/vsls",
"bugs": {
@bpasero
bpasero / index.html
Created August 20, 2018 10:33
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@bpasero
bpasero / index.html
Created August 22, 2018 09:39
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@bpasero
bpasero / index.html
Created August 22, 2018 09:40
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,