Skip to content

Instantly share code, notes, and snippets.

View JMCQ87's full-sized avatar

Johann JMCQ87

  • Berlin
View GitHub Profile
@baweaver
baweaver / ruby_galaxy_poker_pattern_matching.rb
Created January 28, 2021 19:53
Variant of pattern matching example from RubyGalaxy talk
class Card
SUITS = %w(S H D C).freeze
RANKS = %w(2 3 4 5 6 7 8 9 10 J Q K A).freeze
RANKS_SCORES = RANKS.each_with_index.to_h
include Comparable
attr_reader :suit, :rank
def initialize(suit, rank)
@Link-
Link- / osc_arabs.md
Last active July 2, 2020 20:16
Open Source Contributors in the Arab World

List has moved

I've moved the list here: https://github.com/Link-/Arab_OSC to allow for direction contributions

Arab OSC

List of the most influential Arab Open Source Contributors (Arab OSC)

This is a list of the most influential Arab Open Source Contributors. This list has been compiled based on recommendations and referrals from the community. Anyone can contribute to this list just create a Pull Request (PR)!

Open source contributions range from helping fix bugs, translation, providing design material, contributing to documentation or even being a core code contributor. It can take many forms. As such, the criteria to be on this list or to nominate someone for it are as follows:

@JMCQ87
JMCQ87 / .zshrc
Created May 5, 2020 07:00 — forked from quassy/.zshrc
darwin config
export LC_CTYPE=en_US.UTF-8
export FIREBIRD_HOME=/Library/Frameworks/firebird.framework/Resources
export PATH=$PATH:$FIREBIRD_HOME/bin
export LOCAL_IP=`ipconfig getifaddr en0`
# alias
alias home='cd ~ && ll'
alias ..='cd ..'
alias ...='cd ../..'
alias ls='ls -GwF'
@quassy
quassy / .zshrc
Created April 15, 2020 20:39
darwin config
export LC_CTYPE=en_US.UTF-8
export FIREBIRD_HOME=/Library/Frameworks/firebird.framework/Resources
export PATH=$PATH:$FIREBIRD_HOME/bin
export LOCAL_IP=`ipconfig getifaddr en0`
# alias
alias home='cd ~ && ll'
alias ..='cd ..'
alias ...='cd ../..'
alias ls='ls -GwF'
@shushugah
shushugah / TechWorkersBerlin_Agenda.md
Last active June 24, 2019 09:26
Agenda for first Tech Workers Coalition Berlin meeting

Tech Workers Coalition

Tech Workers Coalition Berlin

Tech Workers have a lot of potential power to change society. Anyone who identifies as a tech worker and is interested in learning how to build collective power or get involved in a campaign is welcome. Tech Workers are currently organising against gender pay gaps, workplace harassment, surveillance technologies, amongst other things. This document is an agenda item for the first meeting of Tech Workers Coalition Berlin.

A panel about Tech Workers Movement was held earlier this month 10 June 2019 at Aquarium Am Südblock, featuring Logic Magazine co-founders Ben Tarnoff and Moira Weigel. Ben, who is also an organiser of the Boston chapter, will be present during the meeting. You can click to watch the video or listen for audio.

2

@erikmuttersbach
erikmuttersbach / join-freighthub-engineering.md
Last active April 10, 2018 12:27
Join FreightHub Engineering

About FreightHub: The Company

At FreightHub, we’re building the backbone of global trade. We are revolutionizing logistics by making it easier, faster, and more cost efficient to move goods from any point A to point B in the world – on container ships, airplanes, trucks and trains. By radically automating processes and designing for a superior user experience we make buying and selling goods anywhere on the globe as efficient as never before.
If you want to create impact with your work, solve real-world problems, and digitize a multi-trillion-€ industry that fosters global prosperity, we’d love you to join FreightHub!

Screen_Shot_2017_03_13_at_13_07_58
@alibo
alibo / iran-sanctions_blocker-sites.csv
Last active May 11, 2024 06:28
List of sites which block IPs come from Iran [UPDATING... (July 16, 2020)] #SANCTIONS
Title URI
Flurry by Yahoo https://dev.flurry.com/secure/signup.do
Google NikCollection https://dl.google.com/edgedl/photos/nikcollection-full-1.2.11.dmg
Bitbucket http://bitbucket.org/
SoftLayer http://softlayer.com/
VirtualBox http://download.virtualbox.org/virtualbox/5.0.16/VirtualBox-5.0.16-105871-OSX.dmg
Docker Hub https://hub.docker.com/
Oracle http://oracle.com/
Java http://java.com
Sun http://sun.com
@seanlinsley
seanlinsley / active_admin.scss
Last active April 18, 2018 19:33
Make Active Admin's primary color change between dev/staging/production
// SASS variable overrides must be declared before loading up Active Admin's styles.
//
// To view the variables that Active Admin provides, take a look at
// `app/assets/stylesheets/active_admin/mixins/_variables.css.scss` in the
// Active Admin source.
//
// For example, to change the sidebar width:
// $sidebar-width: 242px;
$primary-color: dynamic_active_admin_color();
@jagregory
jagregory / gist:710671
Created November 22, 2010 21:01
How to move to a fork after cloning
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork git@github...my-fork.git