Skip to content

Instantly share code, notes, and snippets.

View philipp-r's full-sized avatar
🦤

philipp-r philipp-r

🦤
View GitHub Profile
@philipp-r
philipp-r / pokemon-go-map-start.sh
Last active July 25, 2016 16:49
Start Pokemon GO Map (https://github.com/AHAAAAAAA/PokemonGo-Map) with multiple instances
#!/bin/bash
# Start Pokemon GO Map with multiple instances to scan
# see https://github.com/AHAAAAAAA/PokemonGo-Map/issues/1159#issuecomment-234522134
# Delete db when restarting
rm pogom.db
# Delete nohup.out
rm nohup.out
# Location 1
@philipp-r
philipp-r / itunes-api.php
Last active July 25, 2016 16:50
iTunes Search API
<?php
// Wonach wird gesucht?
$searchQuery = "284910350";
// iTunes API Request
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://itunes.apple.com/de/lookup?id=".$searchQuery);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$apiRequest = curl_exec($ch);
#!/bin/bash
apt-get update
apt-get -yt $(lsb_release -cs)-security dist-upgrade
apt-get --trivial-only dist-upgrade
apt-get autoclean