Skip to content

Instantly share code, notes, and snippets.

View vkravets's full-sized avatar

Vladimir Kravets vkravets

View GitHub Profile
@vkravets
vkravets / .phoenix.js
Created August 12, 2022 22:19 — forked from rcarmo/.phoenix.js
Phoenix configuration
// ********************************************************************************
// Setup and TODO
// ********************************************************************************
Phoenix.set({
daemon: false,
openAtLogin: true
});
/*
@vkravets
vkravets / gist:22b8b81d85dc407ec7075400f82b0935
Created March 30, 2021 19:31 — forked from alphazo/gist:3303282
Clone MiFare cards using chinesse UUID writable cards

libnfc supports UUID writable cards and even has some dedicated tools for them.

However it doesn't work with some of the cards found on eBay that are even simpler to use. Sector 0 is unlocked and can be written without any additional commands. libnfc requires a small patch to get it working.

Following has been tested under ArchLinux with modified libnfc 1.5.1, mfoc 0.10.2 and a SCL3711 dongle.

Patch & recompile libnfc

The patch is fairly simple, open libnfc-1.5.1/utils/nfc-mfclassic.c and comment 2 lines (it was lines 384 and 385 for me):

// Try to write the trailer

@vkravets
vkravets / README.md
Created September 14, 2016 13:15 — forked from pthrasher/README.md
Mac OS X - Wallpaper Changer - Swift

Mac OS X - Wallpaper Changer

Swift code to change the Wallpaper for all screens. Currently, it changes only the current spaces' wallpaper. I'm working on a version to change in all spaces.

Usage: WallpaperChanger "/Users/username/SomeFolder/SomePicture.jpg"

@vkravets
vkravets / nm-signal-0.svg
Created March 28, 2012 13:56 — forked from 3demax/nm-signal-0.svg
rc.lua for lualock simpleblack theme
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.