Skip to content

Instantly share code, notes, and snippets.

View notpushkin's full-sized avatar
🕊️

Alexander Pushkov notpushkin

🕊️
View GitHub Profile
// modules.js
const Modules = (function() {
const config = { base: '' }
const modulesPromises = {}
function loadModule(url) {
if (modulesPromises[url]) return modulesPromises[url]
return modulesPromises[url] = new Promise((res, rej) => {
ajaxGET(config.base + url, (moduleText) => {
title: МЕН-АБ-1 РАСПИСАНИЕ
days:
mon:
- odd: [ "8:30", Экономическая теория (лекция), СТР-321]
evn: [ "8:30", Технологии креативности, СТР-327]
- odd: ["10:10", Экономическая теория (лекция), СТР-321]
evn: ["10:10", Технологии креативности, СТР-327]
- ["12:10", Экономическая теория, СТР-321]
- evn: ["13:50", Экономическая теория, СТР-321]
title: ВТ-15
days:
mon:
- evn: [ "8:30 - 9:50", Матем. логика и теория алгоритмов, 508]
- [ "10:05 - 11:25", Матем. логика и теория алгоритмов, 410]
- odd: [ "12:10 - 13:30", Алгебра и геометрия (практика), 5.518]
evn: [ "12:10 - 13:30", История и культура Украины (практика), 5.211]
- [ "13:45 - 15:01", Правоведение, 5.211]
#EXTM3U
#EXTINF:-1,BBC Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
#EXTINF:-1,BBC Radio 2
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
#EXTINF:-1,BBC Radio 3
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio3_mf_p
#EXTINF:-1,BBC Radio 4
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p
#EXTINF:-1,BBC Radio 5 live
package com.company;
import java.util.Random;
public class Main {
public static int minindx(int u[],int y){
int minIndex = y;
for(int i=y;i<u.length;i++){
if(u[minIndex] > u[i]){
minIndex = i;
@notpushkin
notpushkin / clients.md
Last active December 18, 2015 07:09 — forked from defunkt/clients.md

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

#!/bin/bash
# Applies the Monokai color scheme to the current terminal session.
declare -A map0
map0=( [foreground ]='#F8F8F2' [background ]='#272822'
[cursor ]='#F8F8F0' [selection ]='#49483E'
[pink ]='#F92672' [green ]='#A6E22E'
[yellow ]='#E6DB74' [blue ]='#66D9EF'
[purple ]='#AE81FF' [orange ]='#FD971F'
[gray ]='#75715E' )