Skip to content

Instantly share code, notes, and snippets.

View xanderjakeq's full-sized avatar
🍵
bruh

Xander Jake de los Santos xanderjakeq

🍵
bruh
View GitHub Profile
@xanderjakeq
xanderjakeq / .vimrc
Last active April 10, 2022 19:19
vimConfig
"autocmd VimEnter * if &filetype !=# 'gitcommit' | NERDTree | endif "Will not Open NERDTree if vim used in git commit
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
nnoremap gf :vertical wincmd f<CR>
" set space to <leader> key
nnoremap <SPACE> <Nop>
let mapleader = " "
set nobackup

Keybase proof

I hereby claim:

  • I am xanderjakeq on github.
  • I am xanderjakeq (https://keybase.io/xanderjakeq) on keybase.
  • I have a public key ASCI4b4R-ZGYSARdmy88kmzJ1qUKFUZeJSYkH_XK_V0Bdwo

To claim this, I am signing this object:

@xanderjakeq
xanderjakeq / "Embed Video"
Last active January 22, 2020 21:18
"Embed video" in github markdown. from: https://damien.pobel.fr/post/youtube-video-github/
[![Alt text](https://img.youtube.com/vi/VIDEO_ID/0.jpg)](https://www.youtube.com/watch?v=VIDEO_ID)
Verifying my Blockstack ID is secured with the address 1Db9BXRQgDpu6scBLiLypmyPuKoDvbgbgz https://explorer.blockstack.org/address/1Db9BXRQgDpu6scBLiLypmyPuKoDvbgbgz

(filename prepended with a's so it will be the first one seen)

Installing vim vundle on wsl(ubuntu)

I actually don't know... I did a thing and it just worked. Just follow the vundle installation instructions.

Node and npm

Follow this short tutorial. It just works

int fizzbuzz(int n)
{
char fizz[] = "fizz";
char buzz[] = "buzz";
int counter = 0;
for (int i = 0; i < n; i ++){
char output[10] = "";
if (i%3 == 0){
strcat(output, fizz);
@xanderjakeq
xanderjakeq / .block
Created March 10, 2019 21:49 — forked from nbremer/.block
Radar Chart Redesign
height: 600
license: mit
@xanderjakeq
xanderjakeq / HOC.js
Created February 20, 2019 19:07
Why comp()()
// say if you want 2 compositions
// FirstComp => H1
// SecondComp => H2
// ThirdComp => H3
// we have this HOC
const withComposition = Comp1 => Comp2 => props => {
return(
<>
<Comp1/>
@xanderjakeq
xanderjakeq / InputHOC.js
Last active February 20, 2019 17:57
Input Field HOC (login)
const Username = (props) => {
return <input name = "username" value={props.value} onChange = {props.onChange}/>
}
const Password = (props) => {
return <input name = "password" value={props.value} onChange = {props.onChange}/>
}
const InputHOC = (Input) => class extends React.Component{
state = {
@xanderjakeq
xanderjakeq / BreastCancerClassify.java
Created May 29, 2018 14:55
Intro to Machine Learning, breast cancer classification.
import java.util.Scanner;
/**
* Project One: Breast Cancer Classification
* GROUP MEMBER NAMES:
* 1)
* 2)
* 3)
*
* BreastCancerClassify contains the core implementation of the