2 changed files with 13 additions and 0 deletions
			
			
		@ -1,3 +1,8 @@
				@@ -1,3 +1,8 @@
					 | 
				
			||||
## scripts | 
				
			||||
These are some scripts I wrote in the past. Maybe they are usefull in the future. | 
				
			||||
 | 
				
			||||
## Messages | 
				
			||||
 * pushover: sends a message to a pushover service. | 
				
			||||
 | 
				
			||||
## Transport | 
				
			||||
 * ns_vertraging.sh: check if there is any delay on the dutch trains. (not working anymore) | 
				
			||||
				 
					 | 
				
			||||
@ -0,0 +1,8 @@
				@@ -0,0 +1,8 @@
					 | 
				
			||||
#!/bin/bash | 
				
			||||
 | 
				
			||||
USERNAME='<EMAIL ADRESS>' | 
				
			||||
PASSWORD='<Your password>' | 
				
			||||
START='Amsterdam' | 
				
			||||
EIND='Utrecht' | 
				
			||||
 | 
				
			||||
curl "http://$USERNAME:$PASSWORD@webservices.ns.nl/ns-api-treinplanner?fromStation=$START\&toStation=$EIND\&departure=true" | 
				
			||||
					Loading…
					
					
				
		Reference in new issue