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
body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; } .yt-live-chat-header-renderer-0, #action-panel { display: none; } .yt-live-chat-renderer-0 { background: none !important; } yt-live-chat-text-message-renderer { background: #424242; | |
border-radius: 5px; | |
font-size: 20px !important; | |
padding: 2px; | |
margin: 10px; | |
} | |
.yt-icon-0 { | |
width: 24px !important; height: 24px !important; | |
} |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
VLC_URL = "http://vlc:8080/requests/status.xml" | |
ICECAST_STATUS = "http://webradio:8000/status2.xsl" | |
l_count = 0 | |
ccount = 0 |
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
Verifying that "pofmagicfingers.id" is my Blockstack ID. https://onename.com/pofmagicfingers |
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
# source : https://www.designhaven.co.uk/2014/08/cleanly-delete-orders-sales-customer-data-magento/ | |
SET FOREIGN_KEY_CHECKS=0; | |
############################## | |
# SALES RELATED TABLES | |
############################## | |
TRUNCATE `sales_flat_creditmemo`; | |
TRUNCATE `sales_flat_creditmemo_comment`; | |
TRUNCATE `sales_flat_creditmemo_grid`; |
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
<script type="text/javascript"> | |
jQuery(window).load(function () { | |
var size = 1; | |
var button = 1; | |
var button_class = "gallery-header-center-right-links-current"; | |
var normal_size_class = "gallery-content-center-normal"; | |
var full_size_class = "gallery-content-center-full"; | |
var $container = jQuery('#gallery-content-center'); | |
var wm; |
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
const parseArgs = (args, parsers) => | |
Object.assign( | |
{}, | |
...parsers.map(parser => { | |
const parsed = Object.assign( | |
{}, | |
...args.map(arg => { | |
const parsed = arg.match(parser); | |
return (parsed && parsed.groups) || {}; | |
}) |
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
#!/bin/bash | |
config_file=$HOME/.config/redmine | |
if [ ! -f $config_file ]; then | |
cat << Usage | |
Please add your REDMINE_API_KEY and REDMINE_URL | |
into a file at ~/.config/redmine | |
REDMINE_API_KEY="apikey" |
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
### Keybase proof | |
I hereby claim: | |
* I am pofmagicfingers on github. | |
* I am pofmagicfingers (https://keybase.io/pofmagicfingers) on keybase. | |
* I have a public key ASAJuRDd9LX_Qj1QlwHJT90fBHf0tpHiYfgq0Herkby4oAo | |
To claim this, I am signing this object: |
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
def infer_type_season_and_episode! | |
# try to detect episode number | |
tome_chapter_matcher = /(?>\bT(?>ome)?[\s\.]*(?<tome>[0-9]+)\b)?[\s\.]*\bCh(?>apitre|apter)?[\s\.]*(?<chapter>[0-9]+)\b/i | |
season_episode_matcher = /\b(S(?>eason|aison)?[\s\.]*(?<season>[0-9]+)[\s.]*)?(E|É)(?>pisode|p)?[\s\.]*(?<episode>[0-9]+)\b/i | |
simple_episode_matcher = /(?>#{::Regexp.escape(self.feed.try(:title))}\s*\#?|\#\s*|°\s*|(É|E)(?>pisode|p)[\s\.]*)(?<episode>[0-9]+)\b(?>$|\.?\s+|\:)/i | |
_tome = _chapter = _season = _episode = 0 | |
tome_chapter_match = tome_chapter_matcher.match(self.title) | |
if tome_chapter_match |
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
#!/bin/bash | |
{ echo -e "\n# $(basename "$PWD")\n" ; sed -e 's/#.*$//' -e '/^$/d' modman | awk '{ print $2 }' } # >> ../../htdocs/.gitignore |
OlderNewer