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 (F1.Info == F2.Info){ | |
#region если вхождение в самом начале | |
Debug.WriteLine("предположительно есть совпадение в начале"); | |
p = F1; | |
pp = F2; | |
//Node t = p; | |
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
[Flags] | |
public enum AccessFlags{ | |
NoAccess = 0x0, | |
ReadAccess = 0x1, | |
WriteAccess = 0x2, | |
ExecuteAccess = 0x4 | |
} |
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 | |
# Пример работы с VKAPI в shell-скрипте. | |
# Скрипт для работы с музыкой ВКонтакте. by snoopcatt. | |
_version="0.03a" | |
# Системные переменные | |
id="5807425" # системная переменная. ID создателя приложения. Взято из VK_Search Amarok Script (c) | |
method='audio.search' # метод поиска музыки ВКонтакте. | |
secret='dTckAoaSzH' # системная переменная. Секретный код приложения. Взято из VK_Search Amarok Script (c) |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by configure, which was | |
generated by GNU Autoconf 2.65. Invocation command line was | |
$ ./configure --with-curl | |
## --------- ## | |
## Platform. ## |
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 | |
OUT_DIR="./mp3" | |
[ ! -d ${OUT_DIR} ] && mkdir -p ${OUT_DIR} | |
# modify the lame options to your | |
# preference | |
lame_opts=" --vbr-new -V 2 -B 256 " | |
for FLAC in *.flac; | |
do | |
MP3=`basename "${FLAC%.flac}.mp3"` | |
[ -r "$FLAC" ] || { echo can not read file \"$FLAC\" >&1 ; exit 1 ; } ; |
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
{complex var operations} | |
procedure cmul(a,b:complex; var c:complex); | |
begin | |
c.x := a.x * b.x - a.y * b.y; | |
c.y := a.x * b.y + b.x * a.y; | |
end; | |
procedure csum(a,b:complex; var c:complex); | |
begin | |
c.x := a.x + b.x; |
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
#include <stdio.h> | |
#include <setjmp.h> | |
#define TRY do{ jmp_buf ex_buf__; if( !setjmp(ex_buf__) ){ | |
#define CATCH } else { | |
#define ETRY } }while(0) | |
#define THROW longjmp(ex_buf__, 1) | |
int | |
main(int argc, char** argv) |
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
expressionString.split("(?<=\\D)(?=\\d)|(?<=\\d)(?=\\D)"); |
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
for (int index = word.indexOf(guess); | |
index >= 0; | |
index = word.indexOf(guess, index + 1)) | |
{ | |
System.out.println(index); | |
} |
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 org.apache.xalan.processor.TransformerFactoryImpl; | |
import org.apache.xerces.jaxp.DocumentBuilderFactoryImpl; | |
import org.jdom2.output.Format; | |
import org.jdom2.output.XMLOutputter; | |
import org.jdom2.transform.JDOMResult; | |
import org.w3c.dom.Document; | |
import org.xml.sax.InputSource; | |
import org.xml.sax.SAXException; | |
import javax.xml.parsers.DocumentBuilder; | |
import javax.xml.parsers.DocumentBuilderFactory; |
OlderNewer