View install-elasticsearch-debian
VERSION=0.20.6 | |
sudo apt-get update | |
sudo apt-get install openjdk-6-jdk | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb | |
sudo dpkg -i elasticsearch-$VERSION.deb | |
# be sure you add "action.disable_delete_all_indices" : true to the config!! |
View gist:f3524fc52378fb18e83d
zooklubba@Ubuntu-1404-trusty-64-minimal:~$ sudo apt-get install docker.io | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
aufs-tools cgroup-lite | |
The following NEW packages will be installed: | |
aufs-tools cgroup-lite docker.io | |
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 0 B/3822 kB of archives. |
View Apparmor bug
sudo apt-get install apparmor | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Suggested packages: | |
apparmor-docs apparmor-utils | |
The following NEW packages will be installed: | |
apparmor | |
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 0 B/319 kB of archives. |
View arenamer.py
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import argparse | |
import os | |
import shutil | |
''' | |
call with a path that contains files that are named | |
according to iOS format. Renames and moves the files |
View PhonecallReceiver.java
package com.gabesechan.android.reusable.receivers; | |
import java.util.Date; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.telephony.TelephonyManager; | |
public abstract class PhonecallReceiver extends BroadcastReceiver { |