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
options snd-intel-dspcfg dsp_driver=1 |
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 getLineBreakChar(string) { | |
const indexOfLF = string.indexOf('\n', 1); // No need to check first-character | |
if (indexOfLF === -1) { | |
if (string.indexOf('\r') !== -1) return '\r'; | |
return '\n'; | |
} | |
if (string[indexOfLF - 1] === '\r') return '\r\n'; | |
return '\n'; | |
} |
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"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<input type="text" id="text" /> | |
<button id="btn"> | |
Save! |
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
{ | |
"version": "1.0.8" | |
} |
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
++[---------->+<]>.---------.+.-[----->+<]>++++.[--->++<]>---.---------.---.-----[->++<]>.[--->++<]>---.+++++++.[----->+<]>+.-[-->+++<]>+.+[---->+++<]>-.---------.+.-[----->+<]>++++.[--->++<]>---.---------.+.-[----->+<]>+++.[----->+<]>++.---------.+.-[-->+++<]>+.+[---->+++<]>-.---------.+.-[----->+<]>++++.[--->++<]>---.+++++++.[---->+++<]>++.-----[->++<]>.[--->++<]>---.---------.---.[--->+<]>----.+[---->+++<]>-.---------.+.-[----->+<]>++++.[--->++<]>---.---------.+.-[----->+<]>+++.[----->+<]>++.---------.---.[--->+<]>----.+[---->+++<]>-.---------.+.-[----->+<]>++++.[--->++<]>---.+++++++.[---->+++<]>++.-----[->++<]>.[--->++<]>---.---------.+.-[-->+++<]>+.+[---->+++<]>-.---------.+.-[----->+<]>++++.[--->++<]>---.---------.---.[------->+<]>.[----->+<]>++.+++++++.[---->+++<]>++.[--->+<]>----.+[---->+++<]>-.---------.---.-----[->++<]>.[--->++<]>---.---------.+.-[----->+<]>++++.[--->++<]>---.+++++++.[---->+++<]>++.[--->+<]>----.+[---->+++<]>-.---------.+.-[----->+<]>++++.[--->++<]>---.---------.---.[------->+<]>.[- |
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 {app, BrowserWindow} = require('electron'); | |
function createWindow () { | |
// Create the browser window. | |
mainWindow = new BrowserWindow({width: 800, height: 600}) | |
// and load the index.html of the app. | |
mainWindow.loadURL(`file://${__dirname}/index.html`) |