Skip to content

Instantly share code, notes, and snippets.

View Wingjam's full-sized avatar
🦄

Jonathan Martineau Wingjam

🦄
View GitHub Profile
@jonashackt
jonashackt / downgrade_brew_package.sh
Created September 24, 2018 12:07
Downgrade homebrew (cask) package
# Uninstall current version you want to downgrade
brew cask uninstall <PackageName>
# Edit Cask file
brew cask edit <PackageName>
# e.g. Vagrant
brew cask edit vagrant
```
cask 'vagrant' do
@jaytaylor
jaytaylor / react-unexpected-use-of-location.md
Created July 12, 2017 22:44
Solution for "Unexpected use of 'location'" React error.
React: Unexpected use of 'location';

Solution: Use window.location instead of bare location.

@cmbaughman
cmbaughman / JsExportCSV.js
Created April 10, 2017 22:35
JavaScript to export a CSV
// Originally found on
//https://appendto.com/2017/04/use-javascript-to-export-your-data-as-csv/
function convertArrayOfObjectsToCSV(args) {
        var result, ctr, keys, columnDelimiter, lineDelimiter, data;
        data = args.data || null;
        if (data == null || !data.length) {
            return null;
        }
@rxaviers
rxaviers / gist:7360908
Last active November 17, 2024 08:44
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
#!/usr/bin/env python2
#
# Find and replace tracker urls in a Deluge torrents.state
import os
import sys
import platform
import shutil
import cPickle