Skip to content

Instantly share code, notes, and snippets.

View japalekhin's full-sized avatar
😎
Awesome-ing

Japa Alekhin Llemos japalekhin

😎
Awesome-ing
View GitHub Profile

Identity

git config --global user.name "Firstname Lastname"
git config --global user.email "[email protected]"

For other repos using other name/email:

git config user.name "Firstname Lastname"
git config user.email "[email protected]"

packages

terminal

npm install -D sass-loader node-sass

component

./src/components/example.vue

mixin

./src/mixins/title.js

function getTitle(vm) {
  const { title } = vm.$options;
  if (title) {
    return typeof title === 'function'
      ? title.call(vm)
      : title;
 }

main

./lib/main.dart

import 'package:flame/game.dart';
import 'package:flutter/material.dart';

void main() {
  MyGame game = MyGame();

  runApp(MaterialApp(
@japalekhin
japalekhin / wp-move-scripts-to-footer.md
Last active November 28, 2022 22:11
Move all scripts to footer in WordPress