Skip to content

Instantly share code, notes, and snippets.

View wallpaper.py
# coding: utf-8
# Licensed under the MIT License
# Copyright © 2016 Bharadwaj Raju <bharadwaj.raju@keemail.me>
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit persons
# to whom the Software is furnished to do so, subject to the following conditions:
@Lokawn
Lokawn / Install i3 on arch.sh
Created Jul 26, 2022 — forked from chreniuc/Install i3 on arch.sh
Steps i followed to install arch + i3
View Install i3 on arch.sh
timedatectl set-ntp true
timedatectl set-timezone Europe/Bucharest
fdisk /dev/sda
########################################
n 1G pentru /boot /dev/sda1
a - Flag it as bootable
n - 4G pentru swap /dev/sda3
n - 70G pentru / /dev/sda2
@Lokawn
Lokawn / .gitattributes
Created Jul 26, 2022 — forked from mezcel/.gitattributes
Alpine Linux Notes
View .gitattributes
## win10 line endins
*.bat eol=crlf
*.ps1 eol=crlf
## Linux/Posix line endins
*.go eol=lf
*.sh eol=lf
*.source eol=lf
Makefile eol=lf
View _dotfiles.md
@Lokawn
Lokawn / wallpaper-changer
Created Jul 26, 2022 — forked from daniel-j/wallpaper-changer
This is a simple random wallpaper changer to use with Awesome WM. You need to install feh to use this.
View wallpaper-changer
#!/bin/bash
#
# Created by djazz // Dangershy
# Dependencies: feh
#
FOLDER="~/Pictures/wallpapers"
DELAY=10
# to make it loop over lines instead of spaces in filenames
@Lokawn
Lokawn / arch-usb-uefi.md
Created Jul 26, 2022 — forked from elerch/arch-usb-uefi.md
Installation of Arch Linux on a USB stick with UEFI and legacy BIOS Support
View arch-usb-uefi.md

Our goal here is to have one USB stick to rule them all. Objectives:

  • We want a full system - not a live CD
  • We want to boot this system on a Macbook Pro (requires UEFI)
  • We want to boot this system on a Acer C720 Chromebook (requires Legacy BIOS support)
  • We want the system "functional"

The last bullet is subject to interpretation, but I'm defining functional as:

  • X Windows works (with LXDE)
@Lokawn
Lokawn / unixToolbox.md
Created Jul 26, 2022 — forked from tokhi/unixToolbox.md
Collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users.
View unixToolbox.md

#Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

##Unix Toolbox revision 14.4

The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are m
View exciting-repos.md

Exciting Repos

Disclaimer

These repos are selected from GitHub Explore daily / weekly newsletters based on my interests since 2018. There're tons of exciting / awesome repos on github, here's only part of them selected for my furthur studies, and wish they're useful to you as well. Listed in alphabetical order.

这些的 repo 摘选自从 2018 年起 GitHub Explore 基于我个人兴趣生成的日报或者周报。GitHub 上有非常多优秀的开源仓库,这里仅仅是一小部分我个人未来学习参考的项目,希望它们也能给您带来帮助。仓库按照字母表排序。

Table of Content

@Lokawn
Lokawn / README.md
Created Jul 26, 2022 — forked from ruario/README.md
Run Vivaldi Package (rpm, deb or recompressed contents)
View README.md

Run Vivaldi Package

The attached script (rvp.sh) will allow you to directly run a Vivaldi .deb or .rpm package without “installing” it. This works by quickly extracting the package contents into /var/tmp and then executing the binary therein (the extracted files are removed when you close Vivaldi).

Vivaldi is run with a temporary user data (settings) that are specific to that exact version. This is to avoid messing up the main install's user data.

To run Vivaldi in this way, make rvp.sh executable and start a build like so:

./rvp.sh vivaldi-snapshot-1.15.1159.7-1.x86_64.rpm