Skip to content

Instantly share code, notes, and snippets.

View skippednote's full-sized avatar

Bassam Ismail skippednote

View GitHub Profile

Keybase proof

I hereby claim:

  • I am skippednote on github.
  • I am skippednote (https://keybase.io/skippednote) on keybase.
  • I have a public key ASAphxmAMk2-WPrj6YCR2yVGwKcp2NXCY2UqzQswGNvU-Qo

To claim this, I am signing this object:

call plug#begin('~/.vim/plugged')
" Completion
Plug 'ctrlpvim/ctrlp.vim'
" Enhancement
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-commentary'
Plug 'junegunn/vim-easy-align'
Plug 'editorconfig/editorconfig-vim'
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
ln -sfn /mnt/c/Users/skipp/r r
cd r/personal/dotfiles
ln -sf ~/r/personal/dotfiles/zshrc ~/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
ln -sfn $PWD/gitconfig $HOME/.gitconfig
ln -sfn $PWD/gitignore_global $HOME/.gitignore_global
require('isomorphic-fetch')
const api = (query) => {
return fetch(`https://reddit.com/r/${query}.json`)
.then(res => res.json())
.then(data => {
return data.data.children.reduce((acc, i) => {
acc += `<li>${i.data.title}</li>`
return acc;
}, `<ul>`)
require('isomorphic-fetch')
const api = (query) => {
return fetch(`https://reddit.com/r/${query}.json`)
.then(res => res.json())
.then(data => {
return data.data.children.reduce((acc, i) => {
acc += `<li>${i.data.title}</li>`
return acc;
}, `<ul>`)
@skippednote
skippednote / SassMeister-input.scss
Created August 31, 2017 05:18
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// Breakpoint (v2.6.1)
// Breakpoint Slicer (v2.0.0)
// ----
@import "breakpoint";
@import "breakpoint-slicer";

Paragraph

  • Image
    • image_style: field_machine_name.0['#image_style']
    • alt: field_machine_name.0['#item'].alt
    • uri: field_machine_name.0['#item'].entity.fileuri

 Example

{% include "@molecules/01-newsletter/newsletter.twig" with
{
@skippednote
skippednote / setup-tor.md
Last active May 8, 2024 14:20
Setup Tor on macOS

Setup One: Buy a Mac if you don't have one.

Setup Two: Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Setup Three: