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
From 9c91753518e813ad96c3ec4d225f4545cff826e3 Mon Sep 17 00:00:00 2001 | |
From: Vivien Didelot <[email protected]> | |
Date: Mon, 16 Mar 2015 00:21:31 -0400 | |
Subject: [PATCH 1/2] board/raspberrypi: install Device Tree | |
Add a post-image script to Raspberry Pi configs with a Device Tree | |
(raspberrypi_dt and raspberrypi2), which calls the mkknlimg tool on the | |
resulting zImage kernel, in order to install the Device Tree as | |
described in the board readme file. |
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
diff --git a/js/plugins.js b/js/plugins.js | |
index 839df4c..b5559b8 100644 | |
--- a/js/plugins.js | |
+++ b/js/plugins.js | |
@@ -94,6 +94,44 @@ var UrlPlugin = function(name, urlCallback) { | |
}; | |
}; | |
+var urlHandlers = [{ | |
+ /* |
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
diff --git a/js/plugins.js b/js/plugins.js | |
index b282d13..839df4c 100644 | |
--- a/js/plugins.js | |
+++ b/js/plugins.js | |
@@ -21,6 +21,50 @@ var Plugin = function(name, contentForMessage) { | |
}; | |
}; | |
+var parseURL = function(url) { | |
+ var regexp = /(https?):\/\/(?:www\.)?([^\/\?#]+)(\/[^\?#]+)?(#|\?)?(.*)/; |
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
From 87d6bfd5fe53c64ab2f3bb860484d741dc9b5572 Mon Sep 17 00:00:00 2001 | |
From: Vivien Didelot <[email protected]> | |
Date: Wed, 14 Jan 2015 18:55:45 -0500 | |
Subject: [PATCH] net: dsa: review hwmon attributes visibility | |
Instead of setting a minimal mode for the temp_max sysfs attribute and | |
adding write permission in the is_visible function, use the | |
DEVICE_ATTR_RW macro to reduce boiler plate and remove write permission | |
if the set_temp_limit function is missing. |
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 | |
# use the provided interface, otherwise the first default device | |
if [[ -n $BLOCK_INSTANCE ]] | |
then | |
IF=$BLOCK_INSTANCE | |
else | |
IF=$( ip route | awk '/^default/ { print $5 ; exit }' ) | |
fi |
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
[openmw] | |
command=curl -s https://gist.githubusercontent.com/vivien/7535f85928558fffb11d/raw/openmw.rb | ruby | |
interval=3600 |
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/sh | |
# Copyright (C) 2014 Julien Bonjean <[email protected]> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
diff --git a/i3-msg/main.c b/i3-msg/main.c | |
index 354e8af..a1af25c 100644 | |
--- a/i3-msg/main.c | |
+++ b/i3-msg/main.c | |
@@ -124,16 +124,18 @@ int main(int argc, char *argv[]) { | |
uint32_t message_type = I3_IPC_MESSAGE_TYPE_COMMAND; | |
char *payload = NULL; | |
bool quiet = false; | |
+ bool monitor = false; | |
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/sh | |
# Copyright (C) 2014 Julien Bonjean <[email protected]> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
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 | |
map_num () { | |
tr , '\n' | grep '"num":' | cut -d: -f2 | |
# equivalent to jshon -a -e num | |
echo 11 | |
} | |
next_min () { | |
sort -n | cat -n | awk '{ if ($1 != $2) { print $1; exit } }' |
NewerOlder