Skip to content

Instantly share code, notes, and snippets.

wiless

  • India
Block or report user

Report or block wiless

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View events.json
{
"schema": {
"text": {
"type": "string",
"title": "Enter some text"
}
},
"form": [
{
"key": "text",
@wiless
wiless / setupgolang.sh
Last active Feb 28, 2017
A script to setup environment go 1.8
View setupgolang.sh
#!/bin/sh
mkdir ~/Downloads
cd ~/Downloads
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
sudo tar xvf ~/Downlods/go1.8.linux-amd64.tar.gz /opt/
@wiless
wiless / rpi2-arch-linux-to-sdcard.sh
Created Aug 25, 2016 — forked from pklaus/rpi2-arch-linux-to-sdcard.sh
Raspberry Pi 2: Arch Linux ARM to SDcard Script. This is for the Rapsberry Pi 2. For the RPi 1, see https://gist.github.com/pklaus/b92dfc72136d1509c2ed for RPi 1
View rpi2-arch-linux-to-sdcard.sh
#!/bin/bash
# <http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2>
echo -e "\n\nArch Linux ARM to SD Card\n"
echo -e "for the Raspberry Pi 2\n\n"
echo -e "\nAll drives on this computer:\n"
ls -1 /dev/sd?
@wiless
wiless / rpi-arch-linux-to-sdcard.sh
Created Aug 25, 2016 — forked from pklaus/rpi-arch-linux-to-sdcard.sh
for the Raspberry Pi (1!): Arch Linux ARM to SD Card Script; See https://gist.github.com/pklaus/9dd4a7bf040788cda501 for RPi 2
View rpi-arch-linux-to-sdcard.sh
#!/bin/bash
# <http://archlinuxarm.org/platforms/armv6/raspberry-pi>
echo -e "\n\nArch Linux ARM for Raspberry Pi to SD Card\n"
echo -e "Not meant for the Raspberry Pi 2 - \n"
echo -e " Check https://gist.github.com/pklaus/9dd4a7bf040788cda501 instead.\n\n"
echo -e "\nAll drives on this computer:\n"
ls -1 /dev/sd?
@wiless
wiless / index.html
Created Mar 25, 2016
Simplest CSV plotter using c3js library
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Output Plot</title>
</head>
<body>
<h1>Tutorial <h1>
<h2> Plot of the CSV data stored in <b>output.csv</b> </h2>
View designer.html
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
position: absolute;
@wiless
wiless / Review.md
Last active Sep 23, 2015
Review on Wire app
View Review.md

Pros :

Love the call quality, the UI, less settings. Sign-up mechanism Pros : Signup with email or phone number. Chat or wire-contacts are by invite only. Does not automatically add everyone in the world having your email/phone number. Setting allows to disable sharing contacts .

Cons/Needs attention :

  1. First time login should ask whether allow contact sharing or not
  2. Do not SUGGEST my contact-friends to other friends on my list !!
  3. Though on the phone-app, I had disabled the sharing of contacts, when I open the web version of your app (apps.wigosim.com) , the setting shows "Share contacts" !!
  4. One of most common complains among my contacts are the NOTIFICATION sounds are not LOUD enough, sometimes the calls get unnoticed !! [ I ensured the notification is turned on for all events]
  5. Even though I disabled "Giffy" settings, it still shows "Gif" Icon at the chat-text input area. Would recommend to replace that with "Send Icon" if the giffy is disabled in setting
View Docker-golang-subroutine.md

A golang application models a system of multiple base-station represented as

type BaseStation struct{
...
}

A simulation system creates []BaseStation and calls .Transmit(ch chan []complex128) method for each object. Typical size of []BaseStation is of the order of 100s.

View walfisch.go
// Implements a simple phase delay from different n-Antenna elements
package pathloss
import (
"fmt"
"log"
"math"
"github.com/wiless/cellular/deployment"
"github.com/wiless/vlib"
@wiless
wiless / dbusnetwatch.go
Created Jun 18, 2015
Monitor for change of SSID/Connection
View dbusnetwatch.go
package main
import (
"fmt"
"os"
"github.com/godbus/dbus"
)
// dbus-monitor --system "type='signal',sender='org.freedesktop.NetworkManager',interface='org.freedesktop.NetworkManager'"
You can’t perform that action at this time.