Skip to content

Instantly share code, notes, and snippets.

View joaomoreno's full-sized avatar
πŸ‘‹

JoΓ£o Moreno joaomoreno

πŸ‘‹
View GitHub Profile
@joaomoreno
joaomoreno / README.md
Last active September 23, 2019 20:28
Plot CPU temperatures with

This plots the CPU temperature of the past 2 minutes in the terminal using spark.

Example run:

current: 58.0
β–…β–…β–„β–…β–…β–…β–ƒβ–ƒβ–ƒβ–‚β–‚β–‚β–β–‚β–‚β–β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–‚β–ƒβ–ƒβ–ƒβ–ƒβ–„β–ƒβ–„β–ƒβ–…β–ƒβ–…β–„β–…β–…β–†β–ˆβ–†β–ˆβ–ˆβ–†β–†β–ˆβ–†
@joaomoreno
joaomoreno / config.xlaunch
Last active August 9, 2024 19:35
Selfhosting VS Code on WSL
<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="0" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="True" XDMCPTerminate="False"/>
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import 'vs/css!./media/sidebysideeditor';
import { Dimension, $, clearNode } from 'vs/base/browser/dom';
import { Registry } from 'vs/platform/registry/common/platform';
import { IEditorControl, IEditorPane, IEditorOpenContext, EditorExtensions } from 'vs/workbench/common/editor';
import { SideBySideEditorInput } from 'vs/workbench/common/editor/sideBySideEditorInput';