Skip to content

Instantly share code, notes, and snippets.

View nanasnumber's full-sized avatar

Shawn Yisiou Wu nanasnumber

View GitHub Profile
//atom-config
@nanasnumber
nanasnumber / .vimrc
Created April 4, 2018 20:03
my-vimrc
set nocompatible
execute pathogen#infect()
syntax on
filetype plugin indent on
autocmd VimEnter * NERDTree
let g:NERDTreeMouseMode=3
set mouse=a
filetype plugin indent on
set number
set ruler
@nanasnumber
nanasnumber / medium_inspired_or_just_plain_old_print_typography.md
Last active March 8, 2019 17:15
Medium Inspired Typography (or just plain old print typography)

Medium Inspired Typography (or just plain old print typography)

Heading Text

font-family: 'Open Sans', sans-serif;
line-height: 1.5;
font-weight: bold;
font-size: 2.5rem;

Linux on Dell Inspiron 11 (3147)

This is a guide to resolve the following issues with Linux on Dell Inspiron 11 3147:

  • suspend/resume issues (cannot go to sleep, cannot wake up from sleep, reboots instead of resume)
  • freezes (gpu freezes mostly when playing video)

I'm using Fedora, but the guide should work on every distro. Adapt as necessary.

Hardware

Output of lspci:

{
"CA_AB": "Alberta",
"CA_BC": "British Columbia",
"CA_MB": "Manitoba",
"CA_NB": "New Brunswick",
"CA_NL": "Newfoundland and Labrador",
"CA_NT": "Northwest Territories",
"CA_NS": "Nova Scotia",
"CA_NU": "Nunavut",
"CA_ON": "Ontario",
@nanasnumber
nanasnumber / states_hash.json
Created June 28, 2023 14:24 — forked from mshafrir/states_hash.json
US states in JSON form
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",