Skip to content

Instantly share code, notes, and snippets.

View idvoretskyi's full-sized avatar
💭
🇺🇦

Ihor Dvoretskyi idvoretskyi

💭
🇺🇦
View GitHub Profile
@hkwi
hkwi / README.md
Last active July 28, 2020 11:12
libvirt + prometheus + grafana
@alexellis
alexellis / sync_date_time.sh
Created February 9, 2018 10:24
Sync time and date via curl
#!/bin/bash
date -d "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')"
@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
@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
@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! .

@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'},
@bendavis78
bendavis78 / gist:827089ff8f2a8d8975ee
Last active May 29, 2022 17:01
Installing Arch Linux on Chromebook Pixel 2
@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