Skip to content

Instantly share code, notes, and snippets.

@NZX-DeSiGN
NZX-DeSiGN / 0_reuse_code.js
Created January 15, 2016 08:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@NZX-DeSiGN
NZX-DeSiGN / faviconize_google.user.js
Last active March 22, 2017 09:25
Google search results faviconize
// ==UserScript==
// @name Faviconize Google (nested icons)
// @namespace http://userscripts.ru/js/faviconize-google/
// @description Adds favicons to each link offered by Google search results.
// @include http://www.google.*/search?*
// @include https://www.google.*/search?*
// @include https://encrypted.google.*/search?*
// @include http://www.google.*/webhp*
// @include http://www.google.*/
// @include https://www.google.*/
@NZX-DeSiGN
NZX-DeSiGN / commands.txt
Created March 31, 2018 10:29
FastComet relocate npm global package (resolve permission denied)
- mkdir ~/.npm-global
- npm config set prefix '~/.npm-global'
- Add this line in ~/.profile : export PATH=~/.npm-global/bin:$PATH
- source ~/.profile
@NZX-DeSiGN
NZX-DeSiGN / raindrop.enhancements.css
Last active January 14, 2019 23:29
Raindrop.io theme & List View enhancements
.themeDark {
--accentColor: #e57373 !important;
--bgColor: #393939;
background: var(--bgColor);
}
.svgIcon.color-accent {
color: var(--accentColor, #1988e0)
}
@NZX-DeSiGN
NZX-DeSiGN / Install.md
Last active October 3, 2020 21:31
KDE Neon Dell XPS installation

Installation

Install KDE Neon from Live USB.

Kernel

Default kernel 5.3 installed cause unusual memory swap. To fix it use Liquorix kernel.

sudo add-apt-repository ppa:damentz/liquorix && sudo apt-get update

Install Pop OS 20.04

Follow this guide, partition your disk a install Pop OS 20.04 from live USB :

  • Boot from live USB
  • Partition your hard disk: EFI Boot, BTRFS root, EXT4 home, SWAP
  • Install Pop OS and DO NOT REBOOT
mount -o subvolid=5,ssd,noatime,space_cache,commit=120,compress=zstd /dev/sdb5 /mnt