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
| import piexif | |
| import re | |
| import datetime | |
| class GpsIdf(object): | |
| def __init__(self, gpsIdf): | |
| self.gpsIdf = gpsIdf |
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 | |
| # | |
| # The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
| # which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
| # from time to time | |
| # | |
| # Usage: ./checkpoint.sh | |
| # | |
| # The script checks if Enpoint Security VPN is running. If it is, then it shuts it down, if it is not, it fires it up. | |
| # Or, make an Automator action and paste the script. You will need sudo power. |
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 | |
| # -*- coding: utf-8 -*- | |
| # vim:set ts=4 sw=4 et: | |
| # Copyright 2019 Artem Smirnov | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at |
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
| # See API docs at http://nexus-url/#admin/system/api | |
| import requests | |
| USERNAME = 'user' | |
| PASSWORD = 'password' | |
| NEXUS_BASE_URL = 'http://nexus-url/service/rest/beta' | |
| REPOSITORY = 'some-project-snapshots' | |
| GROUP_FILTER = 'com.some.group' |
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
| const byte led_pin = LED_BUILTIN; | |
| const byte interrupt_pin = 2; | |
| volatile byte state = LOW; | |
| unsigned long interrupt_time = millis(); | |
| const unsigned long delay_time = 50; // Delay for every push button may vary | |
| void setup() { | |
| pinMode(led_pin, OUTPUT); | |
| pinMode(interrupt_pin, INPUT_PULLUP); |
OlderNewer