Skip to content

Instantly share code, notes, and snippets.

View jordanorelli's full-sized avatar
🎴

Jordan Orelli jordanorelli

🎴
View GitHub Profile
diff --git a/examples/helloworld/helloworld/helloworld.pb.go b/examples/helloworld/helloworld/helloworld.pb.go
index c8c8942..f373533 100644
--- a/examples/helloworld/helloworld/helloworld.pb.go
+++ b/examples/helloworld/helloworld/helloworld.pb.go
@@ -72,6 +72,7 @@ const _ = grpc.SupportPackageIsVersion4
type GreeterClient interface {
// Sends a greeting
SayHello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error)
+ SayHelloAgain(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error)
}
0 {36271 0 PlusOne}
10 {25474 39 FieldPathEncodeFinish}
1110 {10334 1 PlusTwo}
1111 {10530 11 PushOneLeftDeltaNRightNonZeroPack6Bits}
11000 {2942 8 PushOneLeftDeltaOneRightNonZero}
11010 {4128 4 PlusN}
110010 {1375 2 PlusThree}
110011 {1837 29 PopAllButOnePlusOne}
11011001 {471 10 PushOneLeftDeltaNRightNonZero}
11011010 {521 7 PushOneLeftDeltaOneRightZero}
This file has been truncated, but you can view the full file.
Symbols:
0 CBodyComponentBaseAnimating
1 CEntityIdentity
2 CPhysicsComponent
3 CRenderComponent
4 CBaseAnimating
5 CAnimationLayer
6 CBodyComponentBaseAnimatingOverlay
7 CBaseAnimatingOverlay
8 CEconItemAttribute
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
REJECT all -- loopback/8 anywhere reject-with icmp-port-unreachable
ACCEPT icmp -- anywhere anywhere state NEW icmp echo-request
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:http state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:https state NEW
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables_INPUT_denied: "
@jordanorelli
jordanorelli / ydiff
Last active July 22, 2019 13:05
diff yaml trees semantically
#!/usr/bin/env ruby
# diffs the contents of yaml files semantically. that is, ydiff will parse each
# yaml file and then diff their resulting trees, instead of attempting to diff
# the text. it's specifically for comparing directories of translations from
# Crowdin, so it's effectively only concerned with strings.
require 'pathname'
require 'rubygems'
require 'yaml'
@jordanorelli
jordanorelli / gist:b6f74daae7e38b5f4a55
Last active March 10, 2016 01:46
planetarium notes
# SYNTAX Example
# Set the orbit color of the 100 brightest satellites to blue:
100Brightest.prop.OrbitColor 0.0 0.0 0.0 1.0
# ------------------------------------------------------------------------------
# Chicxulub crater coordinates
# (use negative for west longitutde)
# 21.4000° N, 89.5167° W
package main
import (
"flag"
"fmt"
"net/http"
"net/http/httputil"
"os"
"time"
)
fart
diff --git a/ru/deploy/README.md b/ru/deploy/README.md
index e77647e..1ed041c 100755
--- a/ru/deploy/README.md
+++ b/ru/deploy/README.md
@@ -262,19 +262,20 @@ Django использует протокол WSGI, стандартный про
Удали все содержимое и замени их с чем-то вроде этого:
- python
- import os
scraps:
2,3 Mirana Mirana 8 days ago 54 61.11% 4.03
4 Rubick Rubick a day ago 39 35.90% 2.26
2,3 Puck Puck about a month ago 37 45.95% 2.55
2 Templar Assassin Templar Assassin about a month ago 36 52.78% 2.67
3 Windranger Windranger 2 months ago 27 37.04% 2.10
5 Disruptor Disruptor 23 days ago 22 54.55% 3.30
2 Leshrac Leshrac 7 days ago 20 70.00% 3.54
3,4 Venomancer Venomancer 2 months ago 20 70.00% 4.08