Skip to content

Instantly share code, notes, and snippets.

View catvec's full-sized avatar
🐢

catvec

🐢
View GitHub Profile
@catvec
catvec / flutter-run.out
Created December 3, 2017 21:19
Flutter run error
$ flutter run --debug ⏎ ✹ ✭
Launching lib/main.dart on Pixel 2 in debug mode...
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
Exit code 1 from: /home/noah/Documents/workspace/go/src/github.com/Noah-Huppert/battery-monitor/app/battery_monitor/android/gradlew app:properties:
BUILD FAILED
Total time: 1.354 secs
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.gradle.internal.reflect.JavaMethod (file:/home/noah/.gradle/wrapper/dists/gradle-3.3-all/55gk2rcmfc6p2dg9u9ohc3hw9/gradle-3.3/lib/gradle-base-services-3.3.jar) to method java.lang.ClassLoader.getPackages()
@catvec
catvec / .env
Last active January 24, 2018 21:40
`docker-compose.yaml` file I am attempting to use to launch a local Drone.io instance
DRONE_GITHUB_CLIENT="secret"
DRONE_GITHUB_SECRET="secret"
DRONE_SECRET="secret"
DRONE_HOST="localhost"
DRONE_SERVER="localhost:9000"
@catvec
catvec / eduroam.config
Created January 29, 2018 06:31
Connman eduroam configuration. On Arch Linux place this file in `/var/lib/connman/eduroam.config`
[service_eduroam]
Type=wifi
Name=eduroam
EAP=peap
CACertFile=/etc/ssl/certs/ca-certificates.crt
Phase2=MSCHAPV2
Identity=<YOUR UNIV. EMAIL>
Passphrase=<YOUR UNIV. LOGIN PASSWORD>
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: external-dns
spec:
strategy:
type: Recreate
template:
metadata:
labels:
@catvec
catvec / connmanctl-services.out
Last active February 18, 2018 15:43
Connmanctl auto connect issue
$ connmanctl services
*AO '_' wifi_3052cb823a67_275f27_managed_psk
*AR Wired ethernet_fea638863155_cable
*AR Wired ethernet_a69d17a0ed44_cable
*A Floors_10-24 wifi_3052cb823a67_53756d6d69745f466c6f6f72735f31302d3234_managed_psk
DIRECT-C6-HP OfficeJet 4650 wifi_3052cb823a67_4449524543542d43362d4850204f66666963654a65742034363530_managed_psk
Floors_1-9 wifi_3052cb823a67_53756d6d69745f466c6f6f72735f312d39_managed_psk
virusinstaller.exe wifi_3052cb823a67_7669727573696e7374616c6c65722e657865_managed_psk
DIRECT-53-HP OfficeJet 3830 wifi_3052cb823a67_4449524543542d35332d4850204f66666963654a65742033383330_managed_psk
BenjaminFrankLAN wifi_3052cb823a67_42656e6a616d696e4672616e6b4c414e_managed_psk
@catvec
catvec / new-and-improved-test.out
Last active March 7, 2018 00:35
Verbose output for python -m unittest
m pointerlist
python3 -m unittest --verbose test_pointerlist
test_delete (test_pointerlist.TestPointerList) ... ok
test_end_full_list (test_pointerlist.TestPointerList) ... ok
test_first_and_end_empty_list (test_pointerlist.TestPointerList) ... ok
test_first_full_list (test_pointerlist.TestPointerList) ... ok
test_insert_at_first (test_pointerlist.TestPointerList) ... ok
test_insert_at_last (test_pointerlist.TestPointerList) ... ok
test_locate_exists (test_pointerlist.TestPointerList) ... ok
test_locate_not_exists (test_pointerlist.TestPointerList) ... ok
@catvec
catvec / pod-logs.txt
Created March 17, 2018 00:06
External DNS Digital Ocean duplicate record bug pod logs.
time="2018-03-03T22:46:12Z" level=info msg="config: {Master: KubeConfig: Sources:[ingress] Namespace: AnnotationFilter: FQDNTemplate: Compatibility: PublishInternal:false Provider:digitalocean GoogleProject: DomainFilter:[noahhuppert.com] ZoneIDFilter:[] AWSZoneType: AzureConfigFile:/etc/kubernetes/azure.json AzureResourceGroup: CloudflareProxied:false InfobloxGridHost: InfobloxWapiPort:443 InfobloxWapiUsername:admin InfobloxWapiPassword: InfobloxWapiVersion:2.3.1 InfobloxSSLVerify:true DynCustomerName: DynUsername: DynPassword: DynMinTTLSeconds:0 InMemoryZones:[] Policy:sync Registry:txt TXTOwnerID:default TXTPrefix: Interval:1m0s Once:false DryRun:false LogFormat:text MetricsAddress::7979 LogLevel:info}"
time="2018-03-03T22:46:12Z" level=info msg="Connected to cluster at https://10.55.240.1:443"
time="2018-03-03T22:46:34Z" level=info msg="Changing record." action=CREATE record=www.noahhuppert.com type=A zone=noahhuppert.com
time="2018-03-03T22:46:35Z" level=info msg="Changing record." action=CREATE record=w
@catvec
catvec / flutter-doctor.out
Last active May 25, 2019 00:29
Flutter java.se.ee error
[✓] Flutter (Channel unknown, v0.2.3, on Linux, locale en_US.UTF-8)
• Flutter version 0.2.3 at /opt/flutter
• Framework revision 5a58b36e36 (2 weeks ago), 2018-03-13 13:20:13 -0700
• Engine revision e61bb9ac3a
• Dart version 2.0.0-dev.35.flutter-290c576264
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /opt/android-sdk
• Android NDK at /opt/android-sdk/ndk-bundle
• Platform android-27, build-tools 27.0.3
@catvec
catvec / alarm
Last active June 6, 2018 15:22
OSX Alarm Script
#!/bin/bash
#
# Usage: alarm COMMAND [command positional arguments]
#
# Args:
# - COMMAND: Action to run
# - set: Set an alarm, positional arguments:
# - MINUTES: Number of minutes until alarm should go off
# - [SAY]: Text to print and speak when alarm is done, defaults to
# "Alarm done"
@catvec
catvec / open-pr
Last active May 2, 2018 17:06
Opens the GitHub Pull Request page.
#!/bin/bash
#
# Usage: open-pr [--upstream UPSTREAM_BRANCH] [--current CURRENT_BRANCH]
#
# Args:
# --upstream/-u: (Optional) Upstream branch to create PR for, default to
# "develop"
# --current/-c: (Optional) Local branch to create PR for, default to the
# current branch
#