sqlite3 ~/Library/Messages/chat.db
notable tables:
- attachment – metadata and storage location
- chat – a collection of your messages (both direct and group)
51793 the | |
47605 and | |
37958 of | |
31111 to | |
29723 that | |
28749 i | |
28566 a | |
24211 you | |
22136 it | |
20976 in |
#!/bin/bash | |
# -------------------------------- | |
# Totally Simple Web Server (TSWS) | |
# -------------------------------- | |
# | |
# (c) 2015 Dave Fletcher | |
# All Rights Reserved | |
# | |
# This is free and unencumbered software released into the public domain. |
Setting up Nvidia Jetson TK1
Useful links and references:
Connect keyboard, mouse, monitor
<?php | |
/* | |
A simple multidimensional key-value sorting function, allowing you to sort an | |
array by a multidimensional key without having to write callback functions. | |
This concept appears to be missing in PHP, this function allows for easy array | |
sorting. Works with both strings and numbers, case sensitive and doesn't | |
drop/mash keys. PHP 5.3.0 > only. | |
via: http://projects.westhost.com/contest/php/function/simple-multi-dimensional-key-sort/151 |
pragma solidity ^ 0.4.4; | |
// ***************************************************************** | |
// DEMO!! UNVETTED CODE! DO NOT DEPLOY!!! | |
// Please seek expert guidance and perform a solidity security audit | |
// before using it in financially important code. | |
// ***************************************************************** | |
contract ArtLicenseExpiration { |
const key = 'z){@UWzw*+TRt7Xu3c-(qL_.~MNCN3prv(!{'; // secret | |
const encode = function encode(key, data) { | |
return new Buffer(xorStrings(key, data), 'utf8').toString('base64'); | |
} | |
const decode = function decode(key, data) { | |
data = new Buffer(data, 'base64').toString('utf8'); | |
return xorStrings(key, data); | |
} |
I hereby claim:
To claim this, I am signing this object:
// via "Einstienstien" - by Dave Hoskins, on Shadertoy | |
// http://glsl.heroku.com/e#10662.0 | |
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform vec2 resolution; | |
float col = 0.0; // Start black. |
import nltk | |
import string | |
from urllib import urlopen | |
from itertools import imap | |
url = "http://google.com" | |
html = urlopen(url).read() | |
text = nltk.clean_html(html) | |
text_noPunc = text.translate(string.maketrans("",""), string.punctuation) | |
words = text_noPunc.split() |