Skip to content

Instantly share code, notes, and snippets.

Jason Discount jaydisc

Block or report user

Report or block jaydisc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jaydisc
jaydisc / key.md
Created Nov 6, 2018 — forked from shobotch/key.md
Twitter (un)official Consumer Key
View key.md

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN
Consumer key:    IQKbtAYlXLripLGPWd0HUA
@jaydisc
jaydisc / gist:470a6dbbc70c67e1dac619619fad275d
Created Oct 24, 2018 — forked from larsks/gist:3933980
Resizing a filesystem using qemu-img and fdisk
View gist:470a6dbbc70c67e1dac619619fad275d

Occasionally we will deploy a virtual instance into our KVM infrastructure and realize after the fact that we need more local disk space available. This is the process we use to expand the disk image. This process assumes the following:

  • You're using legacy disk partitions. The process for LVM is similar and I will describe that in another post.
  • The partition you need to resize is the last partition on the disk.

This process will work with either a qcow2 or raw disk image. For

View Import 1Password into iCloud Notes.applescript
property excluded_fields : {"Created Date", "Modified Date", "base station name(name)"} --, "full name(name)", "Password"
property original_text_item_delimiters : AppleScript's text item delimiters
property delimiter : tab
on run
set chosen_file to (choose file)
set imported_file to read chosen_file
set AppleScript's text item delimiters to (ASCII character 10)
set rows to every text item of imported_file
View Time Machine Proper System Exclusions
{
SkipPaths = (
"/Applications",
"/bin",
"/cores",
"/installer.failurerequests",
"/Library/Application Support/Apple",
"/Library/Audio",
"/Library/Caches",
"/Library/ColorPickers",
You can’t perform that action at this time.