Skip to content

Instantly share code, notes, and snippets.

View RobsNest's full-sized avatar

Rob RobsNest

View GitHub Profile
@RobsNest
RobsNest / README.md
Created January 24, 2018 01:14 — forked from aponxi/README.md
Simple chat script php

Very simple jQuery AJAX PHP chat

jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.

In other words it makes everything really simple. For this example you will need this file.

chat.sql

First step is creating a database.

@RobsNest
RobsNest / BuildUIDynamically.java
Created September 7, 2017 20:08 — forked from Binary-Finery/BuildUIDynamically.java
Simple example of creating UI dynamically in Java
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
@RobsNest
RobsNest / free-space-on-boot-disk.md
Created March 12, 2017 17:13 — forked from jbgo/free-space-on-boot-disk.md
Free up space on /boot disk (ubuntu)

Free disk space when /boot is full (Ubuntu)

TL;DR

dpkg -l linux-image*
uname -r
sudo apt-get remove linux-image-2.6.32-{21,37,38,39,40,41,42,43,44}-server
sudo apt-get autoremove