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
### Keybase proof | |
I hereby claim: | |
* I am avgp on github. | |
* I am g33konaut (https://keybase.io/g33konaut) on keybase. | |
* I have a public key whose fingerprint is C6C5 0090 A5BD DA3A BA52 26DA 78C5 C26F 75B1 EB5E | |
To claim this, I am signing this object: |
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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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 main | |
import( | |
"fmt" | |
"math/rand" | |
"time" | |
"net/http" | |
) | |
func main() { |
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
function getAngle(currentHeading, target) { | |
if(currentHeading > 180) { | |
target += 360; | |
} | |
return Math.abs(currentHeading - target); | |
} |
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
var soap = require("soap"); | |
soap.createClient("http://www.w3schools.com/webservices/tempconvert.asmx?WSDL", function(err, client) { | |
if(err) { | |
console.error("Can't create client", err); | |
return; | |
} | |
client.CelsiusToFahrenheit({Celsius: "25"}, function(err, result) { | |
if(err) { | |
console.error("Can't call method", err); |
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
// js/app.js | |
function add(a, b) { | |
return a+b; | |
} | |
function say(text) { | |
document.body.textContent = text; | |
} |
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
import sys | |
import os | |
sys.path.append('../lib/') | |
from device_listener import DeviceListener | |
from pose_type import PoseType | |
class WavePoseListener(DeviceListener): | |
def on_pose(self, pose): | |
pose_type = PoseType(pose) |
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
DEFAULT="[37;40m" | |
RED="[31;40m" | |
GREEN="[32;40m" | |
hg_changes() { | |
echo -e "\e${RED}`hg log -pr $1 | grep '^+' | wc -l` Additions\e${DEFAULT}"; echo -e "\e${GREEN}`hg log -pr $1 | grep '^-' | wc -l` Deletions\e${DEFAULT}"; | |
} |
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
[2015-09-08 14:56:17,530][WARN ][transport.netty ] [Captain Wings] exception caught on transport layer [[id: 0x93369774, /127.0.0.1:37573 :> /127.0.0.1:9300]], closing connection | |
java.io.StreamCorruptedException: invalid internal transport message format |
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
#include "ListenElement.h" | |
class Liste | |
{ | |
public: | |
Liste() | |
{ | |
head = NULL; | |
size = 0; | |
} |
OlderNewer