Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
//Settings | |
options({ | |
// resultStreamName: "fruit_state_name", | |
$includeLinks: false, | |
reorderEvents: false, //important when reading from multipe streams | |
processingLag: 0 | |
}) | |
fromStream('fruits') | |
.partitionBy( |
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 asyncio | |
import logging | |
import fire | |
logging.basicConfig(level=logging.INFO, | |
format='%(asctime)s %(levelname)-8s %(message)s', | |
filename='honeypot.log', | |
filemode='a') | |
async def smiley_protocol(reader, writer): |
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 akka.actor.*; | |
import akka.event.Logging; | |
import akka.event.LoggingAdapter; | |
import akka.util.ByteString; | |
import eventstore.*; | |
import eventstore.j.*; | |
import eventstore.tcp.ConnectionActor; | |
import java.util.UUID; |
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 svn.remote | |
import os | |
outputFolder = "repo" | |
if not os.path.exists(outputFolder): | |
os.makedirs(outputFolder) | |
ignoreDirectory = ["trunk/downloads"] | |
ignoreFile = ["*"]; | |
githubUrl = "https://github.com/Lougarou/backtestfbprophet" |
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
mkdir steamcmd | |
cd steamcmd | |
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_osx.tar.gz" | tar zxvf - | |
./steamcmd.sh +@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir csgo_ds +app_update 740 validate +quit |
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
mkdir steamcmd | |
cd steamcmd | |
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_osx.tar.gz" | tar zxvf - | |
./steamcmd.sh +@sSteamCmdForcePlatformType windows +login username password +force_install_dir csgo_ds +app_update 740 validate +quit |
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
using System; | |
using NLog; | |
using NLog.Targets; | |
using NLog.Config; | |
using Serilog; | |
using Serilog.Sinks.File; | |
namespace logspeedtest | |
{ | |
//nlog 4.5.6 | |
//serilog 2.7.1 |
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
query { | |
repository(owner:"flutter", name:"flutter") { | |
pullRequests(last: 50, states:MERGED) { | |
edges { | |
node { | |
title | |
url | |
createdAt | |
bodyHTML | |
number |
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 ( | |
"context" | |
"fmt" | |
"github.com/shurcooL/githubql" | |
"golang.org/x/oauth2" | |
) |
NewerOlder