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 <algorithm> | |
| #include "RulesEngine.hpp" | |
| RulesEngine::RulesEngine() : Not(*this) {} | |
| void RulesEngine::If(bool sufficientCondition) | |
| { | |
| sufficientConditions.push_back(sufficientCondition); | |
| } |
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 <iostream> | |
| #include <fstream> | |
| using namespace std; | |
| int main() | |
| { | |
| ifstream testFile("test.azw3", ios::binary); | |
| const auto begin = testFile.tellg(); | |
| testFile.seekg (0, ios::end); |
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> | |
| <link rel="icon" data-emoji="🛰" type="image/png"> | |
| <body> | |
| <h2>JavaScript ile Emojileri Favicon Olarak Kullanın</h2> | |
| <p>Siz de mi favicon.ico oluşturmaktan sıkıldınız?</p> | |
| <p id="demo"></p> | |
| <script> | |
| const favicon = document.querySelector("link[rel=icon]"); |
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 <string> | |
| #include <tesseract/baseapi.h> | |
| #include <leptonica/allheaders.h> | |
| #include <opencv2/opencv.hpp> | |
| using namespace std; | |
| using namespace cv; | |
| int main(int argc, char* argv[]) | |
| { |
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
| 123 |
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
| // Jacky's Blog - Minimal Twitter Share Bookmarklet | |
| // https://jacky.seezone.net/2017/10/19/8900/ | |
| // Sadece önceki kullandığım Google+ Bookmarklet'ine | |
| // benzemesi için küçük değişiklikler | |
| javascript:void((()=> { | |
| var F=document,E=encodeURIComponent; | |
| window.open(`https://twitter.com/intent/tweet/?text=${E(F.title)}&url=${E(F.location.href)}`,'Share to Twitter','width=600,height=460,menubar=no,location=no,status=no'); | |
| })()); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Module> | |
| <ModulePrefs | |
| title="Happy Kitty Discussion Groups" | |
| description="A gadget that brings Happy Kitty Discussion Groups on Google Code"> | |
| <Require feature="setprefs"/> | |
| <Require feature="dynamic-height"/> | |
| </ModulePrefs> | |
| <UserPref name="projectName" default_value=""/> | |
| <UserPref name="url" display_name="Discussion Group URL" datatype="string"/> |
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
| import os | |
| import shutil | |
| from sphinx.builders.epub import EpubBuilder | |
| # We subclass EpubBuilder and re-define build_epub to call | |
| # clean_html_file_for_ibooks. This function replaces all instances of | |
| # the SPAN tag to SAMP. It's uglish but it works. A better way would | |
| # be to change sphinx.writers.html to emmit the SAMP tag in the first | |
| # place, but it seems even more difficult to do. |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}"/> | |
| {{ metatags }} | |
| {%- block htmltitle %} |
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 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Licensed under the GNU General Public License, version 2. | |
| # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt | |
| from pisi.actionsapi import shelltools | |
| from pisi.actionsapi import kde4 | |
| from pisi.actionsapi import get |