Skip to content

Instantly share code, notes, and snippets.

View NoneType4Name's full-sized avatar
💭
Live forever.... replace i -> ea..

NoneType4Name NoneType4Name

💭
Live forever.... replace i -> ea..
View GitHub Profile
@FlorianWolters
FlorianWolters / CMakeLists.txt
Last active May 21, 2024 17:29
Add Boost C++ Libraries as a dependency with plain CMake
# Copyright (c) 2014-2023 Florian Wolters
# MIT License
cmake_minimum_required(VERSION 3.26.3)
project(
"hello_boost_with_cmake"
VERSION 2.0.0
LANGUAGES CXX)
@himalay
himalay / auto-wall
Last active June 22, 2024 19:00
Sets random wallpaper every 30 minutes using feh(A lightweight and powerful image viewer).
#!/usr/bin/bash
img=(`find ~/pictures/wallpapers/ -name '*' -exec file {} \; | grep -o -P '^.+: \w+ image' | cut -d':' -f1`)
while true
do
feh --bg-scale "${img[$RANDOM % ${#img[@]} ]}"
sleep 30m
done
@zeljic
zeljic / build_sqlite3_lib.md
Last active June 6, 2024 08:03
Build SQLite3 .lib file on windows

How to build SQLite3 .lib file on Windows 10

  1. Download source from source

    For example: source https://www.sqlite.org/2023/sqlite-amalgamation-3430100.zip

  2. Download binary from binary

    For example: binary https://www.sqlite.org/2023/sqlite-dll-win64-x64-3430100.zip

  3. Extract both archives to the same directory