Skip to content

Instantly share code, notes, and snippets.

View inlife's full-sized avatar
🇺🇦
Be Mighty

Vladyslav Hrytsenko inlife

🇺🇦
Be Mighty
View GitHub Profile
@inlife
inlife / mixcloud-tracklist.js
Last active April 1, 2020 08:26
Script allows you to copy tracklist with time frames, while listening to a mix on the Mixcloud.
(async () => {
let guid = prompt("Paste in GUID");
let cast = (data) => {
return data.results.result.map(obj => {
let tracks = obj.trackclients.trackclient
if (tracks.length == 0) {
tracks.push({ track_title: 'Unknown', track_mix_artist: 'Unknown' })
}
const array2d = array1d
.reduce((cur, i) => {
/* transform 1d array to 2d */
let lastInd = cur.length-1
let lastVal = cur[lastInd]
if (lastVal.length === 3) {
return cur.concat([[i]])
}

Type

Must be one of the following:

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
@inlife
inlife / Windows10AWSEC2.md
Created April 16, 2024 06:01 — forked from peterforgacs/Windows10AWSEC2.md
Running Windows 10 on AWS EC2

Running Windows 10 on AWS EC2

Downloading the image

Download the windows image you want.

AWS vmimport supported versions: Microsoft Windows 10 (Professional, Enterprise, Education) (US English) (64-bit only)

So Home wont work.