Skip to content

Instantly share code, notes, and snippets.

View yashhere's full-sized avatar

Yash Agarwal yashhere

View GitHub Profile
{
// Enable auto complete to be triggered automatically when typing.
"auto_complete": false,
// Show folders in the side bar in bold
"bold_folder_labels": true,
// Sets the colors used within the text area
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
### Keybase proof
I hereby claim:
* I am yash2696 on github.
* I am yash2696 (https://keybase.io/yash2696) on keybase.
* I have a public key whose fingerprint is 492E CEDF A3A6 A010 EC35 F7B6 11A4 3439 D828 9356
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am yashhere on github.
  • I am yash2696 (https://keybase.io/yash2696) on keybase.
  • I have a public key whose fingerprint is 15E4 8587 C219 5E8E 3ECF EA28 6F23 4240 BDEF 0F60

To claim this, I am signing this object:

@yashhere
yashhere / MATRIX.md
Created August 25, 2017 16:03 — forked from fstab/MATRIX.md
How to use matrix.org and vector.im as an IRC client

How to use matrix.org and vector.im as an IRC client

How to Join an IRC Channel on matrix.org

Join the room #freenode_<#channel>:matrix.org, replacing <#channel> with the name of the IRC channel. For example, in order to join the #prometheus IRC channel, join the room #freenode_#prometheus:matrix.org on matrix.org.

In vector.im, rooms can be joined with the directory symbol on the bottom left.

## Installing LAMP Stack
```
sudo apt update
sudo apt install apache2 mysql-server php libapache2-mod-php php-mcrypt php-mysql phpmyadmin php-mbstring php-gettext
sudo a2enmod rewrite
sudo systemctl restart apache2
```
Now you can access apache server at http://localhost.
@yashhere
yashhere / group-github-guide.md
Created January 12, 2018 12:09
A basic guide on working with Git as a group.

Using Git As A Group (DevMountain)

Geordyn Ader - Mentor - Dallas, TX Campus

Getting Started - Choose ONE person from your group to take care of the following steps

  1. Go to GitHub and click the + in the top right corner. Click New Organization.
  2. Name your organization (make it relevant).
  3. Add email for ‘billing’; do not worry, it’s free
  4. Choose the Free Plan
date title description categories tags
2018-02-11T11:45:05+05:30
Basic Hugo Theming Tutorial.
A primer about theme development for Hugo, a static site generator written in Golang.
Hugo
Customization
Theme
$ hugo new site ~/zeo
$ cd ~/zeo
$ ls -l
total 28
drwxr-xr-x 2 yash hogwarts 4096 Feb 11 11:13 archetypes
-rw-r--r-- 1 yash hogwarts   82 Feb 11 11:13 config.toml
drwxr-xr-x 2 yash hogwarts 4096 Feb 11 11:13 content
drwxr-xr-x 2 yash hogwarts 4096 Feb 11 11:13 data
drwxr-xr-x 2 yash hogwarts 4096 Feb 11 11:13 layouts
$ vim config.yaml
baseURL: /
title: "My First Blog"
defaultContentLanguage: en
languages:
  en:
    lang: en
    languageName: English
 weight: 1
$ hugo --verbose
INFO 2018/02/11 11:20:59 Using config file: /home/yash/zeo/config.yaml
Building sites … INFO 2018/02/11 11:20:59 syncing static files to /home/yash/zeo/public/
WARN 2018/02/11 11:20:59 No translation bundle found for default language "en"
WARN 2018/02/11 11:20:59 Translation func for language en not found, use default.
WARN 2018/02/11 11:20:59 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
WARN 2018/02/11 11:20:59 [en] Unable to locate layout for "taxonomyTerm":
...
...