This file contains hidden or 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 xbmc, xbmcgui, xbmcaddon, xbmcvfs | |
import re | |
import sys, os | |
import unicodedata | |
import time | |
import sqlite3 | |
import mysql.connector | |
import buggalo | |
buggalo.GMAIL_RECIPIENT = "[email protected]" |
This file contains hidden or 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
/** | |
* Welcome to Pebble.js! | |
* | |
* This is where you write your app. | |
*/ | |
var UI = require('ui'); | |
var Vector2 = require('vector2'); | |
var ajax = require('ajax'); |
This file contains hidden or 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
<%@page import="java.util.Enumeration" %> | |
<div class="debug"> | |
<%= request.getMethod() %> | |
<%= request.getRequestURI() %> | |
</div> | |
<div class="debug"> | |
request.Attributes: | |
<ul> | |
<% for (Enumeration<String> e = request.getAttributeNames(); e.hasMoreElements();){ | |
String El = e.nextElement(); |
This file contains hidden or 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
// https://www.torfs.be/damesschoenen/+merk=fred-perry | |
/* search source code for the products | |
<article class="product thumb"> | |
<a href="/fred-perry-blauwe-slip-on-155138" data-product_id="155138" data-product_brand="{brand}" data-product_cat="damesschoenen" data-product_price_bare="59.95" > | |
<div class="img"> | |
<img src="https://3.assets.torfs.be/products/155138/fred-perry-blauwe-slip-on-155138-thumb-210x210-1428112805.jpg" alt="Fred Perry Blauwe Slip-on" /> | |
<div class="labels"> | |
<span class="discount">-10%</span> | |
</div> |
This file contains hidden or 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 | |
# This way you can customize which branches should be skipped when | |
# prepending commit message. | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=(master develop test) | |
fi | |
BRANCH_NAME=$(git symbolic-ref --short HEAD) | |
BRANCH_NAME="${BRANCH_NAME##*/}" |
This file contains hidden or 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 | |
# Auto suspend and wake-up script | |
# | |
# Puts the computer on standby and automatically wakes it up at specified time | |
# | |
# Written by Romke van der Meulen <[email protected]> | |
# Minor mods fossfreedom for AskUbuntu | |
# | |
# Takes a 24hour time HH:MM as its argument |
This file contains hidden or 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
// Let's say we have an array of candy | |
var all_candy = [ | |
{ | |
name: 'Mars', | |
price: 1, | |
category: 'chocolate' | |
}, | |
{ | |
name: 'Snickers', |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
# List distributed by iblocklist.com | |
Malicious:1.192.128.23-1.192.128.23 | |
Malicious:5.12.220.33-5.12.220.33 | |
Malicious:5.101.168.211-5.101.168.211 | |
Malicious:5.178.68.196-5.178.68.196 | |
Malicious:5.189.133.185-5.189.133.185 | |
Malicious:5.189.143.31-5.189.143.31 | |
Malicious:5.189.146.159-5.189.146.159 | |
Malicious:5.196.242.78-5.196.242.78 |
This file contains hidden or 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 common = require('./common') | |
module.exports.add = (e) => common.add(e) | |
module.exports.get = () => common.get() |
This file contains hidden or 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
# https://stackoverflow.com/questions/2668678/importing-csv-with-line-breaks-in-excel-2007 | |
gawk -v RS='"' 'NR % 2 == 0 { gsub(/\n/, "") } { printf("%s%s", $0, RT) }' input.csv > output.fixed.csv |