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 ruby:3.2.2-alpine3.18 as dependencies | |
ARG RAILS_ENV=production | |
ARG RAILS_LOG_TO_STDOUT=true | |
ARG RAILS_SERVE_STATIC_FILES=true | |
ARG RAILS_MASTER_KEY='' | |
ARG OAUTH_CLIENT_ID='' | |
ARG OAUTH_CLIENT_SECRET='' | |
ARG OAUTH_SERVER='' | |
ARG PORT=3000 |
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
https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/com.apple.jingle.app.finance.DirectAction/freeProductCodeWizard?code=VOUCHERCODE&mt=8 |
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
<template> | |
<div class="flex flex-col"> | |
<div class="flex items-center"> | |
<label class="switch"> | |
<input ref="darkModeToggle" type="checkbox" name="dark-mode" v-model="darkMode" @change="toggleMode" :disabled="useSystemSetting"> | |
<span class="slider round"></span> | |
</label> | |
<label>Dark Mode</label> | |
</div> | |
<label class="m-1"> |
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
parameters: | |
- name: "platforms" | |
type: object | |
default: {} | |
jobs: | |
- ${{ each platform in parameters.platforms }}: | |
- job: BuildIPAForTestFlight_${{platform}} | |
steps: | |
- task: DownloadSecureFile@1 |
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
# Node.js with Vue | |
# Build a Node.js project that uses Vue. | |
# Add steps that analyze code, save build artifacts, deploy, and more: | |
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | |
trigger: | |
- main | |
variables: | |
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/main')] |
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
# Switch to Work SUS | |
alias suwiki="sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL 'http://server.domain.tld:8088/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog'" | |
alias suapple="sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL" |
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
git = `sh /etc/profile; which git`.chomp | |
app_build = `#{git} rev-list --all | wc -l`.chomp.to_i | |
`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{app_build}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"` | |
puts "Updated #{ENV['TARGET_BUILD_DIR']}/#{ENV['INFOPLIST_PATH']}" |
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 | |
# Bender | |
# Written by Chad Nielsen | |
# Forget Computers, Get Creative! | |
# Version History | |
# 1.0 - Initial creation of script for use with a companion launch daemon. | |
# 1.1 - Moved binary and log locations to /usr/local/robotcloud. | |
# 1.2 - Code improvements and added compatibility with OS X 10.9 Mavericks. |
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
08/08/2012 18:01:02.679 Day One[3122]: Could not find image named 'navitem-background-standard'. | |
08/08/2012 18:01:02.796 Day One[3122]: *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead. |
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
ruby ~/Projects/Slogger/slogger_image.rb /Users/domster83/Dropbox/ifttt/instagram/f7f9c2aae15e11e193de22000a1d011e_7.jpg | |
<CGColor 0x7ff19b418b50> [<CGColorSpace 0x7ff19b415130> (kCGColorSpaceDeviceRGB)] ( 0 0 0 1 ) |
NewerOlder