Skip to content

Instantly share code, notes, and snippets.

@extensionsapp
extensionsapp / habrahabr.user.js
Last active November 17, 2017 18:07
Объединение постов Хабрахабр + Geektimes, в одну ленту на Habrahabr.ru
// ==UserScript==
// @name habrahabr-userscript
// @description Объединение постов Хабрахабр + Geektimes, в одну ленту на Habrahabr.ru
// @author ExtensionsApp
// @license MIT
// @version 2.0.18
// @include https://habrahabr.ru/feed/all/*
// @include https://habrahabr.ru/feed/interesting/*
// @include https://habrahabr.ru/all/*
// @grant GM_setValue
@joachimjacob
joachimjacob / aspera_DL2
Created January 23, 2013 15:50
Aspera download script
#! /bin/bash
# Batch Download files from NCBI SRA using Aspera ascp on Mac / Linux
# to 'current_folder'/aspera_download
# remove space in 'Aspera\ connect'
# Stéphane Plaisance - VIB-BITS - Jan-2010 v1.0
# updated path to the user copy of the package (2011-02-28) v1.1
# –Q (for adaptive flow control) – needed for disk throttling!
# –T to disable encryption
@Twisol
Twisol / <output>
Created May 5, 2011 03:09
ANSI parser written in C++
FG: 7 BG: 0
Italic: 0
Underline: 0
Strike: 0
Text: this is
FG: 9 BG: 0
Italic: 0
Underline: 0
Strike: 0
meta:
id: cab
file-extension: cab
endian: le
license: CC0-1.0
doc-ref: http://download.microsoft.com/download/4/d/a/4da14f27-b4ef-4170-a6e6-5b1ef85b1baa/[ms-cab].pdf
seq:
- id: magic
contents: "MSCF"
@qnub
qnub / fabfile.py
Created March 25, 2016 09:10
Yandex.Disk shared file download by link
import os
import httplib
import json
import urllib
import urlparse
from fabric.api import execute, local, run, lcd, cd, task
@task
@Jarred-Sumner
Jarred-Sumner / comcast.js
Last active September 7, 2022 01:30
Comcast injects this into webpages to show copyright notices
// Comcast Cable Communications, LLC Proprietary. Copyright 2014.
// Intended use is to display browser notifications for critical and time sensitive events.
var _ComcastAlert = (function(){
return {
SYS_URL: '/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'
, dragObj: {zIndex: 999999}
, browser: null
, comcastCheck: 1
, comcastTimer: null
, xmlhttp: null
@generalmimon
generalmimon / github-collect-repos-using-ks.sh
Last active September 10, 2022 15:27
A shell script for collecting Kaitai Struct YAML (.ksy) file paths in GitHub repositories
#!/bin/sh -f
# SPDX-FileCopyrightText: 2021 Petr Pucil <petr.pucil@seznam.cz>
#
# SPDX-License-Identifier: MIT
# A shell script for collecting Kaitai Struct YAML (.ksy) file paths in GitHub repositories.
#
# Requires <https://stedolan.github.io/jq> and <https://curl.se> to work.
#
# Inspired by https://github.com/Alhadis/Harvester, but this script:
@generalmimon
generalmimon / ks-serialization-notes.md
Last active December 29, 2022 19:21
Kaitai Struct — serialization

Kaitai Struct — serialization

Notes on individual features

  • fixed contents — mapped to a literal byte array (note: shouldn't it write magic1() instead? but then it would have to be checked again so that it doesn't violate consistency):

        public void _read() {
            this.magic1 = this._io.readBytes(6);

if (!(Arrays.equals(magic1(), new byte[] { 80, 65, 67, 75, 45, 49 }))) {

@robert
robert / policy.md
Created February 5, 2020 08:15
Wacom Experience Program Privacy Policy

Tablet Driver – Privacy Notice

This Privacy Notice is for the Tablet Driver Software ("Tablet Driver") provided by Wacom Co., Ltd. and its subsidiaries (collectively "Wacom Group"). This Privacy Notice applies to Your use of Tablet Driver. Please review this Privacy Notice before using Tablet Driver.

  1. Definitions 1.1. "Personal Data" means any information which – either alone or in combination with other information we can access – relates to You as an identified or identifiable individual. 1.2. “User” means an individual who uses the Tablet Driver. 1.3 "Wacom", "we", “our” or “us” means the relevant company in the Wacom Group responsible for processing your Personal Data. The list of Wacom Group companies can be found at https://www.wacom.com/about-wacom/our-passion/our-company
@generalmimon
generalmimon / github-repos-using-ks.md
Last active March 20, 2023 23:20
List of GitHub repositories containing .ksy files (excluding kaitai-io org)
  • Last updated: 2023-03-20

  • Collected .ksy files on GitHub by this shell script and then filtered unique repos by the following command: