Skip to content

Instantly share code, notes, and snippets.

@IanColdwater
IanColdwater / twittermute.txt
Last active March 6, 2024 18:49
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@levelsio
levelsio / btc-eth-dca-buy.php
Last active January 6, 2023 22:04
This script runs daily and "Dollar Cost Average"-buys $40 BTC and $10 ETH per day
<?
//
// [ BUY BTC & ETH DAILY ON BITSTAMP ]
// by @levelsio
//
// 2017-08-23
//
// 1) buy $40/day BTC
// 2) buy $10/day ETH
//
anonymous
anonymous / dump1090.md
Created July 23, 2016 22:19

Start a Terminal

Execute

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git-core git cmake libusb-1.0-0-dev build-essential
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr

ADS-B Basics

Automatic Dependent Surveillance-Broadcast. It is a cooperative surveillance technology.
By using this technology aircraft can determine its position via satellite navigation also can broadcast it periodically.Thus we can say it works same as radar as it enables the option of aircraft to be tracked.--wiki
This is the one way by which we can get aircraft's data i.e.basic parameters like flight no., longitude, latitude etc. we could get the up to date information about this because air carft continuosly broadcasts this data with the help of radio broadcasting.They generally use 1090MHz frequency for broadcsting it. If you will read the full wikipedia article then you will get to know more information about this. Do read it ,it's interesting enough.

###Components Required 1.SDR Receiver- Software Defined Radio is the key tool in this system. Using this we can receive the signals tran

@derhuerst
derhuerst / _.md
Last active March 9, 2024 13:32
List of HAFAS API Endpoints
@psayre23
psayre23 / gist:c30a821239f4818b0709
Last active March 14, 2024 13:25
Runtime Complexity of Java Collections
Below are the Big O performance of common functions of different Java Collections.
List | Add | Remove | Get | Contains | Next | Data Structure
---------------------|------|--------|------|----------|------|---------------
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array
@willurd
willurd / web-servers.md
Last active March 29, 2024 02:15
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000