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
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle"> | |
<channel> | |
<title>Debt Now App - Appcast</title> | |
<item> | |
<title>Version 0.9.96</title> | |
<description>Minor updates and improvements.</description> | |
<pubDate>Sun, 26 March 2023 12:00:00 +0000</pubDate> | |
<enclosure url="https://play.google.com/store/apps/details?id=com.essence.welinq" sparkle:version="0.9.96" sparkle:os="android" /> | |
</item> |
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
CUSTOM_OUTPUT_CATEGORIES = 2 | |
import keras.backend as K | |
from keras.engine.topology import Layer | |
class SpatialPyramidPooling(Layer): | |
'''Spatial pyramid pooling layer for 2D inputs. | |
See Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition, | |
K. He, X. Zhang, S. Ren, J. Sun | |
# Arguments |
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
import json | |
from xml.dom import minidom | |
def read_absa_2015_restaurant_xml(filename): | |
""" | |
:param filename: | |
:return: | |
""" | |
DOMTree = minidom.parse(filename) |
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
javascript:(function(){ | |
var msg = ''; | |
try { | |
msg += '\nRes_id: ' + RES_ID; | |
} catch(err) { | |
console.log(err) | |
} | |
try { | |
city_id = CITY_ID; | |
msg += '\ncity_id: ' + city_id; |
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
unbind C-b | |
set -g prefix \ # or ` | |
bind-key \ send-prefix # Without this forget backtick forever (in tmux) | |
# Turn on mouse mode - enables scrolling etc. | |
#set -g mouse on | |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on |
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
import re | |
def metaphone(term): | |
"returns metaphone code for a given string" | |
# implementation of the original algorithm from Lawrence Philips | |
# extended/rewritten by M. Kuhn | |
# improvements with thanks to John Machin <sjmachin@lexicon.net> |