Skip to content

Instantly share code, notes, and snippets.

@beardicus
beardicus / edgerouter-qos
Last active September 14, 2024 06:31
EdgeRouter Lite QOS Settings
#
# fair-queue based settings for EdgeRouter Lite traffic shaping
#
# download is typically 30 and change. everything can burst to 100%
# of bandwidth, priority rules keep the garbage in check
set traffic-policy shaper download
set traffic-policy shaper download bandwidth 30Mbit
@denji
denji / README.md
Last active August 26, 2024 23:22 — forked from istepanov/gist:3950977
Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm
@raa0121
raa0121 / Nicovideo.rb
Created July 25, 2012 22:00
ニコニコ動画の検索APIで特定のタグの投稿の新しい順に検索し、情報を拾ってくるスクリプト
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
if RUBY_VERSION < '1.9'
require 'rubygems'
end
require 'json'
require 'mechanize'
require 'cgi'
@txdv
txdv / bot.cs
Created August 7, 2011 21:15
Example of custom bot for smartirc4net
using System;
using System.Collections.Generic;
using Manos.IO;
using Meebey.SmartIrc4net;
using SmartIrcBot4net;
namespace Test
{
public class AdminPlugin : IrcBotPlugin