Skip to content

Instantly share code, notes, and snippets.

View tealtail's full-sized avatar

Alicia Lauerman tealtail

View GitHub Profile
@Icaruk
Icaruk / multipleGitProfiles.md
Last active June 3, 2024 14:48
How to have multiple profiles on git

Last update: 30-01-2024
Last view: 30-01-2024

Step 1

Go to your work folder, mine is located at: F:/Work/EnterpriseName/

And then create a .gitconfig-work with the following data:

CFLAGS="-I$(brew --prefix readline)/include -I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" \
LDFLAGS="-L$(brew --prefix readline)/lib -L$(brew --prefix openssl)/lib" \
PYTHON_CONFIGURE_OPTS=--enable-unicode=ucs2 \
pyenv install -v 2.7.11
@undirectlookable
undirectlookable / rpi-nodejs-install.sh
Last active December 10, 2020 22:12
Install Node.js Binaries on Raspberry Pi A/A+/B/B+ (ARMv6 CPU)
#!/usr/bin/env bash
# Install Node.js Binaries on Raspberry Pi A/A+/B/B+ (ARMv6 CPU).
# Get the latest Node.js Binaries filename
# Result like: node-v5.5.0-linux-armv6l.tar.gz
# For RPi2 Model B, replace "armv6l" with "armv7l".
FILENAME=`wget -q -O - https://nodejs.org/dist/latest/SHASUMS256.txt | grep linux-armv6l.tar.gz | sed 's/^[0-9a-f]\+\s*//g'`
# Download
if [ ! -f $FILENAME ]; then
@Scarygami
Scarygami / necessary_client.html
Last active July 14, 2018 08:36
Google Sign-In 2.0 Server-side samples
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Google Sign-in 2.0 - Necessary Client</title>
<script src="https://apis.google.com/js/client:platform.js?onload=clientLoaded" async defer></script>
</head>
<body>
<button id="enable_offline_access">Enable Offline Access</button>
//gulp & plugins
var gulp = require('gulp');
var gutil = require('gulp-util');
var jshint = require('gulp-jshint');
var browserify = require('gulp-browserify');
var jade = require('gulp-jade');
var stylus = require('gulp-stylus');
var mocha = require('gulp-mocha');
var nodemon = require('gulp-nodemon');
var livereload = require('gulp-livereload');
@Yukilas
Yukilas / directive.js
Created October 30, 2012 09:42
AngularJS - Button loading directive
/*
``btn-loading`` attribute.
This attribute will update the button state using Twitter Bootstrap button plugin and
according the attribute value.
The attribute value should be a scope variable.
If the variable is ``true`` the button will have the ``loading`` state.
If the variable is ``false`` the button will be reset and displayed normaly.
@metaskills
metaskills / my.css
Created July 19, 2012 13:13
Basic jQuery SVG Wrapper Class Taken From My HomeMarks Project
#my-logo-text { position: absolute; width: 220px; height: 60px; top: 46px; left: 85px; }
#my-logo-text svg { width: inherit; height: inherit; }
#my-logo-text-text path { fill: white; }
#my-logo-text-tag-line path { fill: white; }