Skip to content

Instantly share code, notes, and snippets.

View siandreev's full-sized avatar
🤔
my rubic stays cubic

Sergey Andreev siandreev

🤔
my rubic stays cubic
View GitHub Profile
@rustcohlnikov
rustcohlnikov / download_VK_music_titles.js
Created May 2, 2020 11:37
Download VK music titles as text file
// 1. Manually scroll down and load all the music on your library
// 2. Paste code into console and hit Enter
// 3. Type `getMusic()`
// 4. `music.txt` files is downloaded
function getMusic() {
let songs = [];
let nodes = document.querySelectorAll('div.audio_row_content');
for (let index = 0; index < nodes.length; index++) {
@Pencroff
Pencroff / CamelCaseMacro.velocity
Last active January 30, 2024 12:56
Transformation file name to CamelCase in IntelliJ IDEA file templates
## file name transformation
## file-name => FileName
## Sources:
## http://stackoverflow.com/questions/6998412/velocity-string-function
## http://stackoverflow.com/questions/21288687/using-velocity-split-to-split-a-string-into-an-array-doesnt-seem-to-work
## http://velocity.apache.org/engine/releases/velocity-1.7/apidocs/org/apache/velocity/util/StringUtils.html#split(java.lang.String, java.lang.String)
#set( $CamelCaseName = "" )
#set( $part = "" )