This file contains hidden or 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 | |
tries=0 | |
while [[ $tries -lt 3 ]] | |
do | |
if /bin/ping -c 1 10.200.200.1 | |
then | |
# echo "wg working" | |
logger -n winterfell -i -t "wg-watchdog" -p user.notice "wireguard working" | |
exit 0 |
This file contains hidden or 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
@Configuration | |
public class WebFlowConfig extends AbstractFlowConfiguration { | |
@Autowired | |
private WebMvcConfig webMvcConfig; | |
@Autowired | |
private List<ViewResolver> viewResolvers; | |
@Bean |
This file contains hidden or 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
#!/usr/bin/env python3 | |
from __future__ import absolute_import, print_function | |
from tweepy.streaming import StreamListener | |
from tweepy import OAuthHandler | |
from tweepy import Stream | |
import json | |
import os |
This file contains hidden or 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
#include <SoftwareSerial.h> | |
#include <LiquidCrystal.h> | |
#include <TinyGPS++.h> | |
TinyGPSPlus gps; | |
LiquidCrystal lcd(6, 7, 3, 4, 2, 5); | |
SoftwareSerial ss(13, 12); | |
char chr; |