Skip to content

Instantly share code, notes, and snippets.

Charles Brossollet CharlesB2

View GitHub Profile
CharlesB2 / clion
Created Jun 21, 2019
CLion launcher
View clion
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import socket
import struct
import sys
import os
import time
# see com.intellij.idea.SocketLock for the server side of this interface
CharlesB2 /
Last active Jan 5, 2018 — forked from aaronzirbes/
This script will help you remove large files from your git repo history and shrink the size of your repository. (fixed for files having space)
echo "Finding and Purging Big Files From Git History"
echo "=============================================="
echo ""
echo ""
echo ""
pushd "$(git rev-parse --show-toplevel)" > /dev/null
View gist:5404653
#Using Start-Process you can get the correct encoding of your program output.
#However you have to use a temp. filename because it's the only thing Start-Process allows to.
#I wrote this function, taking program path and arguments, and returns stdout decoded from
#program output as UTF8 Function
Param( [Parameter(Mandatory=$True, Position=1)][string]$FilePath,
[Parameter(Mandatory=$False,Position=2)][string[]]$ArgumentList )
CharlesB2 / gist:3706832
Created Sep 12, 2012
GitX crash report
View gist:3706832
Process: GitX [53998]
Path: /Users/USER/*/
Identifier: net.phere.GitX
Version: 0.14.50 development (0.14.50)
Code Type: X86-64 (Native)
Parent Process: launchd [639]
Date/Time: 2012-09-12 16:04:19.842 +0200
OS Version: Mac OS X 10.7.4 (11E2617)
Report Version: 9
View log zimbra-ne01 LLTech.txt
CONNECTED May 27 10:51:52.435 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- -- port:993 -- socket:0x11dcc1cf0 -- thread:0x1153476b0
CONNECTED May 27 10:52:41.442 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- -- port:993 -- socket:0x116a87b80 -- thread:0x1134f7380
CONNECTED May 27 10:52:41.443 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- -- port:465 -- socket:0x11fcdad60 -- thread:0x11fc22fd0
READ May 27 10:52:41.522 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- -- port:465 -- socket:0x11fcdad60 -- thread:0x11fc22fd0
220 ESMTP Postfix
View CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /Users/charles2/Library/Caches/Homebrew/cmake-2.8.4
# It was generated by CMake: /Users/charles2/Library/Caches/Homebrew/cmake-2.8.4/Bootstrap.cmk/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
You can’t perform that action at this time.