Skip to content

Instantly share code, notes, and snippets.

View choon's full-sized avatar

Dan Choon choon

View GitHub Profile
@gadzhimari
gadzhimari / adobe_cc.md
Created November 22, 2018 11:29
Completely Remove Adobe from your Mac in 2 Steps

Step 1

Download and run the Adobe Creative Cloud Cleaner Tool, their multi-app uninstaller and wipe assistant. Adobe does recommend running individual application uninstallers first, your call. Click the Clean All option.

Step 2

Type a one line command in terminal find ~/ -iname "*adobe*" and it's shows up all files which match pattern.

To remove all files

`sudo rm -rf /Applications/Adobe* /Applications/Utilities/Adobe* /Library/Application\ Support/Adobe /Library/Preferences/com.adobe.* /Library/PrivilegedHelperTools/com.adobe.* /private/var/db/receipts/com.adobe.* ~/Library/Application\ Support/Adobe* ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.adobe* ~/Library/Application\ Support/CrashReporter/Adobe* ~/Library/Caches/Adobe ~/Library/Caches/com.Adobe.* ~/Library/Caches/com.adobe.* ~/Library/Cookies/com.adobe.* ~/Library/Logs/Adobe* ~/Librar

@Aerijo
Aerijo / latex_in_atom.md
Last active October 2, 2024 07:10
Setting up Atom for LaTeX

Disclaimer: I wrote the packages language-latex2e, autocomplete-latex, latex-wordcount, and hyperclick-latex. I still try to provide a list of all useful packages though, so let me know if I have missed one.

This is a general guide for how to get started with LaTeX in Atom.

NOTE: This guide assumes you already have LaTeX installed on your computer. If you do not, I recommend TeX Live.

@wrerwin
wrerwin / protocol.md
Last active February 27, 2020 10:19
P3HT:PCBM organic photovoltaic fabrication
Authors: William R. Erwin (wrerwin1@gmail.com)

Abstract

The fabrication and characterization of organic solar cells using the model system P3HT (Poly(3-hexylthiophene-2,5-diyl)) as the electron donating polymer and PCBM ([6,6]-Phenyl C61 butyric acid methyl ester) as the electron accepting molecule is described.

Materials

  1. Indium doped tin oxide (ITO) coated glass (Thin Film Devices Inc.)
  2. Poly(3,4-ethylenedioxythiophene) Polystyrene sulfonate (PEDOT:PSS) in water (Heraeus)
  3. 0.45 micron filters (Sigma-Aldrich)
@bordaigorl
bordaigorl / USAmap.tex
Last active March 26, 2025 13:22
USA TikZ map
%% Imported from https://upload.wikimedia.org/wikipedia/commons/3/32/Blank_US_Map.svg
%% Translated to TikZ using Inkscape 0.48
\tikzset{USA map/.cd,
state/.style={fill, draw=white, ultra thick},
HI/.style={}, AK/.style={}, FL/.style={}, NH/.style={}, MI/.style={}, MI/.style={}, VT/.style={}, ME/.style={}, RI/.style={}, NY/.style={}, PA/.style={}, NJ/.style={}, DE/.style={}, MD/.style={}, VA/.style={}, WV/.style={}, OH/.style={}, IN/.style={}, IL/.style={}, CT/.style={}, WI/.style={}, NC/.style={}, DC/.style={}, MA/.style={}, TN/.style={}, AR/.style={}, MO/.style={}, GA/.style={}, SC/.style={}, KY/.style={}, AL/.style={}, LA/.style={}, MS/.style={}, IA/.style={}, MN/.style={}, OK/.style={}, TX/.style={}, NM/.style={}, KS/.style={}, NE/.style={}, SD/.style={}, ND/.style={}, WY/.style={}, MT/.style={}, CO/.style={}, ID/.style={}, UT/.style={}, AZ/.style={}, NV/.style={}, OR/.style={}, WA/.style={}, CA/.style={}}
\tikzset{
every state/.style={USA map/state/.style={#1}},
HI/.style={USA map/HI/.style={#1}}, AK/.
@tschloss
tschloss / gist:5982926
Last active February 24, 2020 05:02
# Xing-Scraper ## Description Scrapes the contact list of a contact (visible page) to CouchDB Works on the "Kontakte" Tab of a contact (if contacts are deiplayed by policy) This version scrapes only the 10 contacts visible, the next version will skip to the next page until last page has been reached ## Prerequisites: 1. This Javascript code has …
// ==UserScript==
// @name Xing-Scraper
// @namespace http://use.i.E.your.homepage/
// @version 0.95
// @description scrapes the contact list of a contact (visible page) to CouchDB
// @match https://www.xing.com/app/profile*
// @copyright 2012+, You
// ==/UserScript==
// Works on the "Kontakte" Tab of a contact (if contacts are deiplayed by policy)
@timvdalen
timvdalen / alloy.sty
Created September 27, 2012 20:33
Alloy code listings for LaTeX (not written by me, public domain)
% alloy.sty
% Alloy mode for the LaTeX listings package.
% This is public domain
\lstdefinelanguage{alloy}{
keywords={%
assert, pred, all, no, lone, one, some, check, run,
but, let, implies, not, iff, in, and, or, set, sig, Int, int,
if, then, else, exactly, disj, fact, fun, module, abstract,
extends, open, none, univ, iden, seq,
@ummels
ummels / mydiss.cls
Last active July 18, 2024 00:14
Class file for my PhD thesis
% Copyright (c) 2010 Michael Ummels <michael@ummels.de>
%
% Permission to use, copy, modify, and/or distribute this software for any
% purpose with or without fee is hereby granted, provided that the above
% copyright notice and this permission notice appear in all copies.
%
% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES