This file contains hidden or 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
socat - udp4-listen:8125,fork | tee >(socat - udp-sendto:127.0.0.1:8135) >(socat - udp-sendto:127.0.0.1:8140) |
This file contains hidden or 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 tornado.ioloop | |
class PeriodicCallback(tornado.ioloop.PeriodicCallback): | |
def run_now(self): | |
self.stop() | |
self._running = True | |
try: | |
return self.callback() | |
except Exception: | |
self.io_loop.handle_callback_exception(self.callback) |
This file contains hidden or 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
#!/usr/bin/perl | |
my $m_old = ""; | |
my $y = 0; | |
my $fd; | |
my $fn = ""; | |
my %mon = ( | |
Jan => '01', |
This file contains hidden or 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
body { | |
margin-top: 40px; | |
margin-bottom: 40px; | |
} | |
.chart { | |
width: 100%; | |
height: 250px; | |
margin-top: 10px; | |
margin-bottom: 10px; |
This file contains hidden or 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 json, os, traceback | |
NAME = "protection" | |
AUTHOR = "C0ugar" | |
ID = "net.version6.minecraft.plugins.protection" | |
SUMMARY = "Protection commands" | |
DESCRIPTION = """Protection plugin.""" | |
WEBSITE = "" | |
VERSION = (0, 1) | |
class Main: |
This file contains hidden or 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
Input files are following: | |
file1.mkv: | |
Duration: 01:42:13.13, start: 0.000000, bitrate: 3735 kb/s | |
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) | |
Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default) | |
Stream #0:2(kor): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s | |
file2.mpeg: | |
Duration: 01:37:52.97, start: 0.780000, bitrate: 4153 kb/s |
This file contains hidden or 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
// ==UserScript== | |
// @name Change WME background to black | |
// @namespace http://version6.net/ | |
// @description Add radio button to change background color | |
// @include https://world.waze.com/editor/* | |
// @include https://world.waze.com/map-editor/* | |
// @version 0.0.1 | |
// ==/UserScript== | |
//----------------------------------------------------------------------------------------------------------------------------------------- |
NewerOlder