Skip to content

Instantly share code, notes, and snippets.

View FrancoAguilera's full-sized avatar
🎯
Focusing

Franco Aguilera FrancoAguilera

🎯
Focusing
View GitHub Profile
const compress = (str) => {
if (str.length < 2) {
return str;
}
const arr = str.split("");
let oputput = [];
let count = 1;
for (let i = 0; i < arr.length; i++) {
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Date.prototype.addHours = function (h) {
this.setHours(this.getHours() + h);
return this;
}
var japanTimeOffset = 9;
var timeZoneOffset = new Date().getTimezoneOffset() / 60;
var japanCurrentTIme = new Date().addHours(japanTimeOffset + timeZoneOffset);
var inWorkingHours = japanCurrentTIme.getHours() >= 8 && japanCurrentTIme.getHours() < 20;
@FrancoAguilera
FrancoAguilera / archinstall.md
Created November 14, 2015 03:49 — forked from miguelfrde/archinstall.md
Preinstalled Windows 8.1 and Arch Linux dual boot

Arch Linux installation (preinstalled Windows 8.1 dual boot)

Before

  1. Disable Windows Fast-Startup
  2. Disable Secure Boot

Partitioning