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 | |
let i=0 | |
killall wpa_supplicant | |
wpa_supplicant -c /etc/wifi/wpa_supplicant.conf -i wlan0 | |
while true; | |
do | |
echo $i; | |
i=$(($i+1)) | |
wpa_cli -p /data/misc/wifi/sockets scan | |
usleep 750000 |
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 9b55aebfea81ca8ac9f0731736fffee826537de8 Mon Sep 17 00:00:00 2001 | |
From: Kyle Manna <kmanna@fanhattan.com> | |
Date: Wed, 19 Jun 2013 18:10:03 -0700 | |
Subject: [PATCH 1/3] bluetooth: Add ability to pass connection params | |
* Useful for adding Bluetooth Low Energy Connection Parameters which | |
are currently hardcoded. | |
--- | |
include/net/bluetooth/hci_core.h | 5 ++-- | |
include/net/bluetooth/l2cap.h | 4 ++++ |
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 python | |
# | |
# smem - a tool for meaningful memory reporting | |
# | |
# Copyright 2008-2009 Matt Mackall <mpm@selenic.com> | |
# | |
# This software may be used and distributed according to the terms of | |
# the GNU General Public License version 2 or later, incorporated | |
# herein by reference. |
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 | |
# | |
# Example Ivy promotion script to promote milestones to release builds | |
# | |
ORG="$1" | |
MOD="$2" | |
OUT="./promote" | |
REV="latest.milestone" | |
IVY="~/.ant/lib/ivy-2.3.0.jar" |
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
<select class="ipbf-select" id="QIAIDSELECT_6421" name="QIAIDSELECT_6421"> | |
<option value="-1" selected=""></option> | |
<option value="19746">23andMe</option> | |
<option value="19747">A9.com</option> | |
<option value="19748">Adobe</option> | |
<option value="19754">Amazon.com</option> | |
<option value="19749">Ancestry.com</option> | |
<option value="19750">Badgeville</option> | |
<option value="19751">Big Switch Networks</option> | |
<option value="19752">Box</option> |
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
/*! | |
* @brief Create a new libCEC instance. | |
* @param configuration The configuration to pass to libCEC | |
* @param strLib The name of and/or path to libCEC | |
* @return An instance of ICECAdapter or NULL on error. | |
*/ | |
CEC::ICECAdapter *LibCecInitialise(CEC::libcec_configuration *configuration, const char *strLib = NULL) | |
{ | |
if (!g_libCEC) | |
{ |
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
/* ~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css */ | |
/* GoGo @ 2014.02.04 */ | |
body { -webkit-transform: rotate(0.02deg); } | |
img { -webkit-transform: rotate(0.5deg); } |
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
#include <unistd.h> | |
#include <assert.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dirent.h> | |
#include <stdint.h> | |
#include <sys/types.h> |
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
# | |
# Shell functions to wrap cmdline utility output with JSON | |
# | |
# Useful for running shell commands and then extracting output with logstash | |
# | |
json_kv_pair() | |
{ | |
K="$1" # key | |
V="$2" # value | |
Q="$3" # quote |
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
[ 2975.325505] ------------[ cut here ]------------ | |
[ 2975.325515] WARNING: CPU: 5 PID: 4604 at /build/buildd/linux-3.13.0/fs/sysfs/dir.c:486 sysfs_warn_dup+0x86/0xa0() | |
[ 2975.325517] sysfs: cannot create duplicate filename '/devices/virtual/net/em1.30/upper_ph3491eth1' | |
[ 2975.325519] Modules linked in: macvlan veth xt_nat bridge ip6t_REJECT xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT xt_LOG aufs ipt_MASQUERADE iptable_nat nf_nat_ipv4 xt_limit xt_tcpudp xt_addrtype | |
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables snd_hda_cod | |
ec_realtek radeon ttm snd_hda_intel snd_hda_codec 8021q drm_kms_helper snd_hwdep snd_pcm garp snd_page_alloc drm i2c_algo_bit dcdbas gpio_ich coretemp stp mrp dell_wmi sparse_keymap ppdev llc snd_timer serio_raw s | |
nd i7core_edac edac_core wmi kvm_intel soundcore kvm lpc_ich mac_hid parport_pc e1000e ptp pps_core lp parport |
OlderNewer