This file contains hidden or 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
It has been a while since the last time I opened my skype. Seeing the past conversations I had with you guys was awesome. All of you have grown stronger and made your way to where you are right now. So proud. Keep it up! |
This file contains hidden or 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
jest.mock('antd', () => { | |
const antd = jest.requireActual('antd'); | |
const Select = ({ children, onChange }: any) => ( | |
<select | |
data-testid="entries-select" | |
onChange={e => onChange(e.target.value)} | |
> | |
{children} | |
</select> |
This file contains hidden or 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
Linking | |
First, in the [package] folder (where package.json is): | |
$ npm link | |
Then in the project you want to include [package] in: | |
$ npm link [package] |
This file contains hidden or 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
{ | |
"include": [ | |
"./src/*" | |
], | |
"compilerOptions": { | |
"lib": [ | |
"dom", | |
"es2015" | |
], | |
"jsx": "react" |
This file contains hidden or 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or 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
chmod 777 /home/[user]/.cache | |
sudo apt install fish | |
curl -L https://get.oh-my.fish | fish | |
$ omf install toaster | |
Links: | |
https://medium.freecodecamp.org/automating-your-windows-subsystem-linux-setup-df4c9a7b0e7b |
This file contains hidden or 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
= Download ngrok zip | |
https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
= Unzip | |
$ unzip /path/to/ngrok.zip | |
= Move the file in bin folder | |
$ sudo mv ngrok /usr/local/bin | |
= Test if it is working | |
$ ngrok --help |
This file contains hidden or 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
$ cat /etc/wsl.conf | |
https://docs.microsoft.com/en-us/windows/wsl/wsl-config#set-wsl-launch-settings | |
https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/ | |
# Enable extra metadata options by default | |
[automount] | |
enabled = true | |
root = /windir/ | |
options = "metadata,umask=22,fmask=11" |
This file contains hidden or 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
*[disabled] { | |
pointer-events: none !important; | |
} |
This file contains hidden or 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
# content has to be in .config/fish/config.fish | |
# if it does not exist, create the file | |
setenv SSH_ENV $HOME/.ssh/environment | |
function start_agent | |
echo "Initializing new SSH agent ..." | |
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV | |
echo "succeeded" | |
chmod 600 $SSH_ENV | |
. $SSH_ENV > /dev/null |
NewerOlder