Skip to content

Instantly share code, notes, and snippets.

Ilgrim Ilgrim

Block or report user

Report or block Ilgrim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Ilgrim /
Created Jun 8, 2019 — forked from ePirat/
Icecast Protocol specification

Icecast protocol specification

What is the Icecast protocol?

When speaking of the Icecast protocol here, actually it's just the HTTP protocol, and this document will explain further how source clients need to send data to Icecast.

HTTP PUT based protocol

Since Icecast version 2.4.0 there is support for the standard HTTP PUT method. The mountpoint to which to send the data is specified by the URL path.

Ilgrim / .vimrc
Created Apr 28, 2019 — forked from NickLaMuro/.vimrc
Set up Vim on Mac or Linux. curl | sh
View .vimrc
"this is the cconfiguration file for linux and mac systems
"symlink this to your home folder as .vimrc
call pathogen#runtime_prepend_subdirectories(expand('~/.vim/bundles'))
call pathogen#helptags()
"call pathogen#runtime_append_all_bundles()
source ~/.vimrc_main
Ilgrim / .vimrc
Created Apr 27, 2019 — forked from HansPinckaers/.vimrc
My full vimrc
View .vimrc
syntax on
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree' " file list
Plug 'majutsushi/tagbar' " show tags in a bar (functions etc) for easy browsing
Plug 'vim-airline/vim-airline' " make statusline awesome
Plug 'vim-airline/vim-airline-themes' " themes for statusline
Plug 'jonathanfilip/vim-lucius' " nice white colortheme
Plug 'davidhalter/jedi-vim' " jedi for python
Ilgrim / sw-multiplex.js
Created Apr 15, 2019 — forked from ghaiklor/sw-multiplex.js
Multiplexing downloads via Service Workers
View sw-multiplex.js
* Size of one chunk when requesting with Range
* @type {Number}
* @private
const CHUNK_SIZE = 204800;
* Concat two ArrayBuffers
* @param {ArrayBuffer} ab1

Start vimdiff

vimdiff file1 file2

Command Reference - Essentials

Command Description
ctrl+w ctrl+w move cursor to other window
do diff obtain: get currently marked changes from other window
Ilgrim / App.js
Created Jan 17, 2019 — forked from Thomas-Smyth/App.js
Reactstrap App.js Example for create-react-app
View App.js
import React, { Component } from 'react';
import {
Ilgrim / index.html
Created Jan 9, 2019 — forked from Globik/index.html
Websocket multi room based on ws.js
View index.html
<h5>Group: <span id="group">darwin</span></h5>
<!-- a hardoced group name -->
<button onclick="bjoin();">join group</button><br>
<input id="text" type="text"/>
<span id="out"></span>
var group=document.getElementById("group").textContent;
Ilgrim / haproxy.cfg
Created Jan 8, 2019 — forked from lackac/haproxy.cfg
HAProxy configuration with Websocket support
View haproxy.cfg
maxconn 4096 # Total Max Connections. This is dependent on ulimit
nbproc 2
log local1 notice
mode http
log global
frontend all
Ilgrim / haproxy.cfg
Created Jan 8, 2019 — forked from sourcec0de/haproxy.cfg
Here's a sample WORKING haproxy config for websockets / socketio. We were able to get socketio working on an Amazon ELB with just one node, but when we added multiple nodes, we saw weird client issues. So, we decided to use HAProxy on Ubuntu 12.04 and spent significant time trying to get just the right configuration (haproxy.cfg). Note though th…
View haproxy.cfg
log local0
log global
option httplog
frontend unsecured *:80
Ilgrim / haproxy.cfg
Created Jan 8, 2019 — forked from strangeminds/haproxy.cfg
simple haproxy.cfg config
View haproxy.cfg
# Global settings
log local2
chroot /var/lib/haproxy
pidfile /var/run/
maxconn 4000
user haproxy
group haproxy
You can’t perform that action at this time.