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
| #!/usr/bin/env python | |
| # muzebra.com/vk.com parser & downloader | |
| import os | |
| import requests | |
| from sys import argv, exit | |
| from bs4 import BeautifulSoup | |
| # settings | |
| ignore = "//#" |
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
| module V1 | |
| class Test < Skeletor::SinatraApplication | |
| set :api_version, "1.0" | |
| set :resource_prefix, /^\// | |
| action :test | |
| post "/test" do | |
| begin | |
| status 201 | |
| body params["test"] |
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
| require File.expand_path("../../config/init.rb", __FILE__) | |
| require 'right_support' | |
| RightSupport::Log::Mixin.default_logger = Logger.new(STDOUT) || RightSupport::Log::SystemLogger.new("SchedulingServcie", {:facility => "local0"}) | |
| requests_queue = Queue.new | |
| responses_queue = Queue.new | |
| class Task | |
| class << self |
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
| @ECHO OFF | |
| IF "%~1" == "" GOTO USAGE | |
| IF "%~1" == "work" GOTO WORK | |
| IF "%~1" == "play" GOTO PLAY | |
| :WORK | |
| FOR /F %%G in (lst) DO @ECHO 127.0.0.1 %%G #gsd >> %WINDIR%\System32\drivers\etc\hosts | |
| GOTO EXIT | |
| :PLAY |
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 Inbox global ban | |
| // @description Ban them all! | |
| // @include http://leprosorium.ru/my/inbox/* | |
| // ==/UserScript== | |
| if(document.querySelector(".js-inboxPerson-ban")){ | |
| var banElement = document.createElement("span"); | |
| var unbanElement = document.createElement("span"); | |
| var insertionNode = document.querySelector(".js-inboxPeople"); |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Specialized; | |
| using System.Drawing; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.Xml; | |
| namespace Greenshot.Hostings |
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
| var Clipboard = { | |
| copy: function(data) { | |
| var textArea = document.createElement("textarea"); | |
| textArea.style.position = "absolute"; | |
| textArea.style.left = "-100%"; | |
| textArea.value = data; | |
| document.body.appendChild(textArea); | |
| textArea.select(); | |
| document.execCommand("Copy"); |
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 Video inline watcher | |
| // @include * | |
| // @exclude http://www.youtube.com/* | |
| // @exclude http://youtube.com/* | |
| // ==/UserScript== | |
| /* show or hide the inline player */ | |
| function grayOut(vis, options, extra) { | |
| // Pass true to gray out screen, false to ungray |