- Force https.
- Split domain pasted to username field to domain field.
- Optionally (disabled by default) convert domain dropdown to text input.
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
// ==UserScript== | |
// @name LJ title revert | |
// @id ljTitleRevert@pyhedgehog.github.com | |
// @namespace https://gist.github.com/pyhedgehog/ | |
// @description Revert recent changes on livejournal blog pages that brings ljuser to end of title. | |
// @homepage https://gist.github.com/pyhedgehog/92b4dd8088657ce78208/ | |
// @downloadURL https://gist.github.com/pyhedgehog/92b4dd8088657ce78208/raw/ljTitleRevert.user.js | |
// @updateURL https://gist.github.com/pyhedgehog/92b4dd8088657ce78208/raw/ljTitleRevert.meta.js | |
// @include http://*.livejournal.com/*.html | |
// @include http://users.livejournal.com/*/*.html |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JSON viewer</title> | |
<style id="jsbin-css"> | |
.error { color:red; } | |
pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; } | |
.string { color: green; } | |
.number { color: darkorange; } |
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
#!node | |
if(!process.send) { | |
console.log("Not started with accessible parent IPC."); | |
process.exit(1); | |
} | |
process.on('message', function(json) { | |
console.log('parent->child message passed', json); | |
process.send({type:'got', payload:json}); | |
if(json.type === 'exit') process.exit(0); | |
}); |
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
#!node | |
var fs = request('fs'); | |
var util = require('util'); | |
var Buffer = request('buffer').Buffer; | |
var events = request('events'); | |
function PipeParentApi() { | |
var self = this; | |
this.waitlen = 0; | |
this.wait = null; |
There are many places when namedtuple
should be used, but it has two major drawbacks:
- It can't be detected (all namedtuple's has different base classes).
- It can't be pretty-printed (that's important for debugging and introspecting).
- Rename
namedtuple
function to_namedtuple
.
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
import sys | |
sys.stderr.write('test stderr stream out\n') | |
sys.stdout.write('test stdout stream out\n') |
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
PERFORMER "Борис Гребенщиков" | |
TITLE "577 - Музыка Австралии" | |
REM DATE 2016-06-05 | |
FILE "podfm_aerostat_aerostat_577.mp3" MP3 | |
TRACK 01 AUDIO | |
TITLE "Заставка" | |
REM REPLAYGAIN_TRACK_GAIN -5.76 dB | |
REM REPLAYGAIN_TRACK_PEAK 0.963650 | |
INDEX 01 00:00:00 | |
TRACK 02 AUDIO |
Уважаемые странники, если у вас есть информация о датах (месяц-день) следующих передач (для которых у меня есть только год) из цикла "Партитуры не горят" Артёма Варгафтика, то пожалуйста, оставьте комментарий. Если у вас есть ещё какие-нибудь дополнительные коментарии (например уточнение названий) - буду только благодарен. Так же ищу любую дополнительную информацию не только по этим передачам, но и по тем о дате выхода которых информация уже найдена - отдельный список в следующей части. Если вы знаете о передач цикла не попавших в эти два списка - комментарии так же ждут вас.
В идеале, полную информацию, которую хотелось бы собрать (по важности):
- Название.
- Дата выхода.
- Описание (как было в аннонсе).
OlderNewer