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
# Git functions for PowerShell | |
# Copyright 2009-2019 Mark Embling (http://www.markembling.info/) | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# |
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
Ext.ns('youbrew', 'youbrew.recipe'); | |
/** | |
* youbrew.recipe.Grid | |
* A recipe EditorGridPanel, clearly derived from the extjs examples. | |
*/ | |
youbrew.recipe.Grid = Ext.extend(Ext.grid.EditorGridPanel, { | |
renderTo: 'recipe-grid', | |
iconCls: 'silk-grid', | |
frame: true, | |
title: 'YouBrew Recipe 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
#!/bin/bash | |
# Reads EXIF creation date from all .JPG files in the | |
# current directory and moves them carefully under | |
# | |
# $BASEDIR/YYYY/YYYY-MM/YYYY-MM-DD/ | |
# | |
# ...where 'carefully' means that it does not overwrite | |
# differing files if they already exist and will not delete | |
# the original file if copying fails for some reason. |
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/python | |
import sys | |
import os, shutil | |
import subprocess | |
import os.path | |
from datetime import datetime | |
######################## Functions ######################### |
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 | |
# CONF | |
DBG=true | |
[email protected] | |
RELOG_PASSW=xxxxxxxxxxxxxxx | |
# END CONF |
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
var current_url = window.location.href; | |
var feedbin_url = "https://feedbin.me/?subscribe=" | |
var inst_regex = new RegExp("https:\/\/www\.instagram\.com\/(.*)\/"); | |
var inst_username = inst_regex.exec(current_url)[1]; | |
if (inst_username !== "" || inst_username !== undefined) { | |
var feed_url = "https://rsshub.app/instagram/user/" + inst_username; | |
window.location = feedbin_url + feed_url; | |
} | |
// The bookmarklet |
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 | |
# gem install active_support | |
require 'active_support/inflector' | |
require 'active_support/core_ext/string' | |
# gem install webrick (only ruby3) | |
require 'webrick' | |
# gem install mechanize |