Skip to content

Instantly share code, notes, and snippets.

View w00kie's full-sized avatar
🙄
( -_・)σ - - - - - - - - ・

François Rejeté w00kie

🙄
( -_・)σ - - - - - - - - ・
View GitHub Profile
@birnbuazn
birnbuazn / housekeeping_images.sh
Last active February 23, 2024 19:12 — forked from DaanGeurts/housekeeping_images.sh
Deleting unused images from Google Container Registry, leaving x number left
#!/bin/bash
# Copyright © 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@daicham
daicham / gist:10253947
Last active June 1, 2021 22:02
SSH config for connecting to github and bitbucket over proxy
ProxyCommand "C:\Program Files\git\bin\connect.exe" -H proxy.example.com:8080 %h %p
Host github.com
HostName ssh.github.com
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
Host bitbucket.org
HostName altssh.bitbucket.org
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
@pmagwene
pmagwene / gist:1367153
Created November 15, 2011 14:05
Prevent TextMate from restoring files from last session
If you want to change this behavior, open Terminal.app and type
defaults write com.macromates.textmate OakDisableSessionRestore 1
This will make Textmate not remember the last session.
Change the 1 by 0 if you want the default behavior.
@papaver
papaver / unshred.rb
Created November 15, 2011 07:28
Instagram Engineering Challenge: The Unshredder
#!/usr/bin/env ruby -w
#------------------------------------------------------------------------------
# requires
#------------------------------------------------------------------------------
require 'RMagick'
require 'prime'
#------------------------------------------------------------------------------