Skip to content

Instantly share code, notes, and snippets.

View BoQsc's full-sized avatar
💭
I may be slow to respond.

Feldwor BoQsc

💭
I may be slow to respond.
  • Public Domain
  • Baltic States
  • 14:38 (UTC +03:00)
View GitHub Profile
@BrendonKoz
BrendonKoz / auto-caption-tools.md
Last active March 10, 2025 15:43
Automatic Captioning Tools
@weihanchen
weihanchen / ip_address.sh
Created November 28, 2017 00:58
Ubuntu
# Find ip exclude non usage
$ ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | grep 'Bcast' | grep -v '0.0.0.0' | cut -d: -f2 | awk '{ print $1}'
@glem0
glem0 / analyse_mbr.c
Last active April 28, 2023 14:39
A little program to analyse the mbr of any drive on your system, and provide information about the partitions
/* analyse_mbr.c by glem */
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#define MBR_SIZE 512
#define NUM_PARTITIONS 4
/* offsets within the MBR */
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command-window-here-administrator.html
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
@LateralLines
LateralLines / Top 10,000 Words in English Language
Last active June 7, 2022 23:20
10,000 most commonly used words in the english language. Note that this list is not censored, so if you are to use this as a reference for a profanity-sensitive environment, you may want to filter through it first.
the of and to a in for is on that by this with i you it not or be are from at as your all have new more an was we will home can us about if page my has search free but our one other do no information time they site he up may what which their news out use any there see only so his when contact here business who web also now help get pm view online c e first am been would how were me s services some these click its like service x than find price date back top people had list name just over state year day into email two health n world re next used go b work last most products music buy data make them should product system post her city t add policy number such please available copyright support message after best software then jan good video well d where info rights public books high school through m each links she review years order very privacy book items company r read group sex need many user said de does set under general research university january mail full map reviews program life know games way days man
@adikahorvath
adikahorvath / modern-reset.css
Created November 8, 2016 15:01
modern css reset
* {
all: unset;
}
base, basefont, datalist, head, meta, script, style, title,
noembed, param, template {
display: none;
}
@wojteklu
wojteklu / clean_code.md
Last active August 11, 2025 21:14
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@adisib
adisib / youtube_hd.user.js
Last active July 27, 2025 04:48
Make youtube videos in HD and automatically resize
// ==UserScript==
// @name Youtube HD
// @author adisib
// @namespace namespace_adisib
// @description Select a youtube resolution and resize the player.
// @version 2025.04.13
// @match https://*.youtube.com/*
// @noframes
// @grant GM.getValue
// @grant GM.setValue
@ilg-ul
ilg-ul / license-gpl-c-header.txt
Last active August 14, 2024 00:07
C header with GPL license text.
/*
* This file is part of the XXX distribution (https://github.com/xxxx or http://xxx.github.io).
* Copyright (c) 2015 Liviu Ionescu.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@echo off
set batchdir=%~d0%~p0
:start
"%batchdir%pngquant.exe" --ext .q.png --force --verbose 256 %1
"%batchdir%optipng.exe" -force -o4 -out "%~dpn1.opt.png" "%~dpn1.q.png"
del "%~dpn1.q.png"