This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#PiVPN install | |
curl -L https://install.pivpn.io > install.sh | |
chmod +x install.sh | |
./install.sh --unattended options.conf | |
#create profile for WG | |
pivpn -a -n VPN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"header": "What is Netflix?", | |
"body": "Netflix is a streaming service that offers a wide variety of award-winning TV programmes, films, anime, documentaries and more – on thousands of internet-connected devices.\n\nYou can watch as much as you want, whenever you want, without a single advert – all for one low monthly price. There's always something new to discover, and new TV programmes and films are added every week!" | |
}, | |
{ | |
"id": 2, | |
"header": "How much does Netflix cost?", | |
"body": "Watch Netflix on your smartphone, tablet, smart TV, laptop or streaming device, all for one low fixed monthly fee. Plans start from £5.99 a month. No extra costs or contracts." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"title": "Enjoy on your TV.", | |
"subTitle": "Watch on smart TVs, PlayStation, Xbox, Chromecast, Apple TV, Blu-ray players and more.", | |
"image": "/images/misc/home-tv.jpg", | |
"alt": "Tiger King on Netflix", | |
"direction": "row" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To get file | |
adb pull <PATH/TO/FILE/ON/DEVICE> #This pulls the file from the device to the directory from which the command is being executed | |
# To push file | |
adb push <PATH/TO/FILE> <PATH/TO/DESTINATION> | |
# To get wifi MAC address | |
adb shell cat /sys/class/net/wlan0/address | |
# To get IP Address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NB: This app does not store or use any personal data, aside from your location tracked through GPS/mobile network and used for the sole purpose of providing you with the informations on nearby Bike Stations. | |
I will not disclose this data (I have no interest in doing so myself). | |
For the long-winded Ts & Cs, read below: | |
Among the types of Personal Data that this Application collects, by itself or through third parties, there are: geographic position. | |
Complete details on each type of Personal Data collected are provided in the dedicated sections of this privacy policy or by specific explanation texts displayed prior to the Data collection. | |
Personal Data may be freely provided by the User, or, in case of Usage Data, collected automatically when using this Application. | |
Unless specified otherwise, all Data requested by this Application is mandatory and failure to provide this Data may make it impossible for this Application to provide its services. In cases where this Application specifically states that some D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Step 1 - Get your Pi ready #### | |
sudo raspi-config #Expand File system and enable SSH | |
sudo apt-get update | |
sudo apt-get upgrade | |
#### Step 2 - Install TVheadend #### | |
sudo apt-get install dirmngr | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 540814, | |
"title": "Chicken Meatball Bento", | |
"image": "https://spoonacular.com/recipeImages/540814-312x231.jpg", | |
"imageType": "jpg", | |
"usedIngredientCount": 3, | |
"missedIngredientCount": 6, | |
"missedIngredients": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
## -------------------------------=[ Info ]=--------------------------------- ## | |
# | |
# Generate letsencrypt cert on local server and scp to esxi target. | |
# Designed and tested on Ubuntu 16.04LTS. | |
# Assumes you have upnp control over local network. Tested with Ubiquiti USG. | |
# | |
# Dependencies: | |
# miniupnpc (sudo apt install miniupnpc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grade = int(input("Please enter a grade. I will tell you if you passed or not!")) | |
if (grade > 40): | |
print("You passed! Genius!") | |
else: | |
print("Try harder next time!") | |
NewerOlder