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
// This patch changes the way Candle's UP state is detected | |
// Instead of comparing it to the previous candle, we just compare CLOSE and OPEN | |
// values here | |
(function(HC) { | |
var seriesTypes = HC.seriesTypes; | |
seriesTypes.candlestick.prototype.getAttribs = function () { | |
seriesTypes.column.prototype.getAttribs.apply(this, 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
#! /usr/bin/env sh | |
# This script accepts 1 mandatory argument: | |
# COMMAND | |
# | |
# It's run by git repo hook and current | |
# workign directory is the bare repo path | |
# | |
# Global variables accessible: | |
# $WORKTREE (points to the working tree) | |
# |
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 sh | |
# This script accepts 2 mandatory arguments: | |
# COMMAND and ENVIRONMENT | |
# | |
# It's run by git repo hook and current | |
# workign directory is the bare repo path | |
# | |
# Global variables accessible: | |
# $WORKTREE (points to the working tree) | |
# |
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 | |
# <oldrev> <newrev> <refname> | |
# sanitize pushed branch | |
while read oldrev newrev ref | |
do | |
branch=$(echo $ref | awk -F'/' '{print $3}') | |
if [ "$branch" != "master" -a "$branch" != "docs" ] | |
then | |
echo It is not allowed to push any branch except for master and docs |
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
/***** | |
* | |
* The contents of this file were written by Kevin Lindsey | |
* copyright 2002 Kevin Lindsey | |
* | |
* This file was compacted by jscompact | |
* A Perl utility written by Kevin Lindsey (kevin@kevlindev.com) | |
* | |
*****/ |
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
godoc -goroot=/usr/local/go -index -index_files=/tmp/godoc_index.db -write_index | |
godoc -v -goroot=/usr/local/go -http=:6060 -index -index_files=/tmp/godoc_index.db |
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
sudo apt-get update | |
sudo apt-get install build-essential | |
//sudo apt-get install python3-setuptools | |
//sudo easy_install3 pip | |
sudo apt-get install libboost-all-dev | |
sudo apt-get install python3-dev python3-pip python3-tk python3-lxml python3-six |
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"?> | |
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xml:lang="en"> | |
<title type="text">Git push feed</title> | |
</feed> |
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
{ | |
"complex_modifications": { | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 50, | |
"basic.to_delayed_action_delay_milliseconds": 500, | |
"basic.to_if_alone_timeout_milliseconds": 1000, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"rules": [ | |
{ |
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
{ | |
"ch1": 1, | |
"ch2": 1, | |
"ch3": 1, | |
"title": "כפר סבא", | |
"ch4": 1, | |
"ch5": 1, | |
"ch6": 1, | |
"ch7": 1, | |
"ch8": 1, |