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
module main | |
type Number = any_int | any_float | |
fn is_gt(val string, dst Number) bool { | |
match dst { | |
any_int { | |
return val.int() > dst | |
} | |
any_float { |
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
package net.endeveit.wad; | |
import javax.crypto.*; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.security.*; |
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
<?php | |
function arrayWalkCallback() | |
{ | |
// … some business logic | |
// Уберём из системных свойств все кроме информации об услугах | |
$serviceKeys = ['re', 'hot', 'color', 'up', 'torg', 'wphoto', 'hasphoto', 'auto_re', 'uuid']; | |
// … other business logic | |
} |
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
--- Extended.php 2014-01-11 14:22:43.000000000 +0600 | |
+++ Library/Phalcon/Queue/Beanstalk/Extended.php 2014-01-11 14:24:59.000000000 +0600 | |
@@ -263,12 +263,13 @@ | |
$result = null; | |
$lines = $this->getResponseLinesText('ignore ' . $this->getTubeName($tube)); | |
- if (null !== $lines) { | |
+ if (null !== $lines) { | |
list($name, $value) = explode(' ', $lines); | |
if (null !== $value) { |