potem poženeš $ run me
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
| #define NumOfFreqBins 32 | |
| #define RedPin 9 | |
| #define GreenPin 10 | |
| #define BluePin 11 | |
| #define ButtonPin 8 | |
| #define LIN_OUT 1 // use linear fht output function | |
| #define FHT_N NumOfFreqBins | |
| #define ADCReset 0b11110111 // reset the adc, freq = 1000 kHz / 13 =~ 74 kHz sampling rate | |
| #define ADCFreeRun 0b11100111 // set the adc to free running mode, freq = 1000 kHz / 13.5 =~ 74 kHz sampling rate |
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
| begin remote | |
| name lircd.conf | |
| bits 16 | |
| flags SPACE_ENC|CONST_LENGTH | |
| eps 30 | |
| aeps 100 | |
| header 9025 4455 | |
| one 598 1655 |
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
| <VirtualHost *:${PORT}> | |
| ServerName moja_domena.si | |
| ErrorLog /dev/log | |
| CustomLog /dev/log combined | |
| TraceEnable off | |
| <Directory "${DOCUMENT_ROOT}"> |
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
| { | |
| "name": "landing_page", | |
| "require": { | |
| "php": "~5.6.0", | |
| "ext-mbstring": "*", | |
| "ext-gd": "*" | |
| } | |
| } |
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 | |
| use Niteoweb\SpiderBlocker\Updater; | |
| class TestUpdater extends PHPUnit_Framework_TestCase { | |
| public $plugin_info = array( | |
| 'Name' => 'Spider Blocker', | |
| 'PluginURI' => '', | |
| 'Version' => '1.0.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
| # -*- coding: utf-8 -*- | |
| """LibCloud Connection class based on requests""" | |
| import requests | |
| class GenericLibcloudRequest(object): | |
| host = None | |
| port = None |
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 elems = document.querySelectorAll(".ip-address "); | |
| var values = [].map.call(elems, function(obj) { | |
| return obj.innerText; | |
| }); | |
| var main_ip = $("#ext-gen1083").text(); | |
| var data = 'fab -H "' + main_ip + '" push_vlan:"'+values.join([separator = ','])+'"'; | |
| window.open().document.write(data); |
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
| <AzurePublicIpAddresses><Region Name="europewest"><IpRange Subnet="65.52.128.0/19"/><IpRange Subnet="94.245.97.0/24"/><IpRange Subnet="104.47.169.0/24"/><IpRange Subnet="104.214.240.0/24"/><IpRange Subnet="137.116.192.0/19"/><IpRange Subnet="157.55.8.64/26"/><IpRange Subnet="157.55.8.128/27"/><IpRange Subnet="157.55.8.160/28"/><IpRange Subnet="168.63.0.0/19"/><IpRange Subnet="168.63.96.0/19"/><IpRange Subnet="193.149.80.0/22"/><IpRange Subnet="213.199.128.0/21"/><IpRange Subnet="213.199.136.0/22"/><IpRange Subnet="213.199.180.32/28"/><IpRange Subnet="213.199.180.96/27"/><IpRange Subnet="213.199.180.192/26"/><IpRange Subnet="213.199.183.0/24"/><IpRange Subnet="23.97.128.0/17"/><IpRange Subnet="23.98.46.0/24"/><IpRange Subnet="23.100.0.0/20"/><IpRange Subnet="23.101.64.0/20"/><IpRange Subnet="40.114.128.0/24"/><IpRange Subnet="40.114.136.0/21"/><IpRange Subnet="40.114.144.0/21"/><IpRange Subnet="104.40.128.0/17"/><IpRange Subnet="104.45.0.0/18"/><IpRange Subnet="104.45.64.0/20"/><IpRange Subnet="104.46.32.0/19" |
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
| def get_size(t): | |
| """ | |
| import string | |
| from PIL import ImageFont | |
| font = ImageFont.truetype('DejaVuSans.ttf', 12) | |
| sizes = dict() | |
| for c in list(string.printable): |