Skip to content

Instantly share code, notes, and snippets.

View Geequlim's full-sized avatar

Geequlim Geequlim

View GitHub Profile
@EsanLe
EsanLe / gist:00eadc26cc7cf8adaa52a55b0d92533a
Created July 17, 2016 05:47
Fix genymontion 2.7.2 crash in AUR
#!/bin/sh
# Extract pango package
cd /tmp
rm -rf pango-1.36.8-1-x86_64.pkg.tar.xz
wget https://archive.archlinux.org/packages/p/pango/pango-1.36.8-1-x86_64.pkg.tar.xz
mkdir pango
tar -xJf pango-1.36.8-1-x86_64.pkg.tar.xz -C ./pango
# Copy pango lib
@darcyliu
darcyliu / centos7_samba.sh
Created June 10, 2016 21:55
Samba install script for CentOS 7
#!/bin/sh
# Samba install script for CentOS 7
yum install -y samba samba-client samba-common
mv /etc/samba/smb.conf /etc/samba/_smb.conf
cat >> /etc/samba/smb.conf << EOF
[global]
workgroup = WORKGROUP
server string = Samba Server %v
@tonykevin
tonykevin / archlinux-virtualbox.sh
Created March 9, 2016 21:42 — forked from GabLeRoux/archlinux-virtualbox.sh
Virtualbox archlinux notes
# sudo /sbin/rcvboxdrv -h
# Unloading modules:
# Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH
# modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH
# modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH
# modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH
# Solution
# from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4
@bazhenovc
bazhenovc / v8_wrap_class.cpp
Created September 28, 2015 15:25 — forked from mythagel/v8_wrap_class.cpp
Complete example of binding a C++ class with Google V8.
/*
* v8_wrap_class.cpp
*
* Created on: 14/01/2013
* Author: nicholas
* License: public domain
*/
/* CMakeLists.txt
project(v8_wrap_class)
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@fengmk2
fengmk2 / svn-to-git.md
Last active March 23, 2018 10:45
从 svn 迁移到 gitlab svn to git

从 svn 迁移到 gitlab

找出所有提交者

$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /'

手动设置对应关系 users.txt