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
[AutoRun] | |
open=killertk.exe | |
shellexecute=killertk.exe |
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 tkinter as tk | |
import os | |
import webbrowser | |
#Tutaj idzie proces | |
process = "cmd.exe" | |
#A tutaj strona | |
website = "https://mozilla.org" | |
#Parametr przeglądarki | |
# 0 - otwiera w tej samej karcie przeglądarki |
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 <YX5300.h> | |
YXPlayer mp3 = YXPlayer(10/*tx*/, 11/*rx*/) | |
void setup() { | |
pinMode(A0, INPUT); | |
pinMode(A1, INPUT); | |
pinMode(A2, INPUT); | |
pinMode(2, OUTPUT); | |
pinMode(3, OUTPUT); |
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
[font] | |
main = liberation.pcf | |
language = 1 | |
[start menu] | |
Copy = Kopiuj | |
Cut = Wytnij | |
Paste = Wklej |
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 tkinter as tk | |
import tkinter.font as tkFont | |
import math | |
class drzewo(object): | |
def __init__(self, lewy=None, prawy=None): | |
self.lewy = lewy | |
self.prawy = prawy | |
def danewezla(self): |
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
#version 2, may not work after patch 11.0 | |
import argparse | |
import subprocess | |
regions = ("EUNE", "EUW", "NA", "LAN", "LAS", "BR", "RU", "TR", "OCE", "JP", "KR", "ALL", "NONE") | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-s', '--server', | |
type=str, required=True, choices=regions, | |
default="NONE", const="NONE", nargs='?', |
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
version: "3" | |
services: | |
redis: | |
image: redis:alpine | |
networks: | |
- frontend | |
deploy: | |
resources: | |
limits: |
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
version: '3.7' | |
services: | |
php-apache: | |
image: serwer-php-apache | |
networks: | |
- backend | |
- frontend | |
ports: | |
- 10070:80 |
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 | |
#Jeżeli użytkownik jest rootem, uruchamia przez sudo lub posiada uprawnienia do grupy docker | |
if [ `groups | grep -q '\bdocker\b'` ] || (( $(id -u) == "0" )) ; | |
then | |
#Odblokuj port 80 - sprawdź czy apache albo nginx nie używają tego portu i zwolnij go | |
service apache2 stop | |
service nginx stop |
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 | |
#Jeżeli użytkownik jest rootem, uruchamia przez sudo lub posiada uprawnienia do grupy docker | |
if [ `groups | grep -q '\bdocker\b'` ] || (( $(id -u) == "0" )); | |
then | |
#Odblokuj port 80 - sprawdź czy apache albo nginx nie używają tego portu i zwolnij go | |
service apache2 stop | |
service nginx stop |
NewerOlder