Skip to content

Instantly share code, notes, and snippets.

@TheAndrey
TheAndrey / ReadMe.md
Last active July 13, 2024 17:39
Блокировка самой назойливой рекламы в мире.

Yandex AdBlock

Блокировка самой назойливой рекламы в мире.
Этот user.css старается максимально аккуратно скрывать назойливые рекламные баннеры в сервисах яндекса чтобы не быть обнаруженным.

Яндекс применяет обфуксацию кода рекламных баннеров при обнаружении факта использования блокировщика рекламы, что позволяет ему успешно обходить фильты блокировщиков.

Установка

  1. В вашем браузере должно присутствовать любое расширение, позволяющее устанавливать пользовательские стили. Например, Stylus для Firefox или Chrome.
@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver).md
Last active July 5, 2024 10:17
Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

This guide will walk you through the steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest.

Prerequisites

This guide assumes that you are using the following setup:

You could still make this guide work with other setups (possibly with some modifications to the commands and whatnot).

@rmi1974
rmi1974 / windows_apps_arm32_arm64_wine.md
Last active November 20, 2023 18:49
Windows ARM32 and ARM64 applications for testing on Wine AArch64 #wine #arm32 #arm64 #aarch64 #winrt

Windows ARM32 and ARM64 applications for testing on Wine AArch64

Links

  • [Windows 10 SDK (archive.org)][1]
  • [Windows PowerShell Core 6.x for ARM64][2]
  • [VLC 4.0.0 ARM64 (archive.org)][3]
  • [DtWinVer - A comprehensive OS detection Class (archive.org)][4]
  • [DebugLogger - A software driver that lets you log kernel-mode debug output into a file on Windows][5]
  • [Notepad2 for ARM / ARM64 Windows][6]
@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md
Last active June 19, 2024 15:50
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

Update 28 July 2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

@zmts
zmts / tokens.md
Last active July 29, 2024 19:21
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов
@mislav
mislav / addressbook2vcard.rb
Created January 22, 2014 02:45
iPhone OS 4.1 Address Book to .vcf converter
# Usage: addressbook2vcard /path/to/AddressBook.sqlitedb
#
# Reads contact info from iPhone OS 4.1 Address Book database and outputs it as
# VCard 3.0 for easy import in other programs.
require 'sqlite3'
String.class_eval do
def present?
!strip.empty?