- Name: Anik Das
- GitHub: https://github.com/sadn1ck
- Organization: Sugar Labs
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
{ | |
"editor.fontSize": 14, | |
"terminal.integrated.fontSize": 14, | |
"editor.lineHeight": 1.75, | |
"editor.fontFamily": "_ Nerd Font Mono", | |
"terminal.integrated.fontFamily": "_ Nerd Font Mono", | |
"editor.accessibilitySupport": "off", | |
"workbench.iconTheme": "vscode-icons", | |
"workbench.tree.indent": 12, | |
"editor.cursorBlinking": "smooth", |
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
<?xml version='1.0'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<!-- Set preferred serif, sans serif, and monospace fonts. --> | |
<alias> | |
<family>serif</family> | |
<prefer><family>SF Pro Text</family></prefer> | |
</alias> | |
<alias> | |
<family>sans-serif</family> |
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
def xor(a, b): | |
# initialize result | |
result = [] | |
# Traverse all bits, if bits are | |
# same, then XOR is 0, else 1 | |
for i in range(1, len(b)): | |
if a[i] == b[i]: | |
result.append('0') |
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
import React, { Component } from "react"; | |
// import * as p5 from 'p5'; | |
import * as ml5 from 'ml5'; | |
import Sketch from "react-p5"; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
options: { |
$ yarn add -D @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/free-brands-svg-icons @fortawesome/free-regular-svg-icons @fortawesome/vue-fontawesome
<font-awesome-icon :icon="['far', 'user-secret']"/>
<font-awesome-icon :icon="['fab', 'facebook']" />
git config --global user.name "your name"
git config --global user.email "yourEmail@email.com"
git config --global color.ui true
ssh-keygen -t rsa -C "yourEmail@email.com"
- name it something like githubssh (generic, I know)
cat ~/.ssh/githubssh.pub
- Copy that output and go to