This file contains 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 python | |
from constructs import Construct | |
from cdktf import App, TerraformStack, TerraformOutput | |
from imports.azurerm import \ | |
AzurermProvider, \ | |
KubernetesCluster, \ | |
KubernetesClusterDefaultNodePool, \ | |
KubernetesClusterIdentity, ResourceGroupConfig, AzurermProviderFeatures | |
This file contains 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
from gunicorn.app.base import BaseApplication | |
import falcon | |
import random | |
import os | |
import time | |
waitTime = int(os.environ.get('WAIT_TIME', '2')) | |
class RandomGenerator(object): | |
def on_get(self, request, response): |
This file contains 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
class Koltuk: | |
size = '50x50' | |
class Araba: | |
depo = 100 # degisken -> property | |
carType = '4x4' | |
seats = [Koltuk() for i in range(5)] | |
def __init__(self, color): |
This file contains 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
0 | 0 | 0 | 9 | |
---|---|---|---|---|
0000 | 0000 | 0000 | 1001 | |
Assume valid-extended-stage | 12 bit length of filename |
This file contains 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
0x | 00 | 00 | 81 | A4 | |
---|---|---|---|---|---|
Binary | 0000 0000 | 0000 0000 | 1000 0001 | 1010 0100 | |
Meaning | 1000 means regular file-000 is unused | Previous 1 and these are Unix permissions (644) |