Skip to content

Instantly share code, notes, and snippets.

View arindamchoudhury's full-sized avatar

Arindam Choudhury arindamchoudhury

  • Ackstorm
  • Barcelona, Spain
View GitHub Profile
package file
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
"regexp"
package ecmanaged
import (
"bufio"
"bytes"
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"io/ioutil"

Keybase proof

I hereby claim:

  • I am arindamchoudhury on github.
  • I am arindamchoudhury (https://keybase.io/arindamchoudhury) on keybase.
  • I have a public key whose fingerprint is C285 729F FEBB FFFF 04FA C2F9 498D FF59 83A7 2836

To claim this, I am signing this object:

git clone https://github.com/mono/mono.git
cd mono/
git checkout 08fd525c3392305e0b8f5c9d9ca902f36a055ff3
git submodule init
git submodule update
./autogen.sh
make
sudo make install
https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/pywin32-220.win32-py2.7.exe/download
An old bug report indicates that a performance gain can be achieved using
echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwl11n.conf
Reboot
This option actually doesn't disable anything but enables aggressive TX
Also check the encryption of the wireless access point
docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}")
@arindamchoudhury
arindamchoudhury / agent.py
Created February 29, 2016 16:18
agent.py
# -*- coding:utf-8 -*-
# Copyright (C) 2012 Juan Carlos Moreno <juancarlos.moreno at ecmanaged.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@arindamchoudhury
arindamchoudhury / pkg-config
Created January 13, 2016 10:55
pkg-config
from commands import getstatusoutput
retcode, systemd_system_unit_dir = getstatusoutput('pkg-config systemd --variable=systemdsystemunitdir')
dnf install @development-tools fedora-packager rpmdevtools git vim wget
yum makecache fast
yum update -y && yum install wget -y
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && yum install epel-release-latest-7.noarch.rpm -y
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm && yum install epel-release-latest-6.noarch.rpm -y
yum install -y python2 python-devel python-twisted-core python-twisted-web python-twisted-words python-configobj python-psutil libxml2-python python-simplejson rpm-python python-crypto python-httplib2 shadow-utils python-pip pygobject3 PolicyKit PackageKit dbus-python