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
$("a:contains('Рекламная запись')").closest(".feed_row").remove() | |
$("a:contains('Реклама')").closest(".feed_row").remove() |
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
(.*?)\?z\=(.*?)(\&\;).* | |
$2 |
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
<a href=\"([^\"\>]+)\"> | |
<a href="$1" onclick="if(typeof(wellDoneTurner)!=='undefined'){wellDoneTurner('$1'); return false;}"> |
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 sayMeRandNum(min, max) | |
{ | |
var num = min + (Math.floor(Math.random()*100000000000000) % (max - min)); | |
$("#source").value = num | |
function triggerMouseEvent (node, eventType) { | |
var clickEvent = document.createEvent('MouseEvents'); | |
clickEvent.initEvent (eventType, true, true); | |
node.dispatchEvent (clickEvent); |
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
#!/bin/bash | |
# script accepts one argument which is the folder in which to search for meta files. | |
# on MacOS sed -i is required to have extension of the backup file, script will remove | |
# backups in the end. | |
cd "$@" | |
for name in `find . -name "*.meta"`; | |
do |
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
Process: Unity [16303] | |
Path: /Applications/Unity/Unity.app/Contents/MacOS/Unity | |
Identifier: com.unity3d.UnityEditor5.x | |
Version: Unity version 5.5.1f1 (5.5.1f1) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Unity [16303] | |
User ID: 501 | |
Date/Time: 2017-04-24 11:46:35.985 +0300 |
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
// kill bill color scheme | |
// | |
// 28, 16, 14 - black (2%) | |
// 159, 18, 15 - red (25%) | |
// 172, 125, 59 - dark brown (42%) | |
// 226, 193, 80 - light brown (23%) | |
// 247, 218, 0 - yellow (8%) |
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
# | |
# -= TEXT RACE =- | |
# | |
# Rules are simple: you are racing through 16x2 LCD display | |
# and trying to reach the right border of it. That is all! | |
# | |
# Project is made for Omega2 platform. | |
# | |
# Made by Bykov Alexander <mightee.cactus@gmail.com>. | |
# |
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
// Быков Александр. | |
// В общей сложности ушло часов 5. Где-то 80% времени ушло на то, | |
// чтобы нагуглить и вспомнить как пользоваться классами STL :) | |
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <map> | |
#include <sstream> // для разбивки строки на слова | |
#include <regex> // regex и regex_replace |
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
if (Mакс > Олег) // у макса больше | |
{ | |
if (Макс > Аня) // у макса все еще больше | |
{ | |
return Макс | |
} | |
else | |
{ | |
return Аня | |
} |
NewerOlder