Skip to content

Instantly share code, notes, and snippets.

View clarkwang's full-sized avatar
🙂

Clark Wang clarkwang

🙂
View GitHub Profile
@titosemi
titosemi / vimium CSS link hints
Created December 14, 2011 13:52
My Vimium CSS link hists
@lukaszkorecki
lukaszkorecki / vimium.css
Created January 23, 2011 10:32
Nicer link hints for vimium
.vimiumHintMarker {
background-color: #444;
padding: 3px;
border-radius: 3px;
text-align: center;
font-size: 8pt;
border: 1px solid #000;
box-shadow: 2px 2px 2px #333;
color: #fff;
opacity: 0.9;
@jasonlong
jasonlong / vimium-styling.md
Last active January 29, 2024 21:37
Nicer Vimium link hint styling. What's Vimium? See http://vimium.github.io. This awesome yellow is courtesy of @mrmrs colors: http://clrs.cc.

@HackingGate
HackingGate / .customrc.sh
Last active October 23, 2024 13:52
git incremental clone
#####
alias pc4=proxychains4
#####
git_incremental_clone()
{
REPO=$1
DIR=$2
git clone --recurse-submodules $REPO $DIR --depth=1
cd $DIR
@arulrajnet
arulrajnet / ChromeAppDownloader.py
Last active June 14, 2025 15:17
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
# -*- coding: utf-8 -*-
"""
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
Referred from http://chrome-extension-downloader.com/how-does-it-work.php
"""
from __future__ import division
import argparse
import requests
@jdthorpe
jdthorpe / JSON and YAML to Python NameSpaces.md
Last active July 24, 2025 09:16
JSON and YAML Encoders / Decoders for use with SimpleNamespaces

Load and Dump JSON and YAML to / From NamesSpaces

Why

Typed Namespaces ensure object typing is correct in the IDE!

Usage

import yaml
#!/usr/bin/env bash
#
# Setup automatic sync from a Github upstream repository to a fork
# - a branch "actions" will be created (or re-used) to hold the Github action to run
# - sync is done each hour
# - branch 'actions' needs to be the default branch of your fork (=> settings)
# - the script is able to both create and update and rewrite the sync script if you modify this script file
#
# Author: Mathiue Carbou
@tmiz
tmiz / build_openssl_dylib.sh
Last active September 23, 2025 16:13
Build latest OpenSSL Universal Binary on OSX
#!/bin/bash
OPENSSL_VERSION="1.0.1g"
curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz
mv openssl-$OPENSSL_VERSION openssl_i386
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz
mv openssl-$OPENSSL_VERSION openssl_x86_64
cd openssl_i386
@nerdius
nerdius / vimium-arc-dark.css
Last active May 12, 2026 07:16
Arc Dark theme for styling Vimium link hints
/*
Arc Dark theme for styling Vimium link hints
By Giorgi Gzirishvili (@giogziro95). This code is in the public domain.
To use:
1. Copy the code.
2. Go to the Vimium options.
3. Click Show Advanced Options.
@kaleksandrov
kaleksandrov / global-protect.sh
Last active May 29, 2026 19:55
Simple script that starts and stops GlobalProtect.app on Mac OSX.
#!/bin/bash
case $# in
0)
echo "Usage: $0 {start|stop}"
exit 1
;;
1)
case $1 in
start)