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 bcrypt | |
| from Crypto.Cipher import AES | |
| import string | |
| import secrets | |
| import uuid | |
| import base64 | |
| import hashlib | |
| def hash(text: str) -> str: |
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
| DATAFLOW,GEOGRAPHICAREAM49,MEASUREDELEMENT,MEASUREDITEMCPC,TIMEPOINTYEARS,FLAGOBSERVATIONSTATUS,FLAGMETHOD,OBS_VALUE,ACTION | |
| SWS:DF_8434(1.0),33,131,1008,2,M,-,0.000,I |
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
| brew update | |
| launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
| sudo softwareupdate --schedule off | |
| sudo systemsetup -setsleep Never | |
| sudo systemsetup -setharddisksleep Never | |
| sudo systemsetup -setcomputersleep Never | |
| sudo systemsetup -setdisplaysleep Never | |
| defaults write com.apple.screensaver loginWindowIdleTime 0 | |
| defaults write com.apple.screensaver idleTime 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
| import React, { useState } from 'react'; | |
| import { module } from 'angular'; | |
| import { react2angular } from 'react2angular'; | |
| import { StageConfigField } from '@spinnaker/core'; | |
| import { IStage } from '@spinnaker/core'; | |
| export interface ICloudFromationChangeSetInfoProps { | |
| stage: IStage[]; |
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
| windows: | |
| - name: spinnaker-dev | |
| root: ~/dev/spinnaker/scripts | |
| layout: main-vertical | |
| panes: | |
| - ls -l | |
| - act && watch -n2 --color ./status | |
| - ./minio | |
| - ./redis | |
| - name: spinnaker-logs |
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 bash | |
| clouddriver_key=[redacted] | |
| clouddriver_secret=[redacted] | |
| front50_key=user | |
| front50_secret=password | |
| MICROSERVICES="clouddriver deck echo fiat front50 gate igor kayenta orca rosco" | |
| function usage() { |
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 | |
| import pdb | |
| import yaml | |
| import requests | |
| from termcolor import colored | |
| with open("spinnaker.yml", 'r') as stream: | |
| try: | |
| config=yaml.safe_load(stream) |
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 code; code.interact(local=dict(globals(), **locals())) |
NewerOlder