A curated list of arrrrrrrrr!
nil0x42's tips & tricks
- Scrape twitter account of all github followers of target user on GitHub
- Scrape twitter account of all stargazers of target project on GitHub
This file contains hidden or 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 perlmonks.org Readability Enhancements | |
| // @description Readability Enhancements for perlmonks.org | |
| // @author rjf89 | |
| // @include http://perlmonks.org/* | |
| // @include https://perlmonks.org/* | |
| // @include http://*.perlmonks.org/* | |
| // @include https://*.perlmonks.org/* | |
| // @include http://www.perlmonks.org/* | |
| // @include https://www.perlmonks.org/* |
This file contains hidden or 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
| // Считывает лист Excel в таблицу значений для дальнейшей обработки | |
| // | |
| // Параметры: | |
| // Адрес - путь к файлу | |
| // НомерЛиста - номер листа Excel по порядку (по умолчанию 1) | |
| // НомерПервойСтроки - строка, с которой необходимо начать считывание (по умолчанию 1) | |
| // НомерПервойКолонки - колонка, с которой необходимо начать считывание (по умолчанию 1) | |
| // ВсегоСтрок - последняя строка диапазона (по умолчанию последняя строка с данными) | |
| // ВсегоКолонок - последняя колонка диапазона (по умолчанию последняя колонка с данными) | |
| // |
This file contains hidden or 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
| &НаСервере | |
| Процедура ВывестиТаблицуНаФорму(УФ,ИмяТЗНаФорме,ТЗ, ТЗОбработчиковСобытий = Неопределено) Экспорт | |
| // http://forum.infostart.ru/forum24/topic88416/message932315/#message932315 | |
| // СОЗДАНИЕ РЕКВИЗИТОВ ФОРМЫ | |
| МассивДобавляемыхРеквизитов = Новый Массив; | |
| Для Каждого Колонка Из ТЗ.Колонки Цикл | |
| МассивДобавляемыхРеквизитов.Добавить(Новый РеквизитФормы(Колонка.Имя, Колонка.ТипЗначения,ИмяТЗНаФорме ,Колонка.Заголовок)); | |
| КонецЦикла; | |
This file contains hidden or 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
| javascript:(function(){ | |
| /* escape quotes and commas in contents to be comma-separated */ | |
| function wrapCsvContents(content) { | |
| if (typeof(content) === 'string') { | |
| if (content.replace(/ /g, '').match(/[\s,"]/)) { | |
| return '"' + content.replace(/"/g, '""') + '"'; | |
| } | |
| } | |
| return content; | |
| } |