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
// ==UserScript== | |
// @name Bandcamp Audio Slider | |
// @description Add a volume slider to Bandcamp's audio player. | |
// @version 1.1.0 | |
// @updateURL https://gist.githubusercontent.com/rakiru/b358f54915ef135a66ca30c915dd925c/raw | |
// @include https://*.bandcamp.com/* | |
// @include https://bandcamp.com/* | |
// @run-at document-end | |
// @grant GM_addStyle | |
// @icon https://s4.bcbits.com/img/bc_favicon.ico |
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
*TkTheme: mrhide |
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
[core] | |
editor = vim | |
pager = less -F -X | |
[rebase] | |
autosquash = true | |
[alias] | |
; fetch-tags <remote> : fetch all tags from remote | |
fetch-tags = "!f() { if [ -z \"$1\" ]; then echo \"missing argument: remote\"; else git fetch \"$1\" 'refs/tags/*:refs/tags/*'; fi }; f" | |
; aliases : print all aliases | |
aliases = !git config -l | grep -E ^alias | cut -c 7- |
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
// | |
// Perlin noise generator | |
// | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
#include <time.h> | |
#define B 0x100 |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("tweetdeck.twitter.com") { | |
.detail-view-inline-text, | |
.compose-text-container { background-color: #2b2b2c; } | |
.avatar { border-radius: 10% !important; } | |
#column-navigator { overflow: hidden !important; } | |
#container { bottom: 0; } | |
.js-search-in-popover > div.js-popover { background-color: #222; } | |
.compose-text, |
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
caret-end-line selection-down selection-first-non-white remove-selection |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document regexp("https?://([^:]+)(:[0-9]+)?/transmission/web/.*") { | |
* { | |
background-color: transparent !important; | |
color: inherit !important; | |
border-color: var(--border-color) !important; | |
} | |
body, div.dialog_container div.dialog_window, .inspector-tab, div#jqContextMenu ul, .ui-widget-content { |
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
/* ***** BEGIN LICENSE BLOCK ***** | |
* Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
* | |
* The contents of this file are subject to the Mozilla Public License Version | |
* 1.1 (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* http://www.mozilla.org/MPL/ | |
* | |
* Software distributed under the License is distributed on an "AS IS" basis, | |
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
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
# -*- coding: utf-8 -*- | |
code_to_name = dict({ | |
'01': "Ain", | |
'02': "Aisne", | |
'03': "Allier", | |
'04': "Alpes-de-Haute-Provence", | |
'05': "Hautes-Alpes", | |
'06': "Alpes-Maritimes", | |
'07': "Ardèche", | |
'08': "Ardennes", |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
const int BYTES_PER_LINES = 20; | |
int main(int argc, char *argv[]) { | |
FILE *in = NULL, *out = NULL; | |
int i, cpt=0, first=1; | |
size_t val; |
NewerOlder