Skip to content

Instantly share code, notes, and snippets.

View d42ohpaz's full-sized avatar
🏠
Working from home

K.S. d42ohpaz

🏠
Working from home
View GitHub Profile
@d42ohpaz
d42ohpaz / fresh-chrome.sh
Last active February 20, 2017 14:27 — forked from prasadsilva/fresh-chrome-with-custom-tz.sh
Launch new instances of Google Chrome on OS X with isolated cache, cookies, user config and custom Timezone
#!/usr/bin/env bash
# The MIT License (MIT)
#
# Copyright (c) 2013 Stuart Sierra
#
# 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,
@d42ohpaz
d42ohpaz / Fullscreen.java
Created December 4, 2012 05:24
Mac OS X Java Toggle Fullscreen Programmatically
import java.awt.Window;
import java.lang.reflect.Method;
import javax.swing.JFrame;
@SuppressWarnings("serial")
class Fullscreen extends JFrame {
public Fullscreen() {
enableOSXFullscreen(this);
setVisible(true);