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
startup: | |
# configure mpd users | |
set user foo bar admin | |
set user foo1 bar1 | |
# configure the console | |
set console self 127.0.0.1 5005 | |
set console open | |
# configure the web server | |
set web self 0.0.0.0 5006 | |
set web open |
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
mtel: | |
set device /dev/cuaU0.0 | |
set speed 921600 | |
set timeout 0 | |
set authname mtel | |
set authkey mtel | |
set phone *99# | |
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ | |
\"\" \ |
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/sh | |
set -e | |
export TARGET=mips | |
export TARGET_ARCH=mips | |
export KERNCONF=MALTA | |
export DESTDIR=/nfsroot/$TARGET.$TARGET_ARCH | |
export KERNDIR=/tftpboot/$TARGET.$TARGET_ARCH | |
export IMAGEDIR=/images |
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
((markdown-mode | |
(mode . auto-fill) | |
(fill-column . 80))) |
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
(add-hook 'markdown-mode-hook 'auto-fill-mode) |
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
class Barycentric | |
attr_reader :x, :y | |
def initialize(samples) | |
@x = samples.map(&:first).map(&:to_r) | |
@y = samples.map(&:last).map(&:to_r) | |
@w = @x.each_index.map { |j| w(j) } | |
end | |
def L(x) |
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
git filter-branch --commit-filter ' | |
if [ "$GIT_AUTHOR_NAME" = "original_commiter" ]; | |
then | |
GIT_COMMITTER_NAME="New Committer"; | |
GIT_AUTHOR_NAME="New Committer"; | |
GIT_COMMITTER_EMAIL="[email protected]"; | |
GIT_AUTHOR_EMAIL="new.email.com"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; |
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
Index: sys/mips/conf/AR71XX_BASE | |
=================================================================== | |
--- sys/mips/conf/AR71XX_BASE (revision 252430) | |
+++ sys/mips/conf/AR71XX_BASE (working copy) | |
@@ -24,7 +24,7 @@ | |
# Build these as modules so small platform builds will have the | |
# modules already built. | |
-makeoptions MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci" | |
+# makeoptions MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci" |
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
var pageMod = require('sdk/page-mod'); | |
var {data} = require('sdk/self'); | |
sites = [/http:\/\/www\.dnevnik\.bg.*/, | |
/http:\/\/www\.capital\.bg.*/, | |
/http:\/\offnews\.bg.*/]; | |
scripts = ['noCommentBG.js', | |
'dnevnik.js', | |
'capital.js', |
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
# -*- coding: utf-8 -*- | |
require 'tweetstream' | |
require 'ap' | |
TweetStream.configure do |config| | |
config.consumer_key = 'a' | |
config.consumer_secret = 'b' | |
config.oauth_token = 'c' | |
config.oauth_token_secret = 'd' | |
config.auth_method = :oauth |