Skip to content

Instantly share code, notes, and snippets.

---
"$schema": https://aka.ms/winget-packages.schema.1.0.json
WinGetVersion: 0.3.11201
Sources:
- Packages:
- Id: AgileBits.1Password
- Id: Armin2208.WindowsAutoNightMode
- Id: Discord.Discord
- Id: Dummerle.Rare
- Id: fyr77.EnvyUpdate
@vincecima
vincecima / example.rb
Created January 9, 2019 02:21
Code Example
def method(a)
n=a.length
for i in 0...n-1
for j in 0...n-i-1
if a[j]>a[j+1]
temp=a[j]
a[j]=a[j+1]
a[j+1]=temp
end
end
@vincecima
vincecima / delete-favorites.md
Created September 14, 2018 01:03
Delete 1000 favorite tweets at a time
  1. Install t
  2. Use t + awk + xargs:
t favorites --long --number=1000 | awk '{print $1}' | xargs t delete favorite -f
https://console.aws.amazon.com/cloud9/ide/c160af5306794d7bbdb256e59e3f9d6f
@vincecima
vincecima / boxstarter.ps1
Created September 26, 2017 19:59 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@vincecima
vincecima / keybase.md
Created November 20, 2016 06:14
keybase.md

Keybase proof

I hereby claim:

  • I am vincecima on github.
  • I am vincecima (https://keybase.io/vincecima) on keybase.
  • I have a public key ASAjqASuUet91rVoa7qPwUD0YZ6eLgqGokbILRQq5LP51Ao

To claim this, I am signing this object: