Gold Fig blog post queries, code snippets, and examples.
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.bgfirebaseapp" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="16" | |
android:targetSdkVersion="17" /> |
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
defaults write com.apple.Safari IncludeDebugMenu 1 | |
defaults write com.apple.dock no-bouncing -bool TRUE | |
defaults write com.apple.notificationcenterui bannerTime 1 | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
defaults write com.apple.Dock autohide-delay -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0.01 | |
killall Dock |
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
#!/bin/bash | |
# <xbar.title>ping</xbar.title> | |
# <xbar.version>v1.1</xbar.version> | |
# <xbar.author>Trung Đinh Quang, Grant Sherrick and Kent Karlsson</xbar.author> | |
# <xbar.author.github>thealmightygrant</xbar.author.github> | |
# <xbar.desc>Sends pings to a range of sites to determine network latency</xbar.desc> | |
# <xbar.image>http://i.imgur.com/lk3iGat.png?1</xbar.image> | |
# <xbar.dependencies>ping</xbar.dependencies> |
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
# MIT License | |
# | |
# Copyright (c) April 2023 Vikrum Nijjar | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
# Infinite loop, record 30 sec from mic, transcribe, gpt3.5-turbo to tell a terrible dad joke/pun | |
# brew install portaudio ffmpeg | |
# pip install -r requirements.txt | |
import pyaudio | |
import wave | |
from pydub import AudioSegment | |
import openai | |
import os |
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
var crypto = require('crypto'); | |
var dns = require('native-dns'); | |
var rest = require('restler'); | |
var server = dns.createServer(); | |
server.on('request', function (request, response) { | |
var domain = request.question[0].name; | |
if(domain == 'webutils.flourishworks.com') { | |
// Don't log this because it can't be uniquely identified and subsequently retrieved |
(2013) MySQL CEO on 2 Open Source Business Models https://www.heavybit.com/library/video/mysql-ceo-on-2-open-source-business-models/
(2013) Open source is brutal: an interview with Google's Chris DiBona https://opensource.com/business/13/10/interview-chris-dibona
(2017) Choosing A Model For Your Open Source Business https://snipe.net/2017/08/05/choosing-a-model-for-your-open-source-business/ https://news.ycombinator.com/item?id=25728352
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
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"range": { | |
"@timestamp": { | |
"gte": "now/m-1m", | |
"lt": "now/m" | |
} | |
} |
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
a4b | |
accessanalyzer | |
acm | |
acm-pca | |
alexaforbusiness | |
amplify | |
api | |
apigateway | |
apigatewaymanagementapi | |
apigatewayv2 |
NewerOlder