This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┈┈┈┈┈┈▕▔╲ | |
┈┈┈┈┈┈┈▏▕ | |
┈┈┈┈┈┈┈▏▕▂▂▂ | |
▂▂▂▂▂▂╱┈▕▂▂▂▏ | |
▉▉▉▉▉┈┈┈▕▂▂▂▏ | |
▉▉▉▉▉┈┈┈▕▂▂▂▏ | |
▔▔▔▔▔▔╲▂▕▂▂▂I | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
I="\e[96m" | |
E="\e[90m" | |
echo -e "🤖$I starting sync.. $E"; | |
CURRENT_BRANCH="`git rev-parse --abbrev-ref HEAD`" | |
STASH_RESULT="`git stash push -u -m AUTO_STASH | grep Saved`" | |
if [ -n "$STASH_RESULT" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# usage: | |
# . /path/to/git_push_pull.sh "/local/git/repo/path" "remote/git/repo/path" "remoteuser@remotehost" "OPTIONAL:remote/source/folder" "OPTIONAL:remote/destination/location" | |
# it's better to create a separate script and name it project_name.sh for each project with this code: | |
#. /path/to/git_push_pull.sh "/local/git/repo/path" "remote/git/repo/path" "remoteuser@remotehost" "OPTIONAL:remote/source/folder" "OPTIONAL:remote/destination/location" | |
#the optional parameters are useful if you need to copy a folder from the repo (after pulling) to another location and not the whole git folder |
yarn add --dev flow-bin
yarn run flow init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"atom-beautify": | |
prettyName: "Atom Beautify" | |
homepage: "https:/atom.io/packages/atom-beautify" | |
"atom-material-syntax-dark": | |
prettyName: "Atom Material Syntax Dark" | |
homepage: "https:/atom.io/packages/atom-material-syntax-dark" | |
"atom-material-ui": | |
prettyName: "Atom Material Ui" | |
homepage: "https:/atom.io/packages/atom-material-ui" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VBoxManage clonehd mydrive.vdi newdrive.vdi | |
VBoxManage modifymedium --resize 8096 newdrive.vdi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |