Skip to content

Instantly share code, notes, and snippets.

View idvoretskyi's full-sized avatar
💭
🇺🇦

Ihor Dvoretskyi idvoretskyi

💭
🇺🇦
View GitHub Profile
@aaronhalford
aaronhalford / chromeos-crosh-custom-setup.md
Created November 28, 2014 19:59
Customize ChromeOS Crosh Terminal with Custom Fonts and Solarized Dark Theme

Customize Chromebook Chrosh Shell Environment

Requirement: Chromebook, Common Sense, Commandline Ablity, 1 hour of time

Dear developers with a spare Chromebook lets inject a little personalization into your Crosh shell with custom fonts, the solarized theme, and extra secure shell options.

Also, keep in mind that the terms Chrosh, Chrosh Window, and Secure Shell all refer to various versions and extentions built around the ChromeOS terminal. Settings that affect the ChromeOS terminal are global.

Custom Fonts

@idvoretskyi
idvoretskyi / linux_tips&tricks.sh
Last active April 1, 2021 11:46
Linux Tips&tricks.sh
########### Benchmark
wget -qO- bench.sh | bash
curl -Lso- bench.sh | bash
########### User management
# allow superuser access without password
@Bad-ptr
Bad-ptr / .vimrc
Last active March 4, 2020 13:50
Vim settings, compatible with vim.tiny
scriptencoding utf-8
set nocompatible
"Basic Settings {{{1
" Encoding {{{2
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
" Text Wrapping {{{2
@bendavis78
bendavis78 / gist:827089ff8f2a8d8975ee
Last active January 4, 2025 22:11
Installing Arch Linux on Chromebook Pixel 2
@woodrow
woodrow / onc_converter.py
Created April 27, 2016 23:54
Convert OpenVPN config files to ChromeOS ONC files
import argparse
import json
import re
import sys
import uuid
class OpenVPNNetworkConfiguration(object):
KNOWN_CONFIG_KEYS = {
'name': {'key': 'Name'},
@ericoporto
ericoporto / firstsnapexperience.md
Last active December 6, 2017 22:37
Trying to build a Snap for the first time

#My Notes on My First Snap Building Experience

Hi, I wanted to try building a Snap package, so from my experiment thought on leave what my wandering left me, lot's of this content is from the Ubuntu Desktop Developer website . The website has a nice getting started too! .

@DavidMetcalfe
DavidMetcalfe / Google OnHub API URLs.txt
Created January 27, 2017 21:31
List of known Google OnHub API URLs
http://onhub.here/api/v1/status
http://onhub.here/api/v1/diagnostic-report
http://onhub.here/api/v1/welcome-mat
http://onhub.here/api/v1/connected-devices
http://onhub.here/api/v1/get-attestation-information
http://onhub.here/api/v1/get-endorsement-information
@idvoretskyi
idvoretskyi / chromeos_hterm_reset.txt
Last active February 25, 2019 15:41
hterm: How to reset host authentication key for known_hosts on ChromeOS?
Load up your secure shell.
Attempt to connect to your remote host (this step may not be necessary, but it doesn't hurt)
Press <ctrl>+<shift>+j to bring up the javascript console.
Type:
term_.command.removeAllKnownHosts()
Reconnect to host