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
| package main | |
| import ( | |
| "database/sql" | |
| "github.com/mattn/go-sqlite3" | |
| "log" | |
| "os" | |
| ) | |
| func runQuery(db *sql.DB, query 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
| #!/bin/sh | |
| whois $(dig +short @1.1.1.1 produktor.io | head -1) | grep -Po "org-name\:\s+\K.+" |
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
| #!/bin/sh | |
| # Determinate CPU capabilities | |
| MAX_CPU=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) | |
| MIN_CPU=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq) | |
| # Install MSR tools and Linux tools to get hack BIOS | |
| # apt install -y msr-tools linux-tools-common linux-tools-$(uname -r) | |
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
| /** | |
| * Get this fucking object | |
| * | |
| * @param {String} url URL я для http не учитывал | |
| * @param {Function} onData(data) колбэк когда всё норм, будет вызван с уже готовым объектом | |
| * @return {*} | |
| */ | |
| function getThisFuckingJsonObject(url, onData) { | |
| let chunks = []; | |
| return require('https').get(url, res => { |
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
| #!/bin/sh | |
| # Requires: | |
| # PPA="ppa:bitcoin/bitcoin" | |
| # PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev" | |
| unset CC | |
| unset CXX | |
| unset DISPLAY |
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 | |
| namespace Mapbender\ConfiguratorBundle\Controller; | |
| use FOM\ManagerBundle\Configuration\Route; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| /** | |
| * Mapbender application management | |
| * | |
| * @Route("configurator/") |
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
| oprators: | |
| numeric: ['<','>','=='] | |
| boolean: ['<>','=='] | |
| date: ['bettwen','==','<','>'] | |
| string: ['LIKE','NOT LIKE', 'RLIKE', 'LLIKE'] | |
| featureTypes: | |
| - id: 1 | |
| name: IPE | |
| table: ipe |
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 "../vendor/autoload.php"; | |
| use Symfony\Component\Finder\Finder; | |
| use Symfony\Component\Finder\SplFileInfo; | |
| use Symfony\Component\Yaml\Yaml; | |
| use Wheregroup\XML\Util\Parser as XMLParser; | |
| $finder = new Finder(); | |
| $finder->files()->in("../mapbender/src/Mapbender/ManagerBundle/Resources/translations"); |
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 java.util.Scanner; | |
| import java.util.InputMismatchException; | |
| public class Power | |
| { | |
| public static int hoch(int x, int y) | |
| { | |
| int result; | |
| if ( y > 0 ) { | |
| result = x * hoch(x, y-1); |
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 //version pg202 | |
| //set allowTestMenu to false to disable System/Server test page | |
| $allowTestMenu = true; | |
| header("Content-Type: text/plain; charset=x-user-defined"); | |
| error_reporting(0); | |
| set_time_limit(0); | |
| function phpversion_int() |