I hereby claim:
- I am proudlygeek on github.
- I am proudlygeek (https://keybase.io/proudlygeek) on keybase.
- I have a public key ASCrhfj21Ci8vJKQ0K0MX-MDMwTLajvk5tfT2VJv9IoFiAo
To claim this, I am signing this object:
:) CREATE TABLE test.nested (EventDate Date, UserID UInt64, Attrs Nested(Key String, Value String)) ENGINE = MergeTree(EventDate, UserID, 8192) | |
CREATE TABLE test.nested | |
( | |
EventDate Date, | |
UserID UInt64, | |
Attrs Nested( | |
Key String, | |
Value String) | |
) ENGINE = MergeTree(EventDate, UserID, 8192) |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
// Suggestions from golang-nuts | |
// http://play.golang.org/p/Ctg3_AQisl |
console.log('%c We\'re hiring dumbass.', 'text-align: center; width: 600px; height: 100px; display: block; font-size: 14em; background-image: url(https://media.giphy.com/media/l0IydkTtMUaYmZqWk/giphy.gif)') |
console.log('%c We\'re hiring dumbass.', 'text-align: center; width: 600px; height: 100px; display: block; font-size: 14em; background-image: url(https://media.giphy.com/media/l0IydkTtMUaYmZqWk/giphy.gif)') |
class BroccoliFormatter | |
RSpec::Core::Formatters.register self, :dump_pending, :dump_failures, :close, :dump_summary, :example_passed, :example_failed, :example_pending | |
def initialize(output) | |
@output = output << "\n" | |
end | |
def example_passed(_notification) | |
@output << ' 🥦 ' | |
end |
class Debugger | |
def <<(line) | |
puts line | |
end | |
end | |
client = HTTPClient.new | |
debugger = Debugger.new | |
client.debug_dev = debugger |
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>Test</h1> | |
</body> | |
<script> | |
alert(document.cookie); | |
</script> | |
</html> |
I hereby claim:
To claim this, I am signing this object:
fn sum_vectors(a: Vec<i32>, b: Vec<i32>) -> (Vec<i32>, Vec<i32>, Vec<i32>) { | |
let mut result: Vec<i32> = vec![0; 3]; | |
for (i, _item) in a.iter().enumerate() { | |
result[i] = a[i] + b[i]; | |
} | |
(a, b, result) | |
} |
<?php | |
$apiKey = getenv('OPENWM_API_KEY') || file_get_contents( 'apikey'); | |
$apiURL = 'http://api.openweathermap.org/data/2.5/forecast/daily'; | |
$lat = $_GET[ 'lat' ]; | |
$lon = $_GET[ 'lon' ]; | |
echo file_get_contents( $apiURL . '?lat=' . $lat . '&lon=' . $lon . '&units=metric&cnt=1&APPID=' . $apiKey ); |