Skip to content

Instantly share code, notes, and snippets.

@secretrob
secretrob / gitlab_to_jira.py
Last active March 28, 2024 10:33 — forked from mvisonneau/gitlab_to_jira.py
GitLab to Jira issue sync
#!/usr/bin/env python
import requests
import gitlab
from jira import JIRA
import urllib3
import json
## Disable urllib3 ssl checks warnings
urllib3.disable_warnings( urllib3.exceptions.InsecureRequestWarning )

Time Travel Debugging

Time Travel refers to the ability to record a tab and later replay it ([WebReplay][wrr]). The technology is useful for local development, where you might want to:

  • pause and step forwards or backwards
  • pause and rewind to a prior state
  • rewind to the time a console message was logged
  • rewind to the time an element had a certain style or layout
  • rewind to the time a network asset loaded
@nathansmith
nathansmith / email_about_react.md
Last active September 21, 2016 01:57
This is an email I sent to a friend from church, about React.
@rafaelrosafu
rafaelrosafu / podcast_editing.md
Last active April 20, 2021 18:08
Podcast editing recipe

Step by step

  1. Record the audio with Skype Call Recorder
  2. Save a copy of the audio file in a temporary directory
  3. Open the file in Garageband
  4. Remove extra audio from the beginning and the end
  5. Delete any problems in audio
  6. Apply the Compressor filter (manual config, threshold: ~ 30 dB, ratio: 30: 1, Attack: 10ms, gain: 4dB)
  7. Export to AIFF (uncompressed)
  8. Open the file in Audacity
  9. Use the filter Truncate Silence on the whole file (Level: -30dB, duration 0.3s, truncate to: 0.15s, compression: 50)
@iolson
iolson / .gitlab-ci.yml
Created September 22, 2015 22:52
GitLab CI Runner
# Before Script
before_script:
- composer self-update
- composer install --prefer-dist > /dev/null
- cp .env.example .env
- php artisan key:generate
- php artisan migrate:refresh --seed
# Services
services:
@bpierre
bpierre / README.md
Last active February 15, 2024 18:40
Switch To Vim For Good

Switch To Vim For Good

NOTE: This guide has moved to https://github.com/bpierre/switch-to-vim-for-good

This guide is coming from an email I used to send to newcomers to Vim. It is not intended to be a complete guide, it is about how I switched myself.

My decision to switch to Vim has been made a long time ago. Coming from TextMate 1, I wanted to learn an editor that is Open Source (so I don’t lose my time learning a tool that can be killed), cross platform (so I can use it everywhere), and powerful enough (so I won’t regret TextMate). For these reasons, Vim has always been the editor I wanted to learn, but it took me several years before I did it in a way that works for me. I tried to switch progressively, using the Janus Vim distribution for a few months, then got back to using TextMate 2 for a time, waiting for the next attempt… here is what finally worked for me.

Original gist with comments: https://gist.github.com/bpierre/0a0025d348b6001394e0

@addyosmani
addyosmani / README.md
Last active April 2, 2024 20:18 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@mherchel
mherchel / gist:70b25db7dca7c44f5956
Last active August 29, 2015 14:06
Equal Heights Flexbox Fallback
/**
* Set divs to equal heights.
*/
function equalheight(selector, bypassCheck) {
if (($(window).width() > 720) && ((bypassCheck == 1) || !(Modernizr.flexbox) || !(Modernizr.flexboxlegacy))) {
var maxHeight = 0;
$(selector).each(function(){
if ($(this).height() > maxHeight) {
maxHeight = $(this).height();
}
@chrisb
chrisb / gist:4d6a09c6cc1ca2e1b14e
Last active November 25, 2022 04:15
Homebrew, Ruby, and Rails on OS X 10.10

OS X 10.10 Guide

Here's what I did to get things working.

1. Install Xcode 6

Yep, over at: https://developer.apple.com

2. Install the Command Line Tools (CLT)

@BevanR
BevanR / gist:9991e3c87376474c0755
Created May 14, 2014 20:30
Toggles the display of all outdated comments on GitHub pull requests.
jQuery('.discussion-item-toggle-closed').click();