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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>IE10 Compatibility Vue SFC Loader</title> | |
| <script src="https://unpkg.com/vue@2.6.10/dist/vue.js"></script> | |
| <script src="https://unpkg.com/promise-polyfill@8.1.3/dist/polyfill.min.js"></script> | |
| </head> | |
| <body> |
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
| document.xpathSelectorAll = (selector) => { | |
| const nodes = document.evaluate(selector, document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); | |
| return Array(nodes.snapshotLength).fill(1).map((x, id) => nodes.snapshotItem(id)); | |
| } |
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
| const hotReload = (address, options = {}) => { | |
| // Константы | |
| const CONST_RELOAD_MESSAGE = 'HOT_RELOAD_NOW'; | |
| // Настройки | |
| const reconnect_timeout = options.reconnect_timeout || 500; | |
| const reconnect_tries = options.reconnect_tries || 5; | |
| // Локальные переменные | |
| let socket = null; | |
| let current_tries = 0; |
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
| #include <windows.h> | |
| #include <hbapi.h> | |
| #include <vector> | |
| #include <map> | |
| #include <cstdlib> | |
| typedef std::vector<HWND> HWND_ARRAY; | |
| std::map<HWND, HWND_ARRAY*> arrOverlays; | |
| std::map<HWND, HBRUSH> overlaysBrushes; |
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
| // TODO: Refactor this file | |
| // It looks like a codegenerated crazy boilerplate code. | |
| #define _HB_API_INTERNAL_ 1 | |
| #include <hbapi.h> | |
| #include <hbapierr.h> | |
| #include <hbstack.h> | |
| #include <windows.h> | |
| #include <hbapiitm.h> |
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
| <?php | |
| require dirname(__FILE__). '/vendor/autoload.php'; | |
| use Gettext\Translator; | |
| use Gettext\Translations; | |
| $tplDir = dirname(__FILE__).'/templates/'; | |
| $tmpDir = dirname(__FILE__).'/tmp/cache/'; | |
| $loader = new Twig_Loader_Filesystem($tplDir); |
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
| HB_FUNC ( PQ_GET_NOTIFY ) // VAA 07.03.2017 | |
| { | |
| const char *clisten = "LISTEN "; | |
| PGconn * conn = hb_PGconn_par( 1 ); | |
| const char *source = hb_parcx( 2 ); | |
| HB_SIZE size = strlen(source); | |
| char *channel; |
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
| // NetFrameworkChecker.cpp: определяет точку входа для консольного приложения. | |
| // | |
| #include "stdafx.h" | |
| #include "NetFrameworkChecker.h" | |
| wstringstream logger; | |
| bool need_log = true; | |
| bool debug = true; |
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
| // Include the Ruby headers and goodies | |
| //#include "ruby.h" | |
| #include <xbase64/xbase64.h> | |
| #include "ruby.h" | |
| #include <iostream> | |
| #include <sys/stat.h> | |
| #include <map> | |
| #include <string> | |
| #include <vector> | |
| #include <time.h> |
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/python | |
| import sys, os | |
| import urllib, urllib2 | |
| Highlights = { | |
| 'bash' : ['*.sh','*.bash'], | |
| 'php' : ['*.php'], | |
| 'python' : ['*.python'], | |
| 'rails' : ['*.rb'], | |
| 'ruby' : ['Gemfile'], | |
| 'python' : ['*.py'], |