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
| # https://docs.pikvm.org/flashing_os/ | |
| # Reinsert sd card | |
| #after burning image | |
| echo "WIFI_ESSID='mynet' | |
| WIFI_PASSWD='****'">> /Volumes/PIBOOT/pikvm.txt | |
| cat /Volumes/PIBOOT/pikvm.txt |
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
| <style> | |
| [data-custom-class='body'], [data-custom-class='body'] * { | |
| background: transparent !important; | |
| } | |
| [data-custom-class='title'], [data-custom-class='title'] * { | |
| font-family: Arial !important; | |
| font-size: 26px !important; | |
| color: #000000 !important; | |
| } | |
| [data-custom-class='subtitle'], [data-custom-class='subtitle'] * { |
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
| <style> | |
| [data-custom-class='body'], [data-custom-class='body'] * { | |
| background: transparent !important; | |
| } | |
| [data-custom-class='title'], [data-custom-class='title'] * { | |
| font-family: Arial !important; | |
| font-size: 26px !important; | |
| color: #000000 !important; | |
| } | |
| [data-custom-class='subtitle'], [data-custom-class='subtitle'] * { |
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 org.springframework.stereotype.Service; | |
| import javax.validation.ConstraintViolation; | |
| import javax.validation.Validation; | |
| import javax.validation.Validator; | |
| import javax.validation.ValidatorFactory; | |
| import java.util.Collection; | |
| import java.util.List; | |
| import java.util.stream.Collectors; |
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
| ^Hibernate: select .*\sHibernate: select.*\s |
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
| [Unit] | |
| Description=Bamboo systemd service. | |
| [Service] | |
| Type=simple | |
| ExecStart=/root/bamboo/bin/start-bamboo.sh -fg | |
| [Install] | |
| WantedBy=multi-user.target |
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 json | |
| from haversine import haversine | |
| import urllib2 | |
| from bs4 import BeautifulSoup | |
| def read_data(): | |
| with open('data.json', 'r') as data: | |
| return data.read() | |
| def filter_data(data): |
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 | |
| # remove all containers and images | |
| docker stop $(docker ps -a -q) && docker rm -f $(docker ps -a -q) && docker rmi -f $(docker images -q) | |
| #build and run | |
| docker build -t gameel-services . | |
| docker run -p 8080:8080 gameel-services |
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
| kill $(lsof -t -i:{port}) |
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
| sudo keytool -import -v -trustcacerts -alias charles -file /Users/omars/Downloads/charles-proxy-ssl-proxying-certificate.pem -keystore cacerts.jks -keypass changeit -storepass changeit |
NewerOlder