This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Cover = { | |
// blobCover: Blob, | |
blobCover: string, // simplify it to string by now | |
httpsCoverUrl?: string | |
} | |
// } | null | |
interface Track { | |
// filename: | |
duration: number, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// const log = (name: string) => { | |
// console.log(name) | |
// } | |
// log('blabla') | |
class Logger { | |
log(name: string) { | |
console.log(name) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# customisation starts after default config | |
# taken from: https://medium.com/@gamunu/enable-high-quality-audio-on-linux-6f16f3fe7e1f | |
# | |
# (this url is duplicated below) | |
# | |
# | |
# | |
# This file is part of PulseAudio. | |
# | |
# PulseAudio is free software; you can redistribute it and/or modify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L','<Shift>Alt_R']" | |
$ gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L','<Alt>Shift_R']" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cors = require('cors') | |
const axios = require('axios'); | |
const express = require('express') | |
const S3 = require('aws-sdk/clients/s3'); | |
const allSettled = require('promise.allsettled'); | |
require('dotenv').config() | |
const app = express() | |
const port = 3200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const headerAuthName = document.querySelector('.header__auth .auth__name'); | |
if (headerAuthName) { | |
const headerStateMenu = document.querySelector('.state-menu'); | |
headerAuthName.addEventListener('mouseover', () => { | |
headerStateMenu.style.display = 'block' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const hideModalParts = () => { | |
document.querySelector('.modal__auth-form').classList.add('hidden'); | |
document.querySelector('.modal__auth-form--registration').classList.add('hidden'); | |
document.querySelector('.modal__auth-form--sign-in').classList.add('hidden'); | |
document.querySelector('.modal__auth-form--restore').classList.add('hidden'); | |
document.querySelector('.modal__header').classList.add('hidden'); | |
document.querySelector('.modal__header--restore').classList.add('hidden'); | |
}; | |
const openRegistrationModal = () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | |
"use strict"; | |
require("./scripts/slider"); | |
},{"./scripts/slider":2}],2:[function(require,module,exports){ | |
"use strict"; | |
Object.defineProperty(exports, "__esModule", { | |
value: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* velo 1060 start */ | |
.modal-main, | |
.modal-choose_city { | |
position: relative; | |
} | |
.popUpWindow, | |
.city-selection { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from urllib.request import urlopen | |
from bs4 import BeautifulSoup | |
name = input('Type your soundcloud username: ') | |
def getYourFollowingPage(yourUsername): | |
followingPageUrl = 'https://soundcloud.com/' +\ | |
yourUsername + '/following' | |
response = urlopen(followingPageUrl) | |
page = response.read() |
NewerOlder