Skip to content

Instantly share code, notes, and snippets.

View a7madgamal's full-sized avatar

Ahmed Hassanein a7madgamal

View GitHub Profile
yarn run v1.9.2
$ prettier '**/*.{js,jsx,json,css,scss,less,md,ts,tsx}' --write
__mocks__/fileMock.js 30ms
__mocks__/mocks.js 9ms
__mocks__/styleMock.js 4ms
.stylelintrc.js 5ms
app/FakeRouting.ts 213ms
app/src/common/actionCreators/accessToken.ts 13ms
app/src/common/actionCreators/config.ts 7ms
app/src/common/actionCreators/requestsTimestamp.ts 7ms
@a7madgamal
a7madgamal / .zpreztorc
Last active May 7, 2023 14:03
my Prezto config (zsh shell)
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <[email protected]>
#
#
# General
#
@a7madgamal
a7madgamal / stylelintrc.js
Last active July 17, 2018 10:20
stylelint example
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-css-modules'],
plugins: ['stylelint-scss'],
rules: {
// ########################################### important rules ###########################################
'declaration-block-no-duplicate-properties': null,
'property-no-unknown': null,
'selector-pseudo-element-no-unknown': null,
'unit-no-unknown': null,
'font-family-no-duplicate-names': null,
  • yarn add --dev flow-bin
  • yarn run flow init
@a7madgamal
a7madgamal / dark.md
Last active November 24, 2024 16:39
Dark mode for Slack on MacOS
@a7madgamal
a7madgamal / hireAsoundclouder.json
Created July 25, 2017 03:17
Hire a Soundclouder spreadsheet as json format
[
{
"company": "AdMass",
"role": "Data Engineer",
"location": "New York, NY",
"remote": "No",
"jobspec": "https://angel.co/admass/jobs/260672-data-engineer",
"comment": "Social media data is some of the richest behavioral data that exists. People post on social media about what they’re eating, where they’re going, what they’re wearing, who they’re with, etc. However, most brands have very limited access to this data and therefore don’t know how to create the best experiences and ads for their community. AdMass changes this by integrating directly with brands to gather data and help them understand who their customers area. We combine data from several sources, including the brand’s CRM, social media platforms, and web analytics.\n\nWe aren’t looking for someone with a specific degree or number of years of experience in a slew of different technologies. We’re looking for someone that will thrive as a data engineer at our early-stage start up."
}, {
"company": "LAUNCH POTATO",
VBoxManage clonehd mydrive.vdi newdrive.vdi
VBoxManage modifymedium --resize 8096 newdrive.vdi
@a7madgamal
a7madgamal / open_commit_in_gitlab.sh
Created December 21, 2016 14:29
Sourcetree action - Open commit in Gitlab
#!/bin/sh
# a sourcetree custom action to open the selected commit in gitlab (easy to change to a similar url)
# 1- download this file somewhere and make sure it's executable
# 2- sourcetree > prefreances > custom actions > add > 'Open commit in gitlab' as title > select script > $SHA in params
#
# Ahmed Hassanein - Tickaroo
gitRemote=$(git config --get remote.origin.url)
if [ "$gitRemote" == "" ]
then
@a7madgamal
a7madgamal / Kaomoji.txt
Last active July 6, 2024 06:12
┬┴┬┴┤( ͡° ͜ʖ├┬┴┬┴
Joy
(^ω^)
(-‿‿-)
(o^▽^o)
(⌒▽⌒)☆
<( ̄︶ ̄)>
ヽ(・∀・)ノ
(´。• ω •。`)
( ̄ω ̄)
@a7madgamal
a7madgamal / git.sh
Created October 13, 2016 10:17
git tricks
#This will show the largest files at the bottom (fourth column is the file (blob) size.
git ls-tree -r -t -l --full-name HEAD | sort -n -k 4